I'm trying to detect when nodes stop reporting data to telegraf. However I don't want to use something like `deadman` as I want to have multiple alert levels, such as warn and critical. Warn would be if no data has been received for >60s, and critical would be >300s (or similar).
The only way I can think of to do this is taking a `stats()|derivative()` node, copying it with a `where(lambda: "emitted" > 0)`, and then getting the time difference between the last data point with the filter and the last data point without the filter. But I can't figure out how to accomplish this. Any help would be appreciated. Thanks -Patrick -- Remember to include the InfluxDB version number with all issue reports --- You received this message because you are subscribed to the Google Groups "InfluxDB" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/influxdb. To view this discussion on the web visit https://groups.google.com/d/msgid/influxdb/dde78f74-f357-4453-baef-2e30327d82f4%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
