Add a unique exported label (useful for federation)

This commit is contained in:
jeltz 2021-03-06 00:40:44 +01:00
parent 802bfcc698
commit 4ca7ebd144

View file

@ -8,7 +8,7 @@ global:
# Attach these labels to any time series or alerts when communicating with # Attach these labels to any time series or alerts when communicating with
# external systems (federation, remote storage, Alertmanager). # external systems (federation, remote storage, Alertmanager).
external_labels: external_labels:
monitor: 'example' federated_instance: '{{ inventory_hostname }}'
# Alertmanager configuration # Alertmanager configuration
# Use prometheus alertmanager installed on the same machine # Use prometheus alertmanager installed on the same machine