diff --git a/src/dashboards/ceph-cluster.json b/src/dashboards/ceph-cluster.json index 61a425d..d683696 100644 --- a/src/dashboards/ceph-cluster.json +++ b/src/dashboards/ceph-cluster.json @@ -54,6 +54,12 @@ "datasource": "$datasource", "editable": false, "error": false, + "fieldConfig": { + "defaults": { + "custom": {} + }, + "overrides": [] + }, "format": "none", "gauge": { "maxValue": 100, @@ -119,7 +125,6 @@ "thresholds": "1,2", "timeFrom": null, "title": "Health Status", - "transparent": false, "type": "singlestat", "valueFontSize": "50%", "valueMaps": [ @@ -152,6 +157,12 @@ "cornerRadius": 0, "datasource": "$datasource", "displayName": "", + "fieldConfig": { + "defaults": { + "custom": {} + }, + "overrides": [] + }, "flipCard": false, "flipTime": 5, "fontFormat": "Regular", @@ -262,6 +273,12 @@ ], "datasource": "$datasource", "decimals": 2, + "fieldConfig": { + "defaults": { + "custom": {} + }, + "overrides": [] + }, "format": "percentunit", "gauge": { "maxValue": 100, @@ -339,13 +356,21 @@ "dashLength": 10, "dashes": false, "datasource": "$datasource", + "fieldConfig": { + "defaults": { + "custom": {} + }, + "overrides": [] + }, "fill": 0, + "fillGradient": 0, "gridPos": { "h": 6, "w": 8, "x": 8, "y": 0 }, + "hiddenSeries": false, "id": 53, "legend": { "avg": false, @@ -360,7 +385,11 @@ "linewidth": 1, "links": [], "nullPointMode": "null", + "options": { + "alertThreshold": true + }, "percentage": false, + "pluginVersion": "7.4.1", "pointradius": 5, "points": false, "renderer": "flot", @@ -455,6 +484,7 @@ ], "thresholds": [], "timeFrom": null, + "timeRegions": [], "timeShift": null, "title": "PG States", "tooltip": { @@ -487,7 +517,11 @@ "min": null, "show": false } - ] + ], + "yaxis": { + "align": false, + "alignLevel": null + } }, { "aliasColors": {}, @@ -495,13 +529,21 @@ "dashLength": 10, "dashes": false, "datasource": "$datasource", + "fieldConfig": { + "defaults": { + "custom": {} + }, + "overrides": [] + }, "fill": 0, + "fillGradient": 0, "gridPos": { "h": 6, "w": 8, "x": 16, "y": 0 }, + "hiddenSeries": false, "id": 66, "legend": { "avg": false, @@ -516,7 +558,11 @@ "linewidth": 1, "links": [], "nullPointMode": "null", + "options": { + "alertThreshold": true + }, "percentage": false, + "pluginVersion": "7.4.1", "pointradius": 5, "points": false, "renderer": "flot", @@ -561,6 +607,7 @@ ], "thresholds": [], "timeFrom": null, + "timeRegions": [], "timeShift": null, "title": "OSD Latencies", "tooltip": { @@ -593,7 +640,11 @@ "min": null, "show": true } - ] + ], + "yaxis": { + "align": false, + "alignLevel": null + } }, { "clusterName": "", @@ -607,6 +658,12 @@ "cornerRadius": 1, "datasource": "$datasource", "displayName": "", + "fieldConfig": { + "defaults": { + "custom": {} + }, + "overrides": [] + }, "flipCard": false, "flipTime": 5, "fontFormat": "Regular", @@ -688,6 +745,12 @@ "cornerRadius": 0, "datasource": "$datasource", "displayName": "", + "fieldConfig": { + "defaults": { + "custom": {} + }, + "overrides": [] + }, "flipCard": false, "flipTime": 5, "fontFormat": "Regular", @@ -729,13 +792,21 @@ "dashLength": 10, "dashes": false, "datasource": "$datasource", + "fieldConfig": { + "defaults": { + "custom": {} + }, + "overrides": [] + }, "fill": 1, + "fillGradient": 0, "gridPos": { "h": 9, "w": 12, "x": 0, "y": 6 }, + "hiddenSeries": false, "id": 45, "legend": { "avg": false, @@ -750,12 +821,17 @@ "linewidth": 1, "links": [], "nullPointMode": "null", + "options": { + "alertThreshold": true + }, "percentage": false, + "pluginVersion": "7.4.1", "pointradius": 0.5, "points": false, "renderer": "flot", "seriesOverrides": [ { + "$$hashKey": "object:271", "alias": "Reads", "transform": "negative-Y" } @@ -767,6 +843,7 @@ { "expr": "sum(irate(ceph_osd_op_w_in_bytes[1m]))", "format": "time_series", + "interval": "", "intervalFactor": 1, "legendFormat": "Writes", "refId": "A" @@ -781,6 +858,7 @@ ], "thresholds": [], "timeFrom": null, + "timeRegions": [], "timeShift": null, "title": "Cluster I/O", "tooltip": { @@ -798,6 +876,7 @@ }, "yaxes": [ { + "$$hashKey": "object:278", "format": "Bps", "label": "Read (-) / Write (+)", "logBase": 1, @@ -806,6 +885,7 @@ "show": true }, { + "$$hashKey": "object:279", "format": "short", "label": null, "logBase": 1, @@ -813,7 +893,11 @@ "min": null, "show": false } - ] + ], + "yaxis": { + "align": false, + "alignLevel": null + } }, { "aliasColors": {}, @@ -821,13 +905,21 @@ "dashLength": 10, "dashes": false, "datasource": "$datasource", + "fieldConfig": { + "defaults": { + "custom": {} + }, + "overrides": [] + }, "fill": 1, + "fillGradient": 0, "gridPos": { "h": 9, "w": 12, "x": 12, "y": 6 }, + "hiddenSeries": false, "id": 62, "legend": { "avg": false, @@ -842,7 +934,11 @@ "linewidth": 1, "links": [], "nullPointMode": "null", + "options": { + "alertThreshold": true + }, "percentage": false, + "pluginVersion": "7.4.1", "pointradius": 5, "points": false, "renderer": "flot", @@ -860,6 +956,7 @@ ], "thresholds": [], "timeFrom": null, + "timeRegions": [], "timeShift": null, "title": "In-/Egress", "tooltip": { @@ -892,7 +989,249 @@ "min": null, "show": false } - ] + ], + "yaxis": { + "align": false, + "alignLevel": null + } + }, + { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "prometheus - Juju generated source", + "decimals": 0, + "fieldConfig": { + "defaults": { + "custom": {} + }, + "overrides": [] + }, + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 11, + "w": 12, + "x": 0, + "y": 15 + }, + "hiddenSeries": false, + "id": 70, + "legend": { + "alignAsTable": true, + "avg": true, + "current": true, + "max": true, + "min": true, + "rightSide": false, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 1, + "nullPointMode": "null", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "7.4.1", + "pointradius": 2, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "sum(rate(ceph_osd_op_w[1m]))", + "interval": "", + "legendFormat": "Write", + "queryType": "randomWalk", + "refId": "A" + }, + { + "expr": "sum(irate(ceph_osd_op_r[1m]))", + "hide": false, + "interval": "", + "legendFormat": "Read", + "queryType": "randomWalk", + "refId": "B" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "IOPS", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "$$hashKey": "object:184", + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": "0", + "show": true + }, + { + "$$hashKey": "object:185", + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } + }, + { + "aliasColors": { + "Degraded": "orange", + "Misplaced": "yellow", + "Unfound": "red" + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "prometheus - Juju generated source", + "decimals": 0, + "fieldConfig": { + "defaults": { + "custom": {} + }, + "overrides": [] + }, + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 11, + "w": 12, + "x": 12, + "y": 15 + }, + "hiddenSeries": false, + "id": 71, + "legend": { + "alignAsTable": true, + "avg": true, + "current": true, + "max": true, + "min": true, + "rightSide": false, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 1, + "nullPointMode": "null", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "7.4.1", + "pointradius": 2, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "sum(ceph_pool_objects)", + "interval": "", + "legendFormat": "Total", + "queryType": "randomWalk", + "refId": "A" + }, + { + "expr": "ceph_num_objects_degraded", + "hide": false, + "interval": "", + "legendFormat": "Degraded", + "queryType": "randomWalk", + "refId": "B" + }, + { + "expr": "ceph_num_objects_misplaced", + "hide": false, + "interval": "", + "legendFormat": "Misplaced", + "queryType": "randomWalk", + "refId": "C" + }, + { + "expr": "ceph_num_objects_unfound", + "hide": false, + "interval": "", + "legendFormat": "Unfound", + "queryType": "randomWalk", + "refId": "D" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Objects in the cluster", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "$$hashKey": "object:184", + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": "0", + "show": true + }, + { + "$$hashKey": "object:185", + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } }, { "cards": { @@ -909,19 +1248,27 @@ }, "dataFormat": "timeseries", "datasource": "$datasource", + "fieldConfig": { + "defaults": { + "custom": {} + }, + "overrides": [] + }, "gridPos": { "h": 9, "w": 6, "x": 0, - "y": 15 + "y": 26 }, "heatmap": {}, + "hideZeroBuckets": false, "highlightCards": true, "id": 55, "legend": { "show": true }, "links": [], + "reverseYBuckets": false, "span": 12, "targets": [ { @@ -955,6 +1302,7 @@ "show": true, "splitFactor": null }, + "yBucketBound": "auto", "yBucketNumber": null, "yBucketSize": null }, @@ -972,19 +1320,27 @@ }, "dataFormat": "timeseries", "datasource": "$datasource", + "fieldConfig": { + "defaults": { + "custom": {} + }, + "overrides": [] + }, "gridPos": { "h": 9, "w": 6, "x": 6, - "y": 15 + "y": 26 }, "heatmap": {}, + "hideZeroBuckets": false, "highlightCards": true, "id": 59, "legend": { "show": true }, "links": [], + "reverseYBuckets": false, "targets": [ { "expr": "ceph_osd_numpg", @@ -1014,6 +1370,7 @@ "show": true, "splitFactor": null }, + "yBucketBound": "auto", "yBucketNumber": null, "yBucketSize": null }, @@ -1023,13 +1380,21 @@ "dashLength": 10, "dashes": false, "datasource": "$datasource", + "fieldConfig": { + "defaults": { + "custom": {} + }, + "overrides": [] + }, "fill": 0, + "fillGradient": 0, "gridPos": { "h": 9, "w": 12, "x": 12, - "y": 15 + "y": 26 }, + "hiddenSeries": false, "id": 64, "legend": { "avg": false, @@ -1044,7 +1409,11 @@ "linewidth": 1, "links": [], "nullPointMode": "null", + "options": { + "alertThreshold": true + }, "percentage": false, + "pluginVersion": "7.4.1", "pointradius": 5, "points": false, "renderer": "flot", @@ -1063,6 +1432,7 @@ ], "thresholds": [], "timeFrom": null, + "timeRegions": [], "timeShift": null, "title": "Recovery Rate", "tooltip": { @@ -1095,7 +1465,11 @@ "min": null, "show": true } - ] + ], + "yaxis": { + "align": false, + "alignLevel": null + } } ], "refresh": "30s",