On 13/01/2021 20:31, Tom Gregory wrote:
Hi Stuart. The metrics are coming from different scrapes. Each service is a different endpoint.

I'm doing the relabelling using /metric_relabel_configs./

metric relabeling is really more for removing metrics (if you can't turn them off on the exporter/application side).

For adding target specific tags you want to use "relabel_config" which is run as part of the service discovery process. That's where you might add a service label, and it would apply to all the metrics scraped as well as the automatic ones such as "up".

--
You received this message because you are subscribed to the Google Groups 
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/0e9191ee-3df1-baa9-7b86-e1602555459d%40Jahingo.com.

Reply via email to