From bea4a7348a1345148a0e17ac4de4be66936287df Mon Sep 17 00:00:00 2001 From: Justin Paul Date: Tue, 21 Mar 2023 17:25:15 -0400 Subject: [PATCH] Update datastoremetrics.json --- .../dashboards/datastoremetrics.json | 93 +++++++++++++++++-- 1 file changed, 86 insertions(+), 7 deletions(-) diff --git a/grafana/provisioning/dashboards/datastoremetrics.json b/grafana/provisioning/dashboards/datastoremetrics.json index 999eac5..9812e0e 100644 --- a/grafana/provisioning/dashboards/datastoremetrics.json +++ b/grafana/provisioning/dashboards/datastoremetrics.json @@ -24,7 +24,6 @@ "editable": true, "fiscalYearStartMonth": 0, "graphTooltip": 0, - "id": 4, "links": [], "liveNow": false, "panels": [ @@ -123,18 +122,98 @@ "type": "timeseries" }, { + "datasource": { + "type": "prometheus", + "uid": "PBFA97CFB590B2093" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "decbytes" + }, + "overrides": [] + }, "gridPos": { "h": 8, "w": 12, "x": 12, "y": 0 }, - "id": 4, - "libraryPanel": { - "name": "Datastore Usage", - "uid": "B0t8xg0Vk" + "id": 15, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } }, - "title": "Datastore Usage" + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "PBFA97CFB590B2093" + }, + "editorMode": "builder", + "expr": "datastore_usage_usedinbytes", + "legendFormat": "__auto", + "range": true, + "refId": "A" + } + ], + "title": "Datastore Usage", + "type": "timeseries" }, { "datasource": { @@ -658,6 +737,6 @@ "timezone": "", "title": "Datastore Metrics", "uid": "lMs3xg04z", - "version": 9, + "version": 1, "weekStart": "" } \ No newline at end of file