mirror of
https://github.com/prometheus/prometheus.git
synced 2025-02-02 08:31:11 -08:00
Merge pull request #1140 from thachmai/master
Fix example prometheus.yml to use "external_labels" instead of "labels"
This commit is contained in:
commit
91436b2974
|
@ -4,8 +4,9 @@ global:
|
||||||
evaluation_interval: 15s # By default, scrape targets every 15 seconds.
|
evaluation_interval: 15s # By default, scrape targets every 15 seconds.
|
||||||
# scrape_timeout is set to the global default (10s).
|
# scrape_timeout is set to the global default (10s).
|
||||||
|
|
||||||
# Attach these extra labels to all timeseries collected by this Prometheus instance.
|
# Attach these labels to any time series or alerts when communicating with
|
||||||
labels:
|
# external systems (federation, remote storage, Alertmanager).
|
||||||
|
external_labels:
|
||||||
monitor: 'codelab-monitor'
|
monitor: 'codelab-monitor'
|
||||||
|
|
||||||
# Load and evaluate rules in this file every 'evaluation_interval' seconds.
|
# Load and evaluate rules in this file every 'evaluation_interval' seconds.
|
||||||
|
|
Loading…
Reference in a new issue