fix(vm-client): add cluster external label for dashboard variable resolution

This commit is contained in:
Martin McCaffery 2026-06-02 09:30:24 +01:00
parent da0ccbd1b5
commit 342870fa03
No known key found for this signature in database
GPG key ID: 7C4D0F375BCEE533

View file

@ -791,11 +791,9 @@ vmagent:
port: "8429"
selectAllByDefault: true
scrapeInterval: 20s
externalLabels:
externalLabels:
cluster_environment: "observability"
# For multi-cluster setups it is useful to use "cluster" label to identify the metrics source.
# For example:
# cluster: cluster-name
cluster: observability
extraArgs:
promscrape.streamParse: "true"
# Do not store original labels in vmagent's memory by default. This reduces the amount of memory used by vmagent