Hi, 

How can (is it possible) I use multiple endpoints for metrics scraping in a 
job ?

# The HTTP resource path on which to fetch metrics from targets.
 [ metrics_path: <path> 
<https://prometheus.io/docs/prometheus/latest/configuration/configuration/#path>
 
| default = /metrics ]  

In my use case, a service( registered to consul) can expose metrics in any 
one of the endpoints - /metrics, /actuator/info, etc, and I need generic 
configuration in Prometheus to scrape data by probably iterating through 
the endpoints. I cannot hard code the endpoint there that /metrics is my 
endpoint.

Thanks for your help in advance!


-- 
You received this message because you are subscribed to the Google Groups 
"Prometheus Developers" 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-developers/cfc2735e-26e5-4930-b20e-3a1915b3d8aan%40googlegroups.com.

Reply via email to