Hi All, We have a kubernetes service which runs on multiple pods and is scraped by prometheus at the default metrics endpoint /service/metrics. In addition to existing metrics, we need to have a custom metrics which is generated by querying the DB, we would like this custom metrics be scraped from one of the service pods and not all the pods. We want to implement this custom metrics using prometheus exporter/custom collector as detailed here: https://blog.skyrise.tech/custom-prometheus-exporter. Please note the pods of the service come and go, how can we configure prometheus to scrape only one of its service pods for this custom metrics. Please guide, thanks a lot for your kind help. Best , Anurag
-- 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/5a0fb7e2-83eb-4e0e-95cf-e46f836e9415n%40googlegroups.com.

