Hi,

On 3/11/20 11:00 PM, Hakim Kahlouche wrote:
> Is it possible to fetch time-series for multiple metric names using one
> single HTTP API query request, or is there a restriction of one HTTP
> request per metric name?
> 
> Let's say I want to query :
> 
> *query=go_memstats_gc_cpu_fraction _and_ node_cpu_seconds_totalĀ *
> *
> *
> Is it possible to query those two metrics with one single HTTP request?
> If so, how could I do that?

What exactly are you trying to do?

It is possible to make PromQL queries which use calculations based on
multiple metrics. There is "and", "or" and other operators.

If you want to get the raw data via the API instead, you might have
better luck by using the federate endpoint:
https://prometheus.io/docs/prometheus/latest/federation/


Kind regards,
Christian

-- 
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/34ec3340-a4d1-5f0e-0919-25bf0eab0c15%40hoffmann-christian.info.

Reply via email to