influxdata / kapacitor

Open source framework for processing, monitoring, and alerting on time series data
MIT License
2.31k stars 493 forks source link

Monitor tag value changes #874

Open elvarb opened 7 years ago

elvarb commented 7 years ago

Having the possibility to monitor tag value changes as a batch query would be extremely useful.

For example instead of using the deadman function you could compare the server tag values for the last 10 minutes to the values 60+10 minutes ago to see if any servers stopped sending in data. What this also would allow us to do is to monitor for new servers sending in data.

nathanielc commented 7 years ago

@elvarb Tags can be converted to fields using the eval node, which would be a first step. Comparing two sets (i.e. list of hosts) is not possible using built-in TICKscript nodes, but would be possible in an UDF.

elvarb commented 7 years ago

Thanks, going to dig into the udf examples.

Wouldn't kapacitor benefit to support this natively or since this is not metric related it would be put of scope for kapacitor?