--
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 prometheus-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/2b55e54f-d0cb-493d-ae69-0ef02bcf4edcn%40googlegroups.com.
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".