Browse Source

Remove invalid scrape timeout from example config.

It can't be greater than the scrape interval. Let's just remove it.
pull/1427/head
Julius Volz 9 years ago
parent
commit
657d65d6d6
  1. 3
      documentation/examples/prometheus.yml

3
documentation/examples/prometheus.yml

@ -14,7 +14,7 @@ rule_files:
# - "first.rules" # - "first.rules"
# - "second.rules" # - "second.rules"
# A scrape configuration containing exactly one endpoint to scrape: # A scrape configuration containing exactly one endpoint to scrape:
# Here it's Prometheus itself. # Here it's Prometheus itself.
scrape_configs: scrape_configs:
# The job name is added as a label `job=<job_name>` to any timeseries scraped from this config. # The job name is added as a label `job=<job_name>` to any timeseries scraped from this config.
@ -22,7 +22,6 @@ scrape_configs:
# Override the global default and scrape targets from this job every 5 seconds. # Override the global default and scrape targets from this job every 5 seconds.
scrape_interval: 5s scrape_interval: 5s
scrape_timeout: 10s
# metrics_path defaults to '/metrics' # metrics_path defaults to '/metrics'
# scheme defaults to 'http'. # scheme defaults to 'http'.

Loading…
Cancel
Save