I ran into a small problem and can’t find a solution.
Grafana has a dashboard that is built on demand
rate(http_request_duration_seconds_sum{handler="/createmag",method="POST",status="200"}[$__rate_interval])
/
rate(http_request_duration_seconds_count{handler="/createmag",method="POST",status="200"}[$__rate_interval])
You need to make an Alert. Now the first part of the request is the creation time in seconds, the second part is the number of requests themselves.
Alert should be of the form, if the number of create lasting more than 3 seconds exceeds 5% of the total number of create in 15 minutes - then Alert. Tell me, please, where to dig, where to look?
I tried many options, but it’s not the same.