Add the new panel to show ONOS status
Change-Id: I07d9b37793910325cc75e2ab6fd23ca7207a6e7d
diff --git a/monitoring/grafana-aether/Chart.yaml b/monitoring/grafana-aether/Chart.yaml
index 6932aa8..06d87d2 100644
--- a/monitoring/grafana-aether/Chart.yaml
+++ b/monitoring/grafana-aether/Chart.yaml
@@ -5,6 +5,6 @@
name: grafana-aether
description: A Helm chart for deploying Grafana with Aether dashboards
-version: 0.6.12
+version: 0.6.13
appVersion: 0.1.0
diff --git a/monitoring/grafana-aether/dashboards/tost-metrics.json b/monitoring/grafana-aether/dashboards/tost-metrics.json
index 06b60db..291dfa3 100644
--- a/monitoring/grafana-aether/dashboards/tost-metrics.json
+++ b/monitoring/grafana-aether/dashboards/tost-metrics.json
@@ -15,8 +15,8 @@
"editable": true,
"gnetId": null,
"graphTooltip": 0,
- "id": 28,
- "iteration": 1620252734676,
+ "id": 25,
+ "iteration": 1621883007099,
"links": [],
"panels": [
{
@@ -27,25 +27,43 @@
"datasource": "$datasource",
"fieldConfig": {
"defaults": {
- "custom": {}
+ "custom": {
+ "align": null
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green",
+ "value": null
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ }
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
- "h": 8,
+ "h": 7,
"w": 12,
"x": 0,
"y": 0
},
"hiddenSeries": false,
- "id": 14,
+ "id": 17,
"legend": {
+ "alignAsTable": false,
"avg": false,
"current": false,
"max": false,
"min": false,
+ "rightSide": false,
"show": true,
"total": false,
"values": false
@@ -64,23 +82,19 @@
"steppedLine": false,
"targets": [
{
- "expr": "stratum_counters_in_octets",
+ "expr": "onos_telegraf_ready",
+ "format": "time_series",
+ "instant": false,
"interval": "",
- "legendFormat": "in-{{ source }}:{{ name }} ",
+ "legendFormat": "Ready",
"refId": "A"
- },
- {
- "expr": "stratum_counters_out_octets",
- "interval": "",
- "legendFormat": "out-{{ source }}:{{ name }}",
- "refId": "B"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
- "title": "Stratum Couter (octect)",
+ "title": "ONOS Cluster Ready",
"tooltip": {
"shared": true,
"sort": 0,
@@ -96,122 +110,22 @@
},
"yaxes": [
{
- "$$hashKey": "object:162",
- "format": "short",
- "label": null,
+ "$$hashKey": "object:231",
+ "format": "none",
+ "label": "",
"logBase": 1,
- "max": null,
- "min": null,
- "show": true
- },
- {
- "$$hashKey": "object:163",
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "$datasource",
- "fieldConfig": {
- "defaults": {
- "custom": {}
- },
- "overrides": []
- },
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 8,
- "w": 12,
- "x": 12,
- "y": 0
- },
- "hiddenSeries": false,
- "id": 15,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "nullPointMode": "null",
- "percentage": false,
- "pluginVersion": "7.1.5",
- "pointradius": 2,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "expr": "stratum_counters_in_errors",
- "interval": "",
- "legendFormat": "in-{{ source }}:{{ name }} ",
- "refId": "A"
- },
- {
- "expr": "stratum_counters_out_errors",
- "interval": "",
- "legendFormat": "out-{{ source }}:{{ name }}",
- "refId": "B"
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Stratum Counter (errors)",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "$$hashKey": "object:162",
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
+ "max": "1",
"min": "0",
"show": true
},
{
- "$$hashKey": "object:163",
+ "$$hashKey": "object:232",
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
- "show": true
+ "show": false
}
],
"yaxis": {
@@ -234,10 +148,10 @@
"fill": 1,
"fillGradient": 0,
"gridPos": {
- "h": 6,
- "w": 24,
- "x": 0,
- "y": 8
+ "h": 7,
+ "w": 12,
+ "x": 12,
+ "y": 0
},
"hiddenSeries": false,
"id": 12,
@@ -341,10 +255,210 @@
"fill": 1,
"fillGradient": 0,
"gridPos": {
+ "h": 8,
+ "w": 12,
+ "x": 0,
+ "y": 7
+ },
+ "hiddenSeries": false,
+ "id": 14,
+ "legend": {
+ "avg": false,
+ "current": false,
+ "max": false,
+ "min": false,
+ "show": true,
+ "total": false,
+ "values": false
+ },
+ "lines": true,
+ "linewidth": 1,
+ "nullPointMode": "null",
+ "percentage": false,
+ "pluginVersion": "7.1.5",
+ "pointradius": 2,
+ "points": false,
+ "renderer": "flot",
+ "seriesOverrides": [],
+ "spaceLength": 10,
+ "stack": false,
+ "steppedLine": false,
+ "targets": [
+ {
+ "expr": "stratum_counters_in_octets",
+ "interval": "",
+ "legendFormat": "in-{{ source }}:{{ name }} ",
+ "refId": "A"
+ },
+ {
+ "expr": "stratum_counters_out_octets",
+ "interval": "",
+ "legendFormat": "out-{{ source }}:{{ name }}",
+ "refId": "B"
+ }
+ ],
+ "thresholds": [],
+ "timeFrom": null,
+ "timeRegions": [],
+ "timeShift": null,
+ "title": "Stratum Couter (octect)",
+ "tooltip": {
+ "shared": true,
+ "sort": 0,
+ "value_type": "individual"
+ },
+ "type": "graph",
+ "xaxis": {
+ "buckets": null,
+ "mode": "time",
+ "name": null,
+ "show": true,
+ "values": []
+ },
+ "yaxes": [
+ {
+ "$$hashKey": "object:162",
+ "format": "short",
+ "label": null,
+ "logBase": 1,
+ "max": null,
+ "min": null,
+ "show": true
+ },
+ {
+ "$$hashKey": "object:163",
+ "format": "short",
+ "label": null,
+ "logBase": 1,
+ "max": null,
+ "min": null,
+ "show": true
+ }
+ ],
+ "yaxis": {
+ "align": false,
+ "alignLevel": null
+ }
+ },
+ {
+ "aliasColors": {},
+ "bars": false,
+ "dashLength": 10,
+ "dashes": false,
+ "datasource": "$datasource",
+ "fieldConfig": {
+ "defaults": {
+ "custom": {}
+ },
+ "overrides": []
+ },
+ "fill": 1,
+ "fillGradient": 0,
+ "gridPos": {
+ "h": 8,
+ "w": 12,
+ "x": 12,
+ "y": 7
+ },
+ "hiddenSeries": false,
+ "id": 15,
+ "legend": {
+ "avg": false,
+ "current": false,
+ "max": false,
+ "min": false,
+ "show": true,
+ "total": false,
+ "values": false
+ },
+ "lines": true,
+ "linewidth": 1,
+ "nullPointMode": "null",
+ "percentage": false,
+ "pluginVersion": "7.1.5",
+ "pointradius": 2,
+ "points": false,
+ "renderer": "flot",
+ "seriesOverrides": [],
+ "spaceLength": 10,
+ "stack": false,
+ "steppedLine": false,
+ "targets": [
+ {
+ "expr": "stratum_counters_in_errors",
+ "interval": "",
+ "legendFormat": "in-{{ source }}:{{ name }} ",
+ "refId": "A"
+ },
+ {
+ "expr": "stratum_counters_out_errors",
+ "interval": "",
+ "legendFormat": "out-{{ source }}:{{ name }}",
+ "refId": "B"
+ }
+ ],
+ "thresholds": [],
+ "timeFrom": null,
+ "timeRegions": [],
+ "timeShift": null,
+ "title": "Stratum Counter (errors)",
+ "tooltip": {
+ "shared": true,
+ "sort": 0,
+ "value_type": "individual"
+ },
+ "type": "graph",
+ "xaxis": {
+ "buckets": null,
+ "mode": "time",
+ "name": null,
+ "show": true,
+ "values": []
+ },
+ "yaxes": [
+ {
+ "$$hashKey": "object:162",
+ "format": "short",
+ "label": null,
+ "logBase": 1,
+ "max": null,
+ "min": "0",
+ "show": true
+ },
+ {
+ "$$hashKey": "object:163",
+ "format": "short",
+ "label": null,
+ "logBase": 1,
+ "max": null,
+ "min": null,
+ "show": true
+ }
+ ],
+ "yaxis": {
+ "align": false,
+ "alignLevel": null
+ }
+ },
+ {
+ "aliasColors": {},
+ "bars": false,
+ "dashLength": 10,
+ "dashes": false,
+ "datasource": "$datasource",
+ "fieldConfig": {
+ "defaults": {
+ "custom": {}
+ },
+ "overrides": []
+ },
+ "fill": 1,
+ "fillGradient": 0,
+ "gridPos": {
"h": 6,
"w": 12,
"x": 0,
- "y": 14
+ "y": 15
},
"hiddenSeries": false,
"id": 4,
@@ -514,7 +628,7 @@
"h": 6,
"w": 12,
"x": 12,
- "y": 14
+ "y": 15
},
"hiddenSeries": false,
"id": 2,
@@ -658,7 +772,7 @@
"h": 5,
"w": 12,
"x": 0,
- "y": 20
+ "y": 21
},
"hiddenSeries": false,
"id": 6,
@@ -788,7 +902,7 @@
"h": 5,
"w": 12,
"x": 12,
- "y": 20
+ "y": 21
},
"hiddenSeries": false,
"id": 8,
@@ -971,7 +1085,7 @@
"h": 14,
"w": 24,
"x": 0,
- "y": 25
+ "y": 26
},
"id": 10,
"options": {
@@ -1183,5 +1297,5 @@
"timezone": "",
"title": "TOST Metrics",
"uid": "fVcZZm8Gk",
- "version": 6
-}
+ "version": 1
+}
\ No newline at end of file