The query http_requests_total{job="apiserver", handler="/tests"}  gives me 
the data I need. I want to do this for multiple endpoint in a table. For 
example I have few other endpoints "/scores", "/runs", "/tests/:id" . I 
want to make a table with each api endpoint and its corresponding requests 
count.


-----------------------------------
 API           |   Count
-----------------------------------
/tests        |  100
/scores     |  10
/runs        |  420
/tests/:id |  69
----------------------------------
On Tuesday, July 14, 2020 at 5:46:39 PM UTC+5:30 [email protected] wrote:

> Does the query
>
> http_requests_total{job="apiserver"}
>
> do what you want?  If not, can you clarify what it is that you want?
>
> Give some examples of the input data, and what output data you'd like to 
> see.  Are you trying to combine/summarise different timeseries?  If so, 
> what are they?
>

-- 
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/d459247a-2d68-456a-8fc7-32460006f348n%40googlegroups.com.

Reply via email to