Skip to content

Commit

Permalink
monitor: refactor grafana dashboard
Browse files Browse the repository at this point in the history
  • Loading branch information
oilbeater committed Oct 23, 2020
1 parent c7df31a commit 3b20abb
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 26 deletions.
42 changes: 21 additions & 21 deletions dist/monitoring/ovn-grafana.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"gnetId": null,
"graphTooltip": 0,
"id": null,
"iteration": 1603345023049,
"iteration": 1603434322713,
"links": [],
"panels": [
{
Expand All @@ -69,7 +69,7 @@
"overrides": []
},
"gridPos": {
"h": 8,
"h": 5,
"w": 3,
"x": 0,
"y": 0
Expand Down Expand Up @@ -127,7 +127,7 @@
"overrides": []
},
"gridPos": {
"h": 8,
"h": 5,
"w": 3,
"x": 3,
"y": 0
Expand Down Expand Up @@ -185,7 +185,7 @@
"overrides": []
},
"gridPos": {
"h": 8,
"h": 5,
"w": 4,
"x": 6,
"y": 0
Expand Down Expand Up @@ -243,7 +243,7 @@
"overrides": []
},
"gridPos": {
"h": 8,
"h": 5,
"w": 4,
"x": 10,
"y": 0
Expand Down Expand Up @@ -301,8 +301,8 @@
"overrides": []
},
"gridPos": {
"h": 8,
"w": 6,
"h": 5,
"w": 5,
"x": 14,
"y": 0
},
Expand Down Expand Up @@ -359,9 +359,9 @@
"overrides": []
},
"gridPos": {
"h": 8,
"w": 4,
"x": 20,
"h": 5,
"w": 5,
"x": 19,
"y": 0
},
"id": 22,
Expand Down Expand Up @@ -412,7 +412,7 @@
"h": 8,
"w": 12,
"x": 0,
"y": 8
"y": 5
},
"hiddenSeries": false,
"id": 8,
Expand Down Expand Up @@ -504,7 +504,7 @@
"h": 8,
"w": 12,
"x": 12,
"y": 8
"y": 5
},
"hiddenSeries": false,
"id": 10,
Expand Down Expand Up @@ -533,7 +533,7 @@
{
"expr": "kube_ovn_logical_switch_ports_num{instance=~\"$instance\"}",
"interval": "",
"legendFormat": "{{instance}} {{uuid}}",
"legendFormat": "{{instance}} {{logical_switch_name}}",
"refId": "A"
}
],
Expand Down Expand Up @@ -596,7 +596,7 @@
"h": 8,
"w": 12,
"x": 0,
"y": 16
"y": 13
},
"hiddenSeries": false,
"id": 12,
Expand All @@ -623,7 +623,7 @@
"steppedLine": false,
"targets": [
{
"expr": "kube_ovn_db_file_size{instance=~\"$instance\", hostname!=\"localhost\"}",
"expr": "kube_ovn_db_file_size_bytes{instance=~\"$instance\", hostname!=\"localhost\"}",
"interval": "",
"legendFormat": "{{instance}} {{db_name}}",
"refId": "A"
Expand Down Expand Up @@ -689,7 +689,7 @@
"h": 8,
"w": 12,
"x": 12,
"y": 16
"y": 13
},
"hiddenSeries": false,
"id": 14,
Expand All @@ -716,7 +716,7 @@
"steppedLine": false,
"targets": [
{
"expr": "kube_ovn_log_file_size{instance=~\"$instance\", hostname!=\"localhost\"}",
"expr": "kube_ovn_log_file_size_bytes{instance=~\"$instance\", hostname!=\"localhost\"}",
"interval": "",
"legendFormat": "{{instance}} {{component}}",
"refId": "A"
Expand Down Expand Up @@ -781,7 +781,7 @@
"h": 8,
"w": 12,
"x": 0,
"y": 24
"y": 21
},
"hiddenSeries": false,
"id": 4,
Expand Down Expand Up @@ -873,7 +873,7 @@
"h": 8,
"w": 12,
"x": 12,
"y": 24
"y": 21
},
"hiddenSeries": false,
"id": 6,
Expand Down Expand Up @@ -997,7 +997,7 @@
]
},
"time": {
"from": "now-6h",
"from": "now-1h",
"to": "now"
},
"timepicker": {
Expand All @@ -1016,5 +1016,5 @@
"timezone": "",
"title": "Kube-OVN / OVN",
"uid": "c4ykUItGk",
"version": 19
"version": 22
}
10 changes: 5 additions & 5 deletions dist/monitoring/ovs-grafana.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"gnetId": null,
"graphTooltip": 0,
"id": null,
"iteration": 1603354441220,
"iteration": 1603433642550,
"links": [],
"panels": [
{
Expand Down Expand Up @@ -449,7 +449,7 @@
"steppedLine": false,
"targets": [
{
"expr": "kube_ovn_db_file_size{instance=~\"$instance\", hostname!=\"localhost\"}",
"expr": "kube_ovn_db_file_size_bytes{instance=~\"$instance\", hostname!=\"localhost\"}",
"interval": "",
"legendFormat": "{{instance}}",
"refId": "A"
Expand Down Expand Up @@ -541,7 +541,7 @@
"steppedLine": false,
"targets": [
{
"expr": "kube_ovn_log_file_size{instance=~\"$instance\", hostname!=\"localhost\"}",
"expr": "kube_ovn_log_file_size_bytes{instance=~\"$instance\", hostname!=\"localhost\"}",
"interval": "",
"legendFormat": "{{instance}} {{component}}",
"refId": "A"
Expand Down Expand Up @@ -1124,7 +1124,7 @@
]
},
"time": {
"from": "now-1h",
"from": "now-6h",
"to": "now"
},
"timepicker": {
Expand All @@ -1143,5 +1143,5 @@
"timezone": "",
"title": "Kube-OVN / OVS",
"uid": "xI0I5dpMk",
"version": 6
"version": 7
}

0 comments on commit 3b20abb

Please sign in to comment.