Skip to content

Commit

Permalink
Add external labels to make the Prometheus cluster distinguishable
Browse files Browse the repository at this point in the history
Signed-off-by: Ashwani Singh <[email protected]>
  • Loading branch information
ashwani-opstree committed Jul 17, 2024
1 parent 4b1fe32 commit e256bdc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions charts/pga/examples/thanos/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,9 @@ kube:
thanosServiceMonitor:
enabled: true
prometheusSpec:
externalLabels:
kkubernetes_cluster: opstree
prometheus_cluster: kube
# get more details https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#monitoring.coreos.com/v1.ThanosSpec
thanos:
version: 0.35.1
Expand Down

0 comments on commit e256bdc

Please sign in to comment.