From 081e7a699466032a145fb359b62b075ad6dfee51 Mon Sep 17 00:00:00 2001 From: Kazuhiro MUSASHI Date: Sat, 18 Jul 2020 20:12:43 +0900 Subject: [PATCH] Modify the external labels. --- cookbooks/prometheus/files/etc/prometheus.d/prometheus.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cookbooks/prometheus/files/etc/prometheus.d/prometheus.yml b/cookbooks/prometheus/files/etc/prometheus.d/prometheus.yml index 215e5e9..3a9b881 100644 --- a/cookbooks/prometheus/files/etc/prometheus.d/prometheus.yml +++ b/cookbooks/prometheus/files/etc/prometheus.d/prometheus.yml @@ -7,7 +7,7 @@ global: # Attach these labels to any time series or alerts when communicating with # external systems (federation, remote storage, Alertmanager). external_labels: - monitor: 'codelab-monitor' + monitor: 'local' # Load rules once and periodically evaluate them according to the global 'evaluation_interval'. rule_files: @@ -48,4 +48,3 @@ alerting: - static_configs: - targets: - "localhost:9093" -