That did the magic, thank you very much Christian!

Have a nice one!

Em dom., 12 de abr. de 2020 às 03:53, Christian Hoffmann <
[email protected]> escreveu:

> Hi,
>
> On 4/12/20 1:05 AM, Adso Castro wrote:
> > That's the question, there's a metric: *jobs_sent 1728*
> > I want to know if that value hasn't changed in 1h for example.
> > How do I do that?
>
> changes(jobs_sent[1h]) == 0 could do the trick.
>
> In many cases it might be easier to add an additional metric with the
> timestamp of the last change (as they node_exporter's textfile collector
> and the pushgateway do). This is easier / more explicit to alert on.
>
> Kind regards,
> Christian
>


-- 
*Adso Castro*
[email protected]
55+ 11 95368 4969

-- 
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/CABtUh6K_OTFVA63YYNJ5VRuL6%3DwSheB8dUqDx0R0twGZ4iP%2Bcg%40mail.gmail.com.

Reply via email to