Hi,

How to get the count or sum by hour in day or daywise in a month from
PromQL in Grafana ?

we want to get the following:

1. when we select daily report -
ex: on Monday
12 AM to 1AM - 100
1AM - 2AM - 200
2AM - 3AM - 400
....

on tuesday
12 AM to 1AM - 100
1AM - 2AM - 200
2AM - 3AM - 400
....

similarly for monthly reports

Jan
1/1 - 100
1/2 - 300
1/3 -0
1/4 -234
..
1/31 - 456

Please suggest a way to get these kind of reports using recording rules or
promql instead of external scripts.

Thanks,

Rajesh

-- 
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/CAEyhnp%2Bt6u8HL%3DG1cAQRYTsexFCSkGdiUpmT3Giy6piSwNP0CQ%40mail.gmail.com.

Reply via email to