Hi
We have a query in grafana and an alert on grafana which calculates the percent_diff of the given query.
Now we want to move this alert to the Prometheus rule file.
I wonder what is the equivalent query of percent_diff on Prometheus.
Here is the query:
sum(rate(netdata_web_log_detailed_response_codes_total{host=~"^api-.*"}[5m]))
here is the alert rule in grafana: