From 52c762e9f1444367bcd7f39c77caea08c4480b11 Mon Sep 17 00:00:00 2001 From: gambrose Date: Mon, 21 Nov 2016 08:53:59 +0000 Subject: [PATCH] The defaults stated in the example config where wrong (#2110) * The stated defaults where wrong * Update prometheus.yml --- documentation/examples/prometheus.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/documentation/examples/prometheus.yml b/documentation/examples/prometheus.yml index 7e07d908c..30668bc2b 100644 --- a/documentation/examples/prometheus.yml +++ b/documentation/examples/prometheus.yml @@ -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=` 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'.