Skip to content

Commit

Permalink
Update prometheus-frontend.md (#2492)
Browse files Browse the repository at this point in the history
* Update prometheus-frontend.md

I think if you are running the Cortex query frontend alone you basically always want to / need to configure the downstream_url.
Therefore it should be part of the default config for this usecase.

Signed-off-by: Felix Sperling <felix.sperling@idealo.de>

* Clarified downstream_url in example

Signed-off-by: Marco Pracucci <marco@pracucci.com>
Signed-off-by: Felix Sperling <felix.sperling@idealo.de>

Co-authored-by: Marco Pracucci <marco@pracucci.com>
  • Loading branch information
fsperling and pracucci authored Apr 24, 2020
1 parent 06c4920 commit 37c358b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/configuration/prometheus-frontend.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,7 @@ query_range:
frontend:
log_queries_longer_than: 1s
compress_responses: true

# The Prometheus URL to which the query-frontend should connect to.
downstream_url: http://prometheus.mydomain.com
```
3 changes: 3 additions & 0 deletions docs/configuration/prometheus-frontend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,3 +54,6 @@ query_range:
frontend:
log_queries_longer_than: 1s
compress_responses: true

# The Prometheus URL to which the query-frontend should connect to.
downstream_url: http://prometheus.mydomain.com

0 comments on commit 37c358b

Please sign in to comment.