Will I run into issues with "staleness" if there aren't any metrics anymore 
for (more) than 5 minutes?
Or perhaps can I use this "staleness" indicator in some way?

Brian Candler schrieb am Montag, 26. Februar 2024 um 16:15:57 UTC+1:

> > I am still looking for a solution to identify if a device which uses 
> "PUSH" method is not sending data anmore for e.g. 10 minutes.
>
> Push an additional metric which is "last push time", and check when that 
> value is more than 10 minutes earlier than the current time.
>
> If you already have a metric like "push_device_uptime", which I presume is 
> monotonically increasing, then you can check for when this stops increasing:
>
> expr: push_device_uptime <= push_device_uptime offset 10m
>

-- 
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/03f8b8b2-b908-4499-927c-70c6fb0e3af1n%40googlegroups.com.

Reply via email to