From 908fe6a623c56174de82bd6db84f4c7453862346 Mon Sep 17 00:00:00 2001 From: Roman Khavronenko Date: Sun, 25 Sep 2022 21:49:18 +0200 Subject: [PATCH] dashboards: replace `Index size` panel with `Active series` (#3157) Panel `Index size` showed itself impractical for users. So replacing it with `Active series` panel. https://github.com/VictoriaMetrics/VictoriaMetrics/issues/776#issuecomment-1255823734 Signed-off-by: hagen1778 --- dashboards/victoriametrics-cluster.json | 41 +++++++++++++++---------- dashboards/victoriametrics.json | 8 ++--- 2 files changed, 29 insertions(+), 20 deletions(-) diff --git a/dashboards/victoriametrics-cluster.json b/dashboards/victoriametrics-cluster.json index a27c591a2..70e047bed 100644 --- a/dashboards/victoriametrics-cluster.json +++ b/dashboards/victoriametrics-cluster.json @@ -60,7 +60,7 @@ "fiscalYearStartMonth": 0, "graphTooltip": 1, "id": null, - "iteration": 1663336027743, + "iteration": 1663928613745, "links": [ { "icon": "doc", @@ -118,7 +118,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null } ] }, @@ -185,7 +186,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null } ] }, @@ -253,7 +255,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null } ] }, @@ -320,7 +323,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null } ] }, @@ -376,7 +380,7 @@ "datasource": { "uid": "$ds" }, - "description": "How many entries inverted index contains. This value is proportional to the number of unique timeseries in storage(cardinality).", + "description": "Shows the number of active time series with new data points inserted during the last hour. High value may result in ingestion slowdown. \n\nSee more details here https://docs.victoriametrics.com/FAQ.html#what-is-an-active-time-series", "fieldConfig": { "defaults": { "color": { @@ -387,7 +391,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null } ] }, @@ -427,7 +432,7 @@ "uid": "$ds" }, "exemplar": true, - "expr": "sum(vm_rows{job=~\"$job_storage\", type=\"indexdb\"})", + "expr": "sum(vm_cache_entries{job=~\"$job\", instance=~\"$instance.*\", type=\"storage/hour_metric_ids\"})", "format": "time_series", "instant": true, "interval": "", @@ -436,7 +441,7 @@ "refId": "A" } ], - "title": "Index size", + "title": "Active series", "type": "stat" }, { @@ -455,7 +460,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null } ] }, @@ -522,7 +528,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null } ] }, @@ -590,7 +597,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null } ] }, @@ -663,7 +671,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null }, { "color": "red", @@ -8067,8 +8076,8 @@ { "current": { "selected": false, - "text": "VictoriaMetrics", - "value": "VictoriaMetrics" + "text": "VictoriaMetrics - cluster", + "value": "VictoriaMetrics - cluster" }, "hide": 0, "includeAll": false, @@ -8235,4 +8244,4 @@ "uid": "oS7Bi_0Wz", "version": 1, "weekStart": "" -} +} \ No newline at end of file diff --git a/dashboards/victoriametrics.json b/dashboards/victoriametrics.json index b64221206..8d4d8de9e 100644 --- a/dashboards/victoriametrics.json +++ b/dashboards/victoriametrics.json @@ -61,7 +61,7 @@ "gnetId": 10229, "graphTooltip": 0, "id": null, - "iteration": 1663338736864, + "iteration": 1663928777219, "links": [ { "icon": "doc", @@ -484,7 +484,7 @@ "datasource": { "uid": "$ds" }, - "description": "How many entries inverted index contains. This value is proportional to the number of unique timeseries in storage(cardinality).", + "description": "Shows the number of active time series with new data points inserted during the last hour. High value may result in ingestion slowdown. \n\nSee more details here https://docs.victoriametrics.com/FAQ.html#what-is-an-active-time-series", "fieldConfig": { "defaults": { "color": { @@ -535,7 +535,7 @@ "uid": "$ds" }, "exemplar": true, - "expr": "sum(vm_rows{job=~\"$job\", instance=~\"$instance\", type=\"indexdb\"})", + "expr": "vm_cache_entries{job=~\"$job\", instance=~\"$instance\", type=\"storage/hour_metric_ids\"}", "format": "time_series", "instant": true, "interval": "", @@ -544,7 +544,7 @@ "refId": "A" } ], - "title": "Index size", + "title": "Active series", "type": "stat" }, {