Prometheus Query Support

25 views
Skip to first unread message

s.saurab...@gmail.com

unread,
May 25, 2021, 1:03:24 AM5/25/21
to Prometheus Users
Hi,

I am using below below query to get the min value over period of interval for particular KPI but not getting the result in Grafana

Query ---- > min_over_time(increase(ifInOctets{hostname="$hostname",job="SNMP"}[2m])[$interval:5m])  

where $interval is 15m,1h,1d

However I am able to get the output of below query where trying to fetch max value for the same KPI.

max_over_time(increase(ifInOctets{hostname="$hostname",job="SNMP"}[2m])[$interval:5m])

Pls suggest what should i modify to get min Query output as well.

Thanks in advance
Saurabh
Reply all
Reply to author
Forward
0 new messages