I'm inserting data into InfluxDB using the Python library which inserts data in batches. From the image below what I'd like is for an alert at each of the three points the threshold is breached, but because the data is inserted in batches I can't seem to find the right combination of alert settings to do this. The best I can get is a single alert using max
. last
doesn't fire an alert at all because the last data point of the bulk inserts never breached the threshold.
Is there a way to achieve this? Maybe by checking every data point? Note the data is 1Hz and it isn't "live", it takes around an hour to collect and process the data before it is inserted into InfluxDB, but this can vary.