Hi all,
*First Query :*
I want to find the servers which have not been reachable for the last X
days. It should not be in a reachable state for the last X days. I tried
the following query, but it didn't work out.
Query : max_over_time(up{instance=~"instance"}[Xd]) == 0
The above query gives me the info that servers are not reachable at least
for 1 minute. But I want to know the info like it should not be reachable
for the last X days.
*Second Query :*
I want to find the servers which are partially reachable for the last X
days and it should not include the info that is totally unreachable state
for the X days.
Any leads?
Thanks & regards,
Bharath Kumar.
--
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/8b5580f7-1377-4601-aa7f-a02c3fe36a76n%40googlegroups.com.