mirror of
https://github.com/kubernetes-sigs/prometheus-adapter.git
synced 2026-04-05 17:27:51 +00:00
Clarify wording a bit on the relist interval
The wording on the relist interval confused a couple of people, so this should clarify it a bit.
This commit is contained in:
parent
8e91086e1e
commit
0d220eafef
1 changed files with 2 additions and 2 deletions
|
|
@ -29,8 +29,8 @@ adapter talks to Prometheus and the main Kubernetes cluster:
|
|||
- `--metrics-relist-interval=<duration>`: This is the interval at which to
|
||||
update the cache of available metrics from Prometheus. Since the adapter
|
||||
only lists metrics during discovery that exist between the current time and
|
||||
the last discovery query, it's necessary to set your relist interval to
|
||||
*at least* your Prometheus scrape interval, otherwise your metrics will
|
||||
the last discovery query, your relist interval should be equal to or larger
|
||||
than your Prometheus scrape interval, otherwise your metrics will
|
||||
occaisonally disappear from the adapter.
|
||||
|
||||
- `--prometheus-url=<url>`: This is the URL used to connect to Prometheus.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue