Dashboard supposed to show average is showing sum.

This commit is contained in:
Shubham Bhattar 2021-01-14 17:21:02 +05:30 committed by GitHub
parent 9bf4155724
commit 117cb3b6d8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -954,7 +954,7 @@
"steppedLine": false,
"targets": [
{
"expr": "sum (rate (nginx_ingress_controller_nginx_process_cpu_seconds_total{controller_pod=~\"$controller\",controller_class=~\"$controller_class\",controller_namespace=~\"$namespace\"}[2m])) ",
"expr": "avg (rate (nginx_ingress_controller_nginx_process_cpu_seconds_total{controller_pod=~\"$controller\",controller_class=~\"$controller_class\",controller_namespace=~\"$namespace\"}[2m])) ",
"format": "time_series",
"interval": "10s",
"intervalFactor": 1,