Skip to content

Commit e816275

Browse files
committed
Another update to dashboard
1 parent 7ad87fc commit e816275

File tree

1 file changed

+22
-12
lines changed

1 file changed

+22
-12
lines changed

static/ngf/ngf-grafana-dashboard.json

Lines changed: 22 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@
339339
"disableTextWrap": false,
340340
"editorMode": "builder",
341341
"exemplar": false,
342-
"expr": "nginx_http_connections_count{instance=~\"$nginx_instance\", nginx_connections_outcome=\"ACTIVE\"}",
342+
"expr": "irate(nginx_http_connections_count{instance=~\"$nginx_instance\", nginx_connections_outcome=\"ACTIVE\"}[1m])",
343343
"fullMetaSearch": false,
344344
"includeNullMetadata": true,
345345
"instant": false,
@@ -354,8 +354,8 @@
354354
"uid": "${DS_PROMETHEUS}"
355355
},
356356
"disableTextWrap": false,
357-
"editorMode": "code",
358-
"expr": "nginx_http_connections_count{instance=~\"$nginx_instance\", nginx_connections_outcome=\"READING\"}",
357+
"editorMode": "builder",
358+
"expr": "irate(nginx_http_connections_count{instance=~\"$nginx_instance\", nginx_connections_outcome=\"READING\"}[1m])",
359359
"fullMetaSearch": false,
360360
"hide": false,
361361
"includeNullMetadata": true,
@@ -370,26 +370,34 @@
370370
"type": "prometheus",
371371
"uid": "${DS_PROMETHEUS}"
372372
},
373-
"editorMode": "code",
374-
"expr": "nginx_http_connections_count{instance=~\"$nginx_instance\", nginx_connections_outcome=\"WAITING\"}",
373+
"disableTextWrap": false,
374+
"editorMode": "builder",
375+
"expr": "irate(nginx_http_connections_count{instance=~\"$nginx_instance\", nginx_connections_outcome=\"WAITING\"}[1m])",
376+
"fullMetaSearch": false,
375377
"hide": false,
378+
"includeNullMetadata": true,
376379
"instant": false,
377380
"legendFormat": "{{instance}} waiting",
378381
"range": true,
379-
"refId": "C"
382+
"refId": "C",
383+
"useBackend": false
380384
},
381385
{
382386
"datasource": {
383387
"type": "prometheus",
384388
"uid": "${DS_PROMETHEUS}"
385389
},
386-
"editorMode": "code",
387-
"expr": "nginx_http_connections_count{instance=~\"$nginx_instance\", nginx_connections_outcome=\"WRITING\"}",
390+
"disableTextWrap": false,
391+
"editorMode": "builder",
392+
"expr": "irate(nginx_http_connections_count{instance=~\"$nginx_instance\", nginx_connections_outcome=\"WRITING\"}[1m])",
393+
"fullMetaSearch": false,
388394
"hide": false,
395+
"includeNullMetadata": true,
389396
"instant": false,
390397
"legendFormat": "{{instance}} writing",
391398
"range": true,
392-
"refId": "D"
399+
"refId": "D",
400+
"useBackend": false
393401
}
394402
],
395403
"title": "NGINX Active Connections",
@@ -658,7 +666,9 @@
658666
},
659667
{
660668
"current": {
661-
"text": "All",
669+
"text": [
670+
"All"
671+
],
662672
"value": [
663673
"$__all"
664674
]
@@ -685,13 +695,13 @@
685695
]
686696
},
687697
"time": {
688-
"from": "now-15m",
698+
"from": "now-5m",
689699
"to": "now"
690700
},
691701
"timepicker": {},
692702
"timezone": "",
693703
"title": "NGINX Gateway Fabric",
694704
"uid": "cdb1c6f6-7c77-4cee-a177-593f41364dbe",
695-
"version": 4,
705+
"version": 5,
696706
"weekStart": ""
697707
}

0 commit comments

Comments
 (0)