Commit 3017596d authored by ale's avatar ale
Browse files

Use precomputations in HTTP latency dashboard

parent 83420cac
Pipeline #17266 passed with stage
in 5 minutes and 23 seconds
......@@ -457,7 +457,7 @@
"steppedLine": false,
"targets": [
{
"expr": "histogram_quantile(0.5, sum(rate(nginx_http_requests_ms{vhost=~\"^$vhost$\"}[$__rate_interval])) by (vhost,le))",
"expr": "vhost:nginx_http_requests_ms:50p5m{vhost=~\"^$vhost$\""}",
"format": "time_series",
"interval": "",
"intervalFactor": 1,
......@@ -465,14 +465,14 @@
"refId": "A"
},
{
"expr": "histogram_quantile(0.9, sum(rate(nginx_http_requests_ms{vhost=~\"^$vhost$\"}[$__rate_interval])) by (vhost,le))",
"expr": "vhost:nginx_http_requests_ms:90p5m{vhost=~\"^$vhost$\""}",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "{{vhost}}/90pct",
"refId": "B"
},
{
"expr": "histogram_quantile(0.99, sum(rate(nginx_http_requests_ms{vhost=~\"^$vhost$\"}[$__rate_interval])) by (vhost,le))",
"expr": "vhost:nginx_http_requests_ms:99p5m{vhost=~\"^$vhost$\""}",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "{{vhost}}/99pct",
......@@ -692,5 +692,5 @@
"timezone": "",
"title": "HTTP",
"uid": "xCSUMFnmz",
"version": 37
}
\ No newline at end of file
"version": 38
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment