dashboards: remove index filter from stats panel for DiskUsage

The diskUsage stats panel was showing disk usage without including
size of the index, which is not correct. The filter was removed
to reflect the total disk usage.

https://github.com/VictoriaMetrics/VictoriaMetrics/issues/2368

Signed-off-by: hagen1778 <roman@victoriametrics.com>
This commit is contained in:
hagen1778 2022-04-22 16:24:48 +02:00 committed by Nikolay
parent 374212333f
commit 80e8413f3a

View File

@ -57,7 +57,7 @@
"fiscalYearStartMonth": 0, "fiscalYearStartMonth": 0,
"graphTooltip": 0, "graphTooltip": 0,
"id": null, "id": null,
"iteration": 1644936794057, "iteration": 1650637429337,
"links": [ "links": [
{ {
"icon": "doc", "icon": "doc",
@ -111,7 +111,8 @@
"mode": "absolute", "mode": "absolute",
"steps": [ "steps": [
{ {
"color": "green" "color": "green",
"value": null
} }
] ]
}, },
@ -143,7 +144,7 @@
"text": {}, "text": {},
"textMode": "auto" "textMode": "auto"
}, },
"pluginVersion": "8.3.2", "pluginVersion": "8.3.5",
"targets": [ "targets": [
{ {
"exemplar": true, "exemplar": true,
@ -174,7 +175,8 @@
"mode": "absolute", "mode": "absolute",
"steps": [ "steps": [
{ {
"color": "green" "color": "green",
"value": null
} }
] ]
}, },
@ -206,7 +208,7 @@
"text": {}, "text": {},
"textMode": "auto" "textMode": "auto"
}, },
"pluginVersion": "8.3.2", "pluginVersion": "8.3.5",
"targets": [ "targets": [
{ {
"exemplar": true, "exemplar": true,
@ -238,7 +240,8 @@
"mode": "absolute", "mode": "absolute",
"steps": [ "steps": [
{ {
"color": "green" "color": "green",
"value": null
} }
] ]
}, },
@ -270,7 +273,7 @@
"text": {}, "text": {},
"textMode": "auto" "textMode": "auto"
}, },
"pluginVersion": "8.3.2", "pluginVersion": "8.3.5",
"targets": [ "targets": [
{ {
"exemplar": true, "exemplar": true,
@ -301,7 +304,8 @@
"mode": "absolute", "mode": "absolute",
"steps": [ "steps": [
{ {
"color": "green" "color": "green",
"value": null
} }
] ]
}, },
@ -333,7 +337,7 @@
"text": {}, "text": {},
"textMode": "auto" "textMode": "auto"
}, },
"pluginVersion": "8.3.2", "pluginVersion": "8.3.5",
"targets": [ "targets": [
{ {
"exemplar": true, "exemplar": true,
@ -364,7 +368,8 @@
"mode": "absolute", "mode": "absolute",
"steps": [ "steps": [
{ {
"color": "green" "color": "green",
"value": null
} }
] ]
}, },
@ -396,7 +401,7 @@
"text": {}, "text": {},
"textMode": "auto" "textMode": "auto"
}, },
"pluginVersion": "8.3.2", "pluginVersion": "8.3.5",
"targets": [ "targets": [
{ {
"exemplar": true, "exemplar": true,
@ -414,6 +419,7 @@
}, },
{ {
"datasource": { "datasource": {
"type": "prometheus",
"uid": "$ds" "uid": "$ds"
}, },
"description": "Total amount of used disk space", "description": "Total amount of used disk space",
@ -427,7 +433,8 @@
"mode": "absolute", "mode": "absolute",
"steps": [ "steps": [
{ {
"color": "green" "color": "green",
"value": null
} }
] ]
}, },
@ -459,11 +466,15 @@
"text": {}, "text": {},
"textMode": "auto" "textMode": "auto"
}, },
"pluginVersion": "8.3.2", "pluginVersion": "8.3.5",
"targets": [ "targets": [
{ {
"exemplar": true, "datasource": {
"expr": "sum(vm_data_size_bytes{job=~\"$job_storage\", type!=\"indexdb\"})", "type": "prometheus",
"uid": "$ds"
},
"exemplar": false,
"expr": "sum(vm_data_size_bytes{job=~\"$job_storage\"})",
"format": "time_series", "format": "time_series",
"instant": true, "instant": true,
"interval": "", "interval": "",
@ -490,7 +501,8 @@
"mode": "absolute", "mode": "absolute",
"steps": [ "steps": [
{ {
"color": "green" "color": "green",
"value": null
} }
] ]
}, },
@ -522,7 +534,7 @@
"text": {}, "text": {},
"textMode": "auto" "textMode": "auto"
}, },
"pluginVersion": "8.3.2", "pluginVersion": "8.3.5",
"targets": [ "targets": [
{ {
"exemplar": true, "exemplar": true,
@ -553,7 +565,8 @@
"mode": "absolute", "mode": "absolute",
"steps": [ "steps": [
{ {
"color": "green" "color": "green",
"value": null
} }
] ]
}, },
@ -585,7 +598,7 @@
"text": {}, "text": {},
"textMode": "auto" "textMode": "auto"
}, },
"pluginVersion": "8.3.2", "pluginVersion": "8.3.5",
"targets": [ "targets": [
{ {
"exemplar": true, "exemplar": true,
@ -622,7 +635,8 @@
"mode": "absolute", "mode": "absolute",
"steps": [ "steps": [
{ {
"color": "green" "color": "green",
"value": null
}, },
{ {
"color": "red", "color": "red",
@ -660,7 +674,8 @@
"mode": "absolute", "mode": "absolute",
"steps": [ "steps": [
{ {
"color": "rgba(245, 54, 54, 0.9)" "color": "rgba(245, 54, 54, 0.9)",
"value": null
}, },
{ {
"color": "rgba(237, 129, 40, 0.89)", "color": "rgba(237, 129, 40, 0.89)",
@ -694,7 +709,7 @@
}, },
"showHeader": true "showHeader": true
}, },
"pluginVersion": "8.3.2", "pluginVersion": "8.3.5",
"targets": [ "targets": [
{ {
"datasource": { "datasource": {
@ -794,7 +809,7 @@
"alertThreshold": true "alertThreshold": true
}, },
"percentage": false, "percentage": false,
"pluginVersion": "8.3.2", "pluginVersion": "8.3.5",
"pointradius": 2, "pointradius": 2,
"points": false, "points": false,
"renderer": "flot", "renderer": "flot",