summaryrefslogtreecommitdiffstats
path: root/monitoring/ceph-mixin
diff options
context:
space:
mode:
authorAashish Sharma <66050535+aaSharma14@users.noreply.github.com>2023-02-08 14:04:30 +0100
committerGitHub <noreply@github.com>2023-02-08 14:04:30 +0100
commit3063c8a4fb2331573bee53af73e5663397343dfd (patch)
tree2745608a633fdd5b3d318227ee31d93d282bc53f /monitoring/ceph-mixin
parentMerge pull request #49627 from rhcs-dashboard/box-podman-osd (diff)
parentmgr/dashboard: Replace vonage-status-panel with native grafana stat panel (diff)
downloadceph-3063c8a4fb2331573bee53af73e5663397343dfd.tar.xz
ceph-3063c8a4fb2331573bee53af73e5663397343dfd.zip
Merge pull request #48783 from rhcs-dashboard/fix-grafana-stat-panel
mgr/dashboard: Replace vonage-status-panel with native grafana stat panel Reviewed-by: Nizamudeen A <nia@redhat.com>
Diffstat (limited to 'monitoring/ceph-mixin')
-rw-r--r--monitoring/ceph-mixin/dashboards_out/ceph-cluster.json363
1 files changed, 199 insertions, 164 deletions
diff --git a/monitoring/ceph-mixin/dashboards_out/ceph-cluster.json b/monitoring/ceph-mixin/dashboards_out/ceph-cluster.json
index 6988a629986..2cd151ae1ff 100644
--- a/monitoring/ceph-mixin/dashboards_out/ceph-cluster.json
+++ b/monitoring/ceph-mixin/dashboards_out/ceph-cluster.json
@@ -23,12 +23,6 @@
"id": "singlestat",
"name": "Singlestat",
"version": "5.0.0"
- },
- {
- "type": "panel",
- "id": "vonage-status-panel",
- "name": "Status Panel",
- "version": "1.0.8"
}
],
"annotations": {
@@ -64,7 +58,7 @@
},
"gridPos": {
"h": 3,
- "w": 2,
+ "w": 6,
"x": 0,
"y": 0
},
@@ -157,8 +151,8 @@
"fontFormat": "Regular",
"gridPos": {
"h": 3,
- "w": 2,
- "x": 2,
+ "w": 6,
+ "x": 6,
"y": 0
},
"id": 43,
@@ -167,6 +161,19 @@
"isHideAlertsOnDisable": false,
"isIgnoreOKColors": false,
"links": [],
+ "options": {
+ "colorMode": "background",
+ "graphMode": "none",
+ "justifyMode": "auto",
+ "orientation": "auto",
+ "reduceOptions": {
+ "calcs": [
+ "lastNotNull"
+ ],
+ "fields": "",
+ "values": false
+ }
+ },
"targets": [
{
"aggregation": "Last",
@@ -249,7 +256,178 @@
}
],
"title": "OSDs",
- "type": "vonage-status-panel"
+ "type": "stat"
+ },
+ {
+ "clusterName": "",
+ "colorMode": "Panel",
+ "colors": {
+ "crit": "rgba(245, 54, 54, 0.9)",
+ "disable": "rgba(128, 128, 128, 0.9)",
+ "ok": "rgba(50, 128, 45, 0.9)",
+ "warn": "rgba(237, 129, 40, 0.9)"
+ },
+ "cornerRadius": 1,
+ "datasource": "$datasource",
+ "displayName": "",
+ "flipCard": false,
+ "flipTime": 5,
+ "fontFormat": "Regular",
+ "gridPos": {
+ "h": 3,
+ "w": 6,
+ "x": 12,
+ "y": 0
+ },
+ "id": 41,
+ "isAutoScrollOnOverflow": false,
+ "isGrayOnNoData": false,
+ "isHideAlertsOnDisable": false,
+ "isIgnoreOKColors": false,
+ "links": [],
+ "options": {
+ "colorMode": "background",
+ "graphMode": "none",
+ "justifyMode": "auto",
+ "orientation": "auto",
+ "reduceOptions": {
+ "calcs": [
+ "lastNotNull"
+ ],
+ "fields": "",
+ "values": false
+ }
+ },
+ "targets": [
+ {
+ "aggregation": "Last",
+ "alias": "In Quorum",
+ "decimals": 2,
+ "displayAliasType": "Always",
+ "displayType": "Regular",
+ "displayValueWithAlias": "When Alias Displayed",
+ "expr": "sum(ceph_mon_quorum_status)",
+ "format": "time_series",
+ "interval": "",
+ "intervalFactor": 1,
+ "legendFormat": "In Quorum",
+ "refId": "A",
+ "units": "none",
+ "valueHandler": "Text Only"
+ },
+ {
+ "aggregation": "Last",
+ "alias": "Total",
+ "crit": 1,
+ "decimals": 2,
+ "displayAliasType": "Always",
+ "displayType": "Regular",
+ "displayValueWithAlias": "When Alias Displayed",
+ "expr": "count(ceph_mon_quorum_status)",
+ "format": "time_series",
+ "intervalFactor": 1,
+ "legendFormat": "Total",
+ "refId": "B",
+ "units": "none",
+ "valueHandler": "Text Only",
+ "warn": 2
+ },
+ {
+ "aggregation": "Last",
+ "alias": "MONs out of Quorum",
+ "crit": 1.6,
+ "decimals": 2,
+ "displayAliasType": "Warning / Critical",
+ "displayType": "Annotation",
+ "displayValueWithAlias": "Never",
+ "expr": "count(ceph_mon_quorum_status) / sum(ceph_mon_quorum_status)",
+ "format": "time_series",
+ "intervalFactor": 1,
+ "legendFormat": "MONs out of Quorum",
+ "refId": "C",
+ "units": "none",
+ "valueHandler": "Number Threshold",
+ "warn": 1.1
+ }
+ ],
+ "title": "Monitors",
+ "type": "stat"
+ },
+ {
+ "colorMode": "Panel",
+ "colors": {
+ "crit": "rgba(245, 54, 54, 0.9)",
+ "disable": "rgba(128, 128, 128, 0.9)",
+ "ok": "rgba(50, 128, 45, 0.9)",
+ "warn": "rgba(237, 129, 40, 0.9)"
+ },
+ "cornerRadius": 1,
+ "datasource": "$datasource",
+ "displayName": "",
+ "flipCard": false,
+ "flipTime": 5,
+ "fontFormat": "Regular",
+ "gridPos": {
+ "h": 3,
+ "w": 6,
+ "x": 18,
+ "y": 0
+ },
+ "id": 68,
+ "isAutoScrollOnOverflow": false,
+ "isGrayOnNoData": false,
+ "isHideAlertsOnDisable": false,
+ "isIgnoreOKColors": false,
+ "links": [],
+ "options": {
+ "colorMode": "background",
+ "graphMode": "none",
+ "justifyMode": "auto",
+ "orientation": "auto",
+ "reduceOptions": {
+ "calcs": [
+ "lastNotNull"
+ ],
+ "fields": "",
+ "values": false
+ }
+ },
+ "targets": [
+ {
+ "aggregation": "Last",
+ "alias": "Active",
+ "decimals": 2,
+ "displayAliasType": "Always",
+ "displayType": "Regular",
+ "displayValueWithAlias": "When Alias Displayed",
+ "expr": "count(ceph_mgr_status == 1) or vector(0)",
+ "format": "time_series",
+ "intervalFactor": 1,
+ "instant": true,
+ "legendFormat": "Active",
+ "refId": "A",
+ "units": "none",
+ "valueHandler": "Number Threshold"
+ },
+ {
+ "aggregation": "Last",
+ "alias": "Standby",
+ "decimals": 2,
+ "displayAliasType": "Always",
+ "displayType": "Regular",
+ "displayValueWithAlias": "When Alias Displayed",
+ "expr": "count(ceph_mgr_status == 0) or vector(0)",
+ "format": "time_series",
+ "instant": true,
+ "intervalFactor": 1,
+ "legendFormat": "Standby",
+ "refId": "B",
+ "units": "none",
+ "valueHandler": "Number Threshold"
+ }
+ ],
+ "title": "MGRs",
+ "type": "stat"
},
{
"cacheTimeout": null,
@@ -272,9 +450,9 @@
},
"gridPos": {
"h": 6,
- "w": 4,
- "x": 4,
- "y": 0
+ "w": 6,
+ "x": 0,
+ "y": 6
},
"id": 47,
"interval": null,
@@ -342,9 +520,9 @@
"fill": 0,
"gridPos": {
"h": 6,
- "w": 8,
- "x": 8,
- "y": 0
+ "w": 9,
+ "x": 6,
+ "y": 6
},
"id": 53,
"legend": {
@@ -498,9 +676,9 @@
"fill": 0,
"gridPos": {
"h": 6,
- "w": 8,
- "x": 16,
- "y": 0
+ "w": 9,
+ "x": 15,
+ "y": 6
},
"id": 66,
"legend": {
@@ -596,149 +774,6 @@
]
},
{
- "clusterName": "",
- "colorMode": "Panel",
- "colors": {
- "crit": "rgba(245, 54, 54, 0.9)",
- "disable": "rgba(128, 128, 128, 0.9)",
- "ok": "rgba(50, 128, 45, 0.9)",
- "warn": "rgba(237, 129, 40, 0.9)"
- },
- "cornerRadius": 1,
- "datasource": "$datasource",
- "displayName": "",
- "flipCard": false,
- "flipTime": 5,
- "fontFormat": "Regular",
- "gridPos": {
- "h": 3,
- "w": 2,
- "x": 0,
- "y": 3
- },
- "id": 41,
- "isAutoScrollOnOverflow": false,
- "isGrayOnNoData": false,
- "isHideAlertsOnDisable": false,
- "isIgnoreOKColors": false,
- "links": [],
- "targets": [
- {
- "aggregation": "Last",
- "alias": "In Quorum",
- "decimals": 2,
- "displayAliasType": "Always",
- "displayType": "Regular",
- "displayValueWithAlias": "When Alias Displayed",
- "expr": "sum(ceph_mon_quorum_status)",
- "format": "time_series",
- "interval": "",
- "intervalFactor": 1,
- "legendFormat": "In Quorum",
- "refId": "A",
- "units": "none",
- "valueHandler": "Text Only"
- },
- {
- "aggregation": "Last",
- "alias": "Total",
- "crit": 1,
- "decimals": 2,
- "displayAliasType": "Always",
- "displayType": "Regular",
- "displayValueWithAlias": "When Alias Displayed",
- "expr": "count(ceph_mon_quorum_status)",
- "format": "time_series",
- "intervalFactor": 1,
- "legendFormat": "Total",
- "refId": "B",
- "units": "none",
- "valueHandler": "Text Only",
- "warn": 2
- },
- {
- "aggregation": "Last",
- "alias": "MONs out of Quorum",
- "crit": 1.6,
- "decimals": 2,
- "displayAliasType": "Warning / Critical",
- "displayType": "Annotation",
- "displayValueWithAlias": "Never",
- "expr": "count(ceph_mon_quorum_status) / sum(ceph_mon_quorum_status)",
- "format": "time_series",
- "intervalFactor": 1,
- "legendFormat": "MONs out of Quorum",
- "refId": "C",
- "units": "none",
- "valueHandler": "Number Threshold",
- "warn": 1.1
- }
- ],
- "title": "Monitors",
- "type": "vonage-status-panel"
- },
- {
- "colorMode": "Panel",
- "colors": {
- "crit": "rgba(245, 54, 54, 0.9)",
- "disable": "rgba(128, 128, 128, 0.9)",
- "ok": "rgba(50, 128, 45, 0.9)",
- "warn": "rgba(237, 129, 40, 0.9)"
- },
- "cornerRadius": 0,
- "datasource": "$datasource",
- "displayName": "",
- "flipCard": false,
- "flipTime": 5,
- "fontFormat": "Regular",
- "gridPos": {
- "h": 3,
- "w": 2,
- "x": 2,
- "y": 3
- },
- "id": 68,
- "isAutoScrollOnOverflow": false,
- "isGrayOnNoData": false,
- "isHideAlertsOnDisable": false,
- "isIgnoreOKColors": false,
- "links": [],
- "targets": [
- {
- "aggregation": "Last",
- "alias": "Active",
- "decimals": 2,
- "displayAliasType": "Always",
- "displayType": "Regular",
- "displayValueWithAlias": "When Alias Displayed",
- "expr": "count(ceph_mgr_status == 1) or vector(0)",
- "format": "time_series",
- "intervalFactor": 1,
- "legendFormat": "Active",
- "refId": "A",
- "units": "none",
- "valueHandler": "Number Threshold"
- },
- {
- "aggregation": "Last",
- "alias": "Standby",
- "decimals": 2,
- "displayAliasType": "Always",
- "displayType": "Regular",
- "displayValueWithAlias": "When Alias Displayed",
- "expr": "count(ceph_mgr_status == 0) or vector(0)",
- "format": "time_series",
- "intervalFactor": 1,
- "legendFormat": "Standby",
- "refId": "B",
- "units": "none",
- "valueHandler": "Number Threshold"
- }
- ],
- "title": "MGRs",
- "type": "vonage-status-panel"
- },
- {
"aliasColors": {},
"bars": false,
"dashLength": 10,
@@ -749,7 +784,7 @@
"h": 9,
"w": 12,
"x": 0,
- "y": 6
+ "y": 9
},
"id": 45,
"legend": {
@@ -841,7 +876,7 @@
"h": 9,
"w": 12,
"x": 12,
- "y": 6
+ "y": 9
},
"id": 62,
"legend": {