Open iglov opened 10 months ago
This might be possible but is not simple as it requires modifying all the metrics to include a label that would be unique to invocation of the module (otherwise there is likely to be duplication where different modules export the same metric, which violates the prometheus scraping model).
Hey @tcolgate ! Yeah, i though about that and i believe that should be user responsibility. In other words, i think we should not modifying any metrics, but use the simple principle of deduplication: from several identical metrics we must get the last one (and write warning to logs with metric name). And ofc we write about that behavior in README. How do you think?
Almost all exporters will have some overlap e.g. process_
or language specific bits like go_
metrics. It'd be rare for there to not be some overlap.
Ohh shooot, sry i forgot about that cuz i always turn off that kind of metrics. We-e-e-ell, i see only 2 ways:
Sup guyz! Thx 4 exporter_exporter! It would be great if you add some method, (4 ex.
curl -s "http://our_host:9999/proxy?modules"
) which we would use to get all metrics we have at once.