Skip to content
Snippets Groups Projects
Commit 996bbcb2 authored by Florian Sesser's avatar Florian Sesser
Browse files

Beautify Backup Set Size panel a bit more

parent 249bb02e
No related branches found
No related tags found
2 merge requests!448Adapt backup dashboad Loki queries for new software versions,!447update production
Pipeline #5781 passed
......@@ -1050,7 +1050,6 @@
"type": "loki",
"uid": "LocalLoki"
},
"editorMode": "code",
"expr": "{unit=\"borgbackup-job-daily.service\"} |= \"duration\" | pattern \"<_>\\\"duration\\\": <duration>,\"",
"legendFormat": "{{host}}",
"queryType": "range",
......@@ -1085,6 +1084,7 @@
"type": "loki",
"uid": "LocalLoki"
},
"description": "\"compressed_size\" is size of last archive, \"unique_csize\" is deduplicated size of all archives.",
"fieldConfig": {
"defaults": {
"color": {
......@@ -1144,7 +1144,7 @@
"placement": "bottom",
"showLegend": true
},
"orientation": "auto",
"orientation": "vertical",
"showValue": "auto",
"stacking": "none",
"tooltip": {
......@@ -1152,7 +1152,7 @@
"sort": "none"
},
"xField": "host",
"xTickLabelRotation": 0,
"xTickLabelRotation": -45,
"xTickLabelSpacing": 0
},
"pluginVersion": "8.4.7",
......@@ -1162,9 +1162,11 @@
"type": "loki",
"uid": "LocalLoki"
},
"editorMode": "code",
"expr": "{unit=\"borgbackup-job-daily.service\"} |= \"compressed_size\" | pattern \"<_>\\\"compressed_size\\\": <compressed_size>,\"",
"hide": false,
"legendFormat": "{{host}} archive",
"queryType": "range",
"refId": "This archive size in bytes"
},
{
......@@ -1172,9 +1174,11 @@
"type": "loki",
"uid": "LocalLoki"
},
"editorMode": "code",
"expr": "{unit=\"borgbackup-job-daily.service\"} |= \"unique_csize\" | pattern \"<_>\\\"unique_csize\\\": <unique_csize>,\"",
"hide": false,
"legendFormat": "{{host}} all archives",
"queryType": "range",
"refId": "All archives deduplicated size"
}
],
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment