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:


-- 
You received this message because you are subscribed to the Google Groups 
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/38a70fb7-09ec-4c80-9a7e-ec1ecef3f197o%40googlegroups.com.

Reply via email to