Skip to content

Commit 73d492f

Browse files
authored
Fix for mixed metric types in server connection panel
1 parent 269ceed commit 73d492f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dashboard/nginx-vts-exporter.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@
154154
"steppedLine": false,
155155
"targets": [
156156
{
157-
"expr": "sum(irate(nginx_server_connections[5m])) by (status)",
157+
"expr": "nginx_server_connections{status=~\"active|writing|reading|waiting\"}",
158158
"intervalFactor": 2,
159159
"legendFormat": "{{ status }}",
160160
"metric": "nginx_server_connections",
@@ -687,4 +687,4 @@
687687
"collapse": false
688688
}
689689
]
690-
}
690+
}

0 commit comments

Comments
 (0)