'Grafana alert advice

:) I am pretty freshman to Grafana - I have i special UseCase and wonder if I can realise this with Grafana: I connected a simple Influx measurement as datarouce. It simply delivers the timestamp and an integer, that is between 1 and 50 (its about outstanding messages in a queue).

So I want to be alerted when within a 15 minutes timestamp there is only an increase in values. So when there is a decrease in the values there should be alert. example:

1 3 5 7 19 20 -> message queue increases -> i want to be alerted

1 3 2 5 8 2 -> queue decreases -> there should be no alerting

How could I build a fitting alert rule?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source