Skip to content

Commit

Permalink
docs: update grafana dashboard (#49)
Browse files Browse the repository at this point in the history
  • Loading branch information
logo306142054 authored Jun 28, 2023
1 parent 4ab9943 commit a1da2a4
Show file tree
Hide file tree
Showing 8 changed files with 49 additions and 49 deletions.
44 changes: 22 additions & 22 deletions config/grafana-template/EMQX4-enterprise/EMQX.json
Original file line number Diff line number Diff line change
Expand Up @@ -1604,7 +1604,7 @@
"expr": "sum(irate(emqx_bytes_received{instance=~\".*\",cluster=\"$cluster\"}[$__rate_interval]))",
"format": "time_series",
"instant": false,
"interval": "20s",
"interval": "",
"legendFormat": "Bytes received",
"range": true,
"refId": "A"
Expand All @@ -1617,7 +1617,7 @@
"editorMode": "code",
"expr": "sum(irate(emqx_bytes_sent{instance=~\".*\",cluster=\"$cluster\"}[$__rate_interval]))",
"hide": false,
"interval": "20s",
"interval": "",
"legendFormat": "Bytes sent",
"range": true,
"refId": "B"
Expand Down Expand Up @@ -2765,7 +2765,7 @@
"type": "timeseries"
},
{
"collapsed": false,
"collapsed": true,
"gridPos": {
"h": 1,
"w": 24,
Expand Down Expand Up @@ -2881,7 +2881,7 @@
"h": 8,
"w": 6,
"x": 0,
"y": 39
"y": 31
},
"id": 54,
"options": {
Expand Down Expand Up @@ -3076,7 +3076,7 @@
"h": 8,
"w": 6,
"x": 6,
"y": 39
"y": 31
},
"id": 57,
"options": {
Expand Down Expand Up @@ -3270,7 +3270,7 @@
"h": 8,
"w": 6,
"x": 12,
"y": 39
"y": 31
},
"id": 56,
"options": {
Expand Down Expand Up @@ -3609,7 +3609,7 @@
"h": 1,
"w": 24,
"x": 0,
"y": 47
"y": 39
},
"id": 26,
"panels": [],
Expand Down Expand Up @@ -3666,7 +3666,7 @@
}
]
},
"unit": "short"
"unit": "none"
},
"overrides": [
{
Expand Down Expand Up @@ -3777,10 +3777,10 @@
]
},
"gridPos": {
"h": 7,
"h": 8,
"w": 12,
"x": 0,
"y": 48
"y": 40
},
"id": 14,
"links": [
Expand Down Expand Up @@ -3817,7 +3817,7 @@
"editorMode": "code",
"exemplar": false,
"expr": "sum(irate(emqx_messages_received{instance=~\".*\",cluster=\"$cluster\"}[$__rate_interval]))",
"interval": "20s",
"interval": "",
"legendFormat": "Messages Received",
"range": true,
"refId": "A"
Expand All @@ -3830,7 +3830,7 @@
"editorMode": "code",
"expr": "sum(irate(emqx_messages_sent{instance=~\".*\",cluster=\"$cluster\"}[$__rate_interval]))",
"hide": false,
"interval": "20s",
"interval": "",
"legendFormat": "Messages Sent",
"range": true,
"refId": "B"
Expand All @@ -3843,7 +3843,7 @@
"editorMode": "code",
"expr": "sum(irate(emqx_messages_dropped{instance=~\".*\",cluster=\"$cluster\"}[$__rate_interval]))",
"hide": false,
"interval": "20s",
"interval": "",
"legendFormat": "Messages Dropped",
"range": true,
"refId": "C"
Expand Down Expand Up @@ -3907,10 +3907,10 @@
"overrides": []
},
"gridPos": {
"h": 7,
"h": 8,
"w": 12,
"x": 12,
"y": 48
"y": 40
},
"id": 80,
"options": {
Expand Down Expand Up @@ -3973,7 +3973,7 @@
"h": 1,
"w": 24,
"x": 0,
"y": 55
"y": 40
},
"id": 109,
"panels": [],
Expand Down Expand Up @@ -4099,7 +4099,7 @@
"h": 5,
"w": 9,
"x": 0,
"y": 56
"y": 49
},
"id": 124,
"options": {
Expand Down Expand Up @@ -4466,7 +4466,7 @@
"h": 5,
"w": 15,
"x": 9,
"y": 56
"y": 49
},
"id": 115,
"options": {
Expand Down Expand Up @@ -4640,7 +4640,7 @@
"h": 1,
"w": 24,
"x": 0,
"y": 61
"y": 54
},
"id": 28,
"panels": [],
Expand Down Expand Up @@ -4705,7 +4705,7 @@
"h": 7,
"w": 8,
"x": 0,
"y": 62
"y": 55
},
"id": 147,
"options": {
Expand Down Expand Up @@ -4794,7 +4794,7 @@
"h": 7,
"w": 8,
"x": 8,
"y": 62
"y": 55
},
"id": 149,
"options": {
Expand Down Expand Up @@ -4883,7 +4883,7 @@
"h": 7,
"w": 8,
"x": 16,
"y": 62
"y": 55
},
"id": 151,
"options": {
Expand Down
6 changes: 3 additions & 3 deletions config/grafana-template/EMQX4-enterprise/Messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@
"editorMode": "code",
"expr": "sum by(instance) (irate(emqx_messages_sent{cluster=\"$cluster\", instance=~\"$node\"}[$__rate_interval]))",
"hide": false,
"interval": "20s",
"interval": "",
"legendFormat": "{{ instance }}",
"range": true,
"refId": "B"
Expand Down Expand Up @@ -457,7 +457,7 @@
"editorMode": "code",
"expr": "sum by(instance) (irate(emqx_messages_received{cluster=\"$cluster\", instance=~\"$node\"}[$__rate_interval]))",
"hide": false,
"interval": "20s",
"interval": "",
"legendFormat": "{{ instance }}",
"range": true,
"refId": "B"
Expand Down Expand Up @@ -660,7 +660,7 @@
"editorMode": "code",
"expr": "sum by(instance) (irate(emqx_messages_dropped{cluster=\"$cluster\", instance=~\"$node\"}[$__rate_interval]))",
"hide": false,
"interval": "20s",
"interval": "",
"legendFormat": "{{ instance }}",
"range": true,
"refId": "B"
Expand Down
10 changes: 5 additions & 5 deletions config/grafana-template/EMQX4/EMQX.json
Original file line number Diff line number Diff line change
Expand Up @@ -939,7 +939,7 @@
"expr": "sum(irate(emqx_bytes_received{instance=~\".*\",cluster=\"$cluster\"}[$__rate_interval]))",
"format": "time_series",
"instant": false,
"interval": "20s",
"interval": "",
"legendFormat": "Bytes received",
"range": true,
"refId": "A"
Expand All @@ -952,7 +952,7 @@
"editorMode": "code",
"expr": "sum(irate(emqx_bytes_sent{instance=~\".*\",cluster=\"$cluster\"}[$__rate_interval]))",
"hide": false,
"interval": "20s",
"interval": "",
"legendFormat": "Bytes sent",
"range": true,
"refId": "B"
Expand Down Expand Up @@ -1163,7 +1163,7 @@
"editorMode": "code",
"exemplar": false,
"expr": "sum(irate(emqx_messages_received{instance=~\".*\",cluster=\"$cluster\"}[$__rate_interval]))",
"interval": "20s",
"interval": "",
"legendFormat": "Messages Received",
"range": true,
"refId": "A"
Expand All @@ -1176,7 +1176,7 @@
"editorMode": "code",
"expr": "sum(irate(emqx_messages_sent{instance=~\".*\",cluster=\"$cluster\"}[$__rate_interval]))",
"hide": false,
"interval": "20s",
"interval": "",
"legendFormat": "Messages Sent",
"range": true,
"refId": "B"
Expand All @@ -1189,7 +1189,7 @@
"editorMode": "code",
"expr": "sum(irate(emqx_messages_dropped{instance=~\".*\",cluster=\"$cluster\"}[$__rate_interval]))",
"hide": false,
"interval": "20s",
"interval": "",
"legendFormat": "Messages Dropped",
"range": true,
"refId": "C"
Expand Down
6 changes: 3 additions & 3 deletions config/grafana-template/EMQX4/Messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@
"editorMode": "code",
"expr": "sum by(instance) (irate(emqx_messages_sent{cluster=\"$cluster\", instance=~\"$node\"}[$__rate_interval]))",
"hide": false,
"interval": "20s",
"interval": "",
"legendFormat": "{{ instance }}",
"range": true,
"refId": "B"
Expand Down Expand Up @@ -457,7 +457,7 @@
"editorMode": "code",
"expr": "sum by(instance) (irate(emqx_messages_received{cluster=\"$cluster\", instance=~\"$node\"}[$__rate_interval]))",
"hide": false,
"interval": "20s",
"interval": "",
"legendFormat": "{{ instance }}",
"range": true,
"refId": "B"
Expand Down Expand Up @@ -660,7 +660,7 @@
"editorMode": "code",
"expr": "sum by(instance) (irate(emqx_messages_dropped{cluster=\"$cluster\", instance=~\"$node\"}[$__rate_interval]))",
"hide": false,
"interval": "20s",
"interval": "",
"legendFormat": "{{ instance }}",
"range": true,
"refId": "B"
Expand Down
10 changes: 5 additions & 5 deletions config/grafana-template/EMQX5-enterprise/EMQX.json
Original file line number Diff line number Diff line change
Expand Up @@ -3782,7 +3782,7 @@
"editorMode": "code",
"exemplar": false,
"expr": "sum(irate(emqx_messages_received{instance=~\".*\",cluster=\"$cluster\"}[$__rate_interval]))",
"interval": "20s",
"interval": "",
"legendFormat": "Messages Received",
"range": true,
"refId": "A"
Expand All @@ -3795,7 +3795,7 @@
"editorMode": "code",
"expr": "sum(irate(emqx_messages_sent{instance=~\".*\",cluster=\"$cluster\"}[$__rate_interval]))",
"hide": false,
"interval": "20s",
"interval": "",
"legendFormat": "Messages Sent",
"range": true,
"refId": "B"
Expand All @@ -3808,7 +3808,7 @@
"editorMode": "code",
"expr": "sum(irate(emqx_messages_dropped{instance=~\".*\",cluster=\"$cluster\"}[$__rate_interval]))",
"hide": false,
"interval": "20s",
"interval": "",
"legendFormat": "Messages Dropped",
"range": true,
"refId": "C"
Expand Down Expand Up @@ -4055,7 +4055,7 @@
"expr": "sum(irate(emqx_bytes_received{instance=~\".*\",cluster=\"$cluster\"}[$__rate_interval]))",
"format": "time_series",
"instant": false,
"interval": "20s",
"interval": "",
"legendFormat": "Bytes received",
"range": true,
"refId": "A"
Expand All @@ -4068,7 +4068,7 @@
"editorMode": "code",
"expr": "sum(irate(emqx_bytes_sent{instance=~\".*\",cluster=\"$cluster\"}[$__rate_interval]))",
"hide": false,
"interval": "20s",
"interval": "",
"legendFormat": "Bytes sent",
"range": true,
"refId": "B"
Expand Down
6 changes: 3 additions & 3 deletions config/grafana-template/EMQX5-enterprise/Messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@
"editorMode": "code",
"expr": "sum by(instance) (irate(emqx_messages_sent{cluster=\"$cluster\", instance=~\"$node\"}[$__rate_interval]))",
"hide": false,
"interval": "20s",
"interval": "",
"legendFormat": "{{ instance }}",
"range": true,
"refId": "B"
Expand Down Expand Up @@ -459,7 +459,7 @@
"editorMode": "code",
"expr": "sum by(instance) (irate(emqx_messages_received{cluster=\"$cluster\", instance=~\"$node\"}[$__rate_interval]))",
"hide": false,
"interval": "20s",
"interval": "",
"legendFormat": "{{ instance }}",
"range": true,
"refId": "B"
Expand Down Expand Up @@ -663,7 +663,7 @@
"editorMode": "code",
"expr": "sum by(instance) (irate(emqx_messages_dropped{cluster=\"$cluster\", instance=~\"$node\"}[$__rate_interval]))",
"hide": false,
"interval": "20s",
"interval": "",
"legendFormat": "{{ instance }}",
"range": true,
"refId": "B"
Expand Down
Loading

0 comments on commit a1da2a4

Please sign in to comment.