feat(observability): added cluster_environment label

Refs: DevFW/infra-deploy#36
This commit is contained in:
Stephan Lo 2025-06-20 15:16:01 +02:00
parent 2ef4f03ce6
commit 51fe5cc5b5

View file

@ -791,7 +791,8 @@ vmagent:
port: "8429"
selectAllByDefault: true
scrapeInterval: 20s
externalLabels: {}
externalLabels:
cluster_environment: "{{{ .Env.CLUSTER_ENVIRONMENT }}}"
# For multi-cluster setups it is useful to use "cluster" label to identify the metrics source.
# For example:
# cluster: cluster-name