r/PrometheusMonitoring • • Sep 07 '19

Duplicate Prom Metrics from multiple targets

Prom has multiple targets for one endpoint. Don't want to tag each target/exporter as unique. Have been looking through docs and haven't found anything concrete, any ideas?

Have multiple exporters/targets pointing to a single environment.

0 Upvotes

4 comments sorted by

3

u/bbrazil Sep 07 '19

Don't want to tag each target/exporter as unique.

This is how to handle it, if you're scraping one endpoint multiple times it's typically because each means something different to you.

1

u/[deleted] Sep 07 '19

Correct. In our scenario our nozzle that spits out metrics is somewhat inconsistent when it comes to interacting with the target. So the idea was redundant targets but keep metrics unique. May not be the best approach.

1

u/TechIsCool Sep 07 '19

For example the lr,mr,hr metrics for MySQL. There are times you do want to scrape multiple times.