Fix example prometheus.yml to use "external_labels" instead of "labels".

This commit is contained in:
Thach MAI 2015-10-02 23:00:10 +02:00
parent 5caa70ee28
commit 94f4430ff3

View file

@ -4,8 +4,9 @@ global:
evaluation_interval: 15s # By default, scrape targets every 15 seconds.
# scrape_timeout is set to the global default (10s).
# Attach these extra labels to all timeseries collected by this Prometheus instance.
labels:
# Attach these labels to any time series or alerts when communicating with
# external systems (federation, remote storage, Alertmanager).
external_labels:
monitor: 'codelab-monitor'
# Load and evaluate rules in this file every 'evaluation_interval' seconds.