How to implement DROP SERIES in TICK script

Hello,

I need to implement a maintenance tick script which will drop series when no datapoints detected in a period. This is required to maintain monitoring data from short lived (cloud) instances which send metrics via telegraf.

With deadman function it’s pretty easy to detect no datapoints conditions, however I’m not sure how to implement the drop series query.

Can you provide an example how that can be implemented or give an idea about that?

Regards,
Serge.

Hi @Serge ,

is this something you can use ?

exec in alertnode
best regards …

Thanks,

well that could work but I still hope there is more elegant tick’ish approach which would not require exec and an external script …

Regars,
Serge.