Time calculation

33 views
Skip to first unread message

Mohan Nagandlla

unread,
Apr 16, 2021, 6:27:32 AM4/16/21
to Prometheus Users
Hi team let we take an example like up metrics may I know to calculate the time range at what time to what time it is in 0 .

X Guest

unread,
Apr 19, 2021, 1:39:10 AM4/19/21
to promethe...@googlegroups.com
the content returned by API has timestamp included. you can calculate them by yourself.


On Fri, Apr 16, 2021, at 6:27 PM, Mohan Nagandlla wrote:
Hi team let we take an example like up metrics may I know to calculate the time range at what time to what time it is in 0 .


--
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 prometheus-use...@googlegroups.com.


Mohan Nagandlla

unread,
Apr 22, 2021, 11:51:51 AM4/22/21
to X Guest, Prometheus Users
Don't we have any function to calculate this time value of else I am using blackbox exporter I need to calculate if any target having probe_success as 0 in the duration of 5 minutes then only it should display in grafana how could we do that.

Reply all
Reply to author
Forward
0 new messages