diff --git a/files/dashboard-summary.json b/files/dashboard-summary.json index 8d5cef4..d7e19f7 100644 --- a/files/dashboard-summary.json +++ b/files/dashboard-summary.json @@ -18,7 +18,7 @@ "editable": true, "fiscalYearStartMonth": 0, "graphTooltip": 0, - "id": 66, + "id": 68, "links": [], "liveNow": false, "panels": [ @@ -630,13 +630,107 @@ "transparent": true, "type": "stat" }, + { + "datasource": { + "type": "prometheus", + "uid": "${PROMETHEUS}" + }, + "description": "How much is used and Size", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [ + { + "options": { + "Size": { + "color": "green", + "index": 0 + } + }, + "type": "value" + } + ], + "min": 0, + "thresholds": { + "mode": "percentage", + "steps": [ + { + "color": "#007d35", + "value": null + } + ] + }, + "unit": "bytes" + }, + "overrides": [] + }, + "gridPos": { + "h": 4, + "w": 5, + "x": 3, + "y": 8 + }, + "id": 19, + "options": { + "colorMode": "background", + "graphMode": "area", + "justifyMode": "center", + "orientation": "vertical", + "reduceOptions": { + "calcs": [ + "last" + ], + "fields": "", + "values": false + }, + "textMode": "auto" + }, + "pluginVersion": "10.1.2", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${PROMETHEUS}" + }, + "editorMode": "code", + "exemplar": false, + "expr": "sum(ceph_osd_stat_bytes_used)", + "format": "time_series", + "hide": false, + "instant": true, + "legendFormat": "Used", + "range": false, + "refId": "A" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${PROMETHEUS}" + }, + "editorMode": "code", + "exemplar": false, + "expr": "sum(ceph_osd_stat_bytes)", + "format": "time_series", + "hide": false, + "instant": true, + "legendFormat": "Size", + "range": false, + "refId": "B" + } + ], + "title": "Storage", + "transformations": [], + "type": "stat" + }, { "collapsed": false, "gridPos": { "h": 1, "w": 24, "x": 0, - "y": 11 + "y": 12 }, "id": 2, "panels": [], @@ -672,7 +766,7 @@ "h": 3, "w": 4, "x": 0, - "y": 12 + "y": 13 }, "id": 12, "options": { @@ -743,7 +837,7 @@ "h": 3, "w": 4, "x": 4, - "y": 12 + "y": 13 }, "id": 17, "options": { @@ -814,7 +908,7 @@ "h": 3, "w": 4, "x": 8, - "y": 12 + "y": 13 }, "id": 16, "options": { @@ -884,7 +978,7 @@ "h": 3, "w": 4, "x": 12, - "y": 12 + "y": 13 }, "id": 13, "options": { @@ -955,7 +1049,7 @@ "h": 3, "w": 4, "x": 16, - "y": 12 + "y": 13 }, "id": 18, "options": { @@ -1027,7 +1121,7 @@ "h": 3, "w": 4, "x": 20, - "y": 12 + "y": 13 }, "id": 15, "options": { @@ -1131,7 +1225,7 @@ "h": 9, "w": 12, "x": 0, - "y": 15 + "y": 16 }, "id": 1, "options": { @@ -1225,7 +1319,7 @@ "h": 9, "w": 12, "x": 12, - "y": 15 + "y": 16 }, "id": 14, "options": { @@ -1257,7 +1351,7 @@ "type": "timeseries" } ], - "refresh": "5s", + "refresh": "10s", "schemaVersion": 38, "style": "dark", "tags": [ @@ -1269,9 +1363,9 @@ "list": [ { "current": { - "selected": true, - "text": "prometheus", - "value": "77e897ec-8a32-4b71-9439-8f12ec42e920" + "selected": false, + "text": "thanos", + "value": "603ac67d-7d32-4fba-8ec3-35106f3c4cc9" }, "hide": 0, "includeAll": false, @@ -1296,6 +1390,6 @@ "timezone": "", "title": "Cluster Overview", "uid": "no-fuss-computing-k8s-overview", - "version": 4, + "version": 5, "weekStart": "" } \ No newline at end of file