The defaults stated in the example config where wrong (#2110)

* The stated defaults where wrong

* Update prometheus.yml
This commit is contained in:
gambrose 2016-11-21 08:53:59 +00:00 committed by Fabian Reinartz
parent 0b1a07b531
commit 52c762e9f1
1 changed files with 2 additions and 5 deletions

View File

@ -1,7 +1,7 @@
# my global config
global:
scrape_interval: 15s # By default, scrape targets every 15 seconds.
evaluation_interval: 15s # By default, scrape targets every 15 seconds.
scrape_interval: 15s # Set the scrape interval to every 15 seconds. Default is every 1 minute.
evaluation_interval: 15s # Evaluate rules every 15 seconds. The default is every 1 minute.
# scrape_timeout is set to the global default (10s).
# Attach these labels to any time series or alerts when communicating with
@ -20,9 +20,6 @@ scrape_configs:
# The job name is added as a label `job=<job_name>` to any timeseries scraped from this config.
- job_name: 'prometheus'
# Override the global default and scrape targets from this job every 5 seconds.
scrape_interval: 5s
# metrics_path defaults to '/metrics'
# scheme defaults to 'http'.