From 0d77a55961cf7060ad349197242222808481f099 Mon Sep 17 00:00:00 2001 From: hagen1778 Date: Mon, 29 Apr 2024 12:38:56 +0200 Subject: [PATCH] deployment: update per-tenant-statistic dashboard to be compatible with Grafana 10 Signed-off-by: hagen1778 (cherry picked from commit 9e1872403683e33914f82bf7262d60d6da47f601) --- dashboards/clusterbytenant.json | 106 +++++++++++++++++++++----------- docs/CHANGELOG.md | 2 +- 2 files changed, 70 insertions(+), 38 deletions(-) diff --git a/dashboards/clusterbytenant.json b/dashboards/clusterbytenant.json index 02650c3baf..80b8688e4f 100644 --- a/dashboards/clusterbytenant.json +++ b/dashboards/clusterbytenant.json @@ -1,4 +1,38 @@ { + "__inputs": [], + "__elements": {}, + "__requires": [ + { + "type": "grafana", + "id": "grafana", + "name": "Grafana", + "version": "10.4.0" + }, + { + "type": "panel", + "id": "piechart", + "name": "Pie chart", + "version": "" + }, + { + "type": "datasource", + "id": "prometheus", + "name": "Prometheus", + "version": "1.0.0" + }, + { + "type": "panel", + "id": "table", + "name": "Table", + "version": "" + }, + { + "type": "panel", + "id": "timeseries", + "name": "Time series", + "version": "" + } + ], "annotations": { "list": [ { @@ -26,7 +60,7 @@ "fiscalYearStartMonth": 0, "gnetId": 16399, "graphTooltip": 1, - "id": 80, + "id": null, "links": [], "liveNow": false, "panels": [ @@ -55,6 +89,7 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", @@ -158,6 +193,7 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", @@ -214,7 +250,6 @@ "y": 1 }, "id": 4, - "links": [], "options": { "legend": { "calcs": [ @@ -264,6 +299,7 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", @@ -376,6 +412,7 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", @@ -432,7 +469,6 @@ "y": 9 }, "id": 31, - "links": [], "options": { "legend": { "calcs": [ @@ -482,6 +518,7 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", @@ -538,7 +575,6 @@ "y": 17 }, "id": 10, - "links": [], "options": { "legend": { "calcs": [ @@ -587,6 +623,7 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", @@ -1114,7 +1151,9 @@ }, "custom": { "align": "auto", - "displayMode": "auto", + "cellOptions": { + "type": "auto" + }, "inspect": false }, "mappings": [], @@ -1198,7 +1237,7 @@ } ] }, - "pluginVersion": "10.1.5", + "pluginVersion": "10.4.0", "targets": [ { "datasource": { @@ -1230,7 +1269,9 @@ }, "custom": { "align": "auto", - "displayMode": "auto", + "cellOptions": { + "type": "auto" + }, "inspect": false }, "mappings": [], @@ -1314,7 +1355,7 @@ } ] }, - "pluginVersion": "10.1.5", + "pluginVersion": "10.4.0", "targets": [ { "datasource": { @@ -1346,7 +1387,9 @@ }, "custom": { "align": "auto", - "displayMode": "auto", + "cellOptions": { + "type": "auto" + }, "inspect": false }, "mappings": [], @@ -1430,7 +1473,7 @@ } ] }, - "pluginVersion": "10.1.5", + "pluginVersion": "10.4.0", "targets": [ { "datasource": { @@ -1462,7 +1505,9 @@ }, "custom": { "align": "auto", - "displayMode": "auto", + "cellOptions": { + "type": "auto" + }, "inspect": false }, "mappings": [], @@ -1546,7 +1591,7 @@ } ] }, - "pluginVersion": "10.1.5", + "pluginVersion": "10.4.0", "targets": [ { "datasource": { @@ -1578,7 +1623,9 @@ }, "custom": { "align": "auto", - "displayMode": "auto", + "cellOptions": { + "type": "auto" + }, "inspect": false }, "mappings": [], @@ -1662,7 +1709,7 @@ } ] }, - "pluginVersion": "10.1.5", + "pluginVersion": "10.4.0", "targets": [ { "datasource": { @@ -1694,7 +1741,9 @@ }, "custom": { "align": "auto", - "displayMode": "auto", + "cellOptions": { + "type": "auto" + }, "inspect": false }, "mappings": [], @@ -1778,7 +1827,7 @@ } ] }, - "pluginVersion": "10.1.5", + "pluginVersion": "10.4.0", "targets": [ { "datasource": { @@ -1800,8 +1849,7 @@ } ], "refresh": false, - "schemaVersion": 37, - "style": "dark", + "schemaVersion": 39, "tags": [ "VictoriaMetrics", "monitoring" @@ -1828,15 +1876,7 @@ }, { "allValue": ".*", - "current": { - "selected": true, - "text": [ - "All" - ], - "value": [ - "$__all" - ] - }, + "current": {}, "datasource": { "type": "prometheus", "uid": "$ds" @@ -1862,15 +1902,7 @@ }, { "allValue": ".*", - "current": { - "selected": true, - "text": [ - "All" - ], - "value": [ - "$__all" - ] - }, + "current": {}, "datasource": { "type": "prometheus", "uid": "$ds" @@ -1915,6 +1947,6 @@ "timezone": "", "title": "VictoriaMetrics Cluster Per Tenant Statistic", "uid": "IZFqd3lMz", - "version": 15, + "version": 1, "weekStart": "" } \ No newline at end of file diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index 89b4f63875..9a4c266704 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -33,7 +33,7 @@ See also [LTS releases](https://docs.victoriametrics.com/lts-releases/). * FEATURE: [dashboards/single](https://grafana.com/grafana/dashboards/10229): support selecting of multiple instances on the dashboard. See [this issue](https://github.com/VictoriaMetrics/VictoriaMetrics/issues/5869) for details. * FEATURE: [dashboards/single](https://grafana.com/grafana/dashboards/10229): properly display version in the Stats row for the custom builds of VictoriaMetrics. * FEATURE: [dashboards/single](https://grafana.com/grafana/dashboards/10229): add `Network Usage` panel to `Resource Usage` row. -* FEATURE: [dashboards/operator](https://grafana.com/grafana/dashboards/17869-victoriametrics-operator/) and [dashboards/backupmanager](https://grafana.com/grafana/dashboards/17798-victoriametrics-backupmanager/): update dashboard to be compatible with Grafana 10+ version. +* FEATURE: [dashboards/operator](https://grafana.com/grafana/dashboards/17869-victoriametrics-operator/), [dashboards/backupmanager](https://grafana.com/grafana/dashboards/17798-victoriametrics-backupmanager/) and [dashboard/tenant-statistic](https://grafana.com/grafana/dashboards/16399-victoriametrics-cluster-per-tenant-statistic/): update dashboard to be compatible with Grafana 10+ version. ## [v1.101.0](https://github.com/VictoriaMetrics/VictoriaMetrics/releases/tag/v1.101.0)