Trying to add a metrics label via Service-Monitor config #4630
ranjaxt2012
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi I have a few clusters running Prometheus-Operator. I am using
externalLabels
to addcluster_name
via remote write. however, I have a few places where I am not doing a remote writing. How can I add an addition label to all metrics?Working config for remote-write:
externalLabels: cluster_name: testing-branch
I need help with a similar config for local-write
Looking at the Doc, I think its possible, but not sure how to add this to the service-monitoring config:
ProbeTargetStaticConfig
Beta Was this translation helpful? Give feedback.
All reactions