{ "__inputs": [ { "name": "DS_MIMIR", "label": "Mimir", "description": "", "type": "datasource", "pluginId": "prometheus", "pluginName": "Prometheus" } ], "__elements": {}, "__requires": [ { "type": "grafana", "id": "grafana", "name": "Grafana", "version": "11.5.1" }, { "type": "panel", "id": "piechart", "name": "Pie chart", "version": "" }, { "type": "datasource", "id": "prometheus", "name": "Prometheus", "version": "1.0.0" }, { "type": "panel", "id": "stat", "name": "Stat", "version": "" }, { "type": "panel", "id": "table", "name": "Table", "version": "" }, { "type": "panel", "id": "timeseries", "name": "Time series", "version": "" } ], "annotations": { "list": [ { "builtIn": 1, "datasource": { "type": "prometheus", "uid": "${DS_MIMIR}" }, "enable": true, "hide": true, "iconColor": "rgba(0, 211, 255, 1)", "name": "Annotations & Alerts", "type": "dashboard" } ] }, "description": "Show status of restic backups done with NPBackup", "editable": true, "fiscalYearStartMonth": 0, "graphTooltip": 0, "id": null, "links": [ { "asDropdown": false, "icon": "external link", "includeVars": false, "keepTime": false, "tags": [], "targetBlank": true, "title": "NPBackup", "tooltip": "Give us a star", "type": "link", "url": "https://github.com/netinvent/npbackup" } ], "panels": [ { "collapsed": false, "gridPos": { "h": 1, "w": 24, "x": 0, "y": 0 }, "id": 10, "panels": [], "title": "NPBackup Success & Failures", "type": "row" }, { "datasource": { "type": "prometheus", "uid": "${DS_MIMIR}" }, "description": "Number of failed npbackup executions", "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "mappings": [ { "options": { "match": "null", "result": { "text": "N/A" } }, "type": "special" } ], "thresholds": { "mode": "absolute", "steps": [ { "color": "#299c46", "value": null } ] }, "unit": "none" }, "overrides": [] }, "gridPos": { "h": 3, "w": 4, "x": 0, "y": 1 }, "id": 32, "maxDataPoints": 100, "options": { "colorMode": "value", "graphMode": "none", "justifyMode": "auto", "orientation": "horizontal", "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "showPercentChange": false, "text": {}, "textMode": "auto", "wideLayout": true }, "pluginVersion": "11.5.1", "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_MIMIR}" }, "editorMode": "code", "exemplar": true, "expr": "count(count_over_time((npbackup_exec_state{backup_job=~\"$backup_job\",__tenant_id__=~\"$tenant\"})[$__range:]))", "format": "time_series", "interval": "", "intervalFactor": 2, "legendFormat": "", "range": true, "refId": "A" } ], "title": "NPBackup ops", "type": "stat" }, { "datasource": { "type": "prometheus", "uid": "${DS_MIMIR}" }, "description": "Number of failed npbackup executions", "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "mappings": [ { "options": { "match": "null", "result": { "text": "N/A" } }, "type": "special" } ], "thresholds": { "mode": "absolute", "steps": [ { "color": "#299c46", "value": null }, { "color": "rgba(237, 129, 40, 0.89)", "value": 0.1 }, { "color": "#d44a3a", "value": 0.1 } ] }, "unit": "none" }, "overrides": [] }, "gridPos": { "h": 3, "w": 4, "x": 4, "y": 1 }, "id": 4, "maxDataPoints": 100, "options": { "colorMode": "background", "graphMode": "none", "justifyMode": "auto", "orientation": "horizontal", "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "showPercentChange": false, "text": {}, "textMode": "auto", "wideLayout": true }, "pluginVersion": "11.5.1", "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_MIMIR}" }, "editorMode": "code", "exemplar": true, "expr": "count(count_over_time((npbackup_exec_state{backup_job=~\"$backup_job\",__tenant_id__=~\"$tenant\"} > 0)[$__range:]))", "format": "time_series", "interval": "", "intervalFactor": 2, "legendFormat": "", "range": true, "refId": "A" } ], "title": "Failed Ops", "type": "stat" }, { "datasource": { "type": "prometheus", "uid": "${DS_MIMIR}" }, "description": "Number of successful npbackup executions", "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "mappings": [ { "options": { "match": "null", "result": { "text": "N/A" } }, "type": "special" } ], "thresholds": { "mode": "absolute", "steps": [ { "color": "#d44a3a", "value": null }, { "color": "rgba(237, 129, 40, 0.89)", "value": 0 }, { "color": "#299c46", "value": 0 } ] }, "unit": "none" }, "overrides": [] }, "gridPos": { "h": 3, "w": 4, "x": 8, "y": 1 }, "id": 5, "maxDataPoints": 100, "options": { "colorMode": "background", "graphMode": "none", "justifyMode": "auto", "orientation": "horizontal", "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "showPercentChange": false, "text": {}, "textMode": "auto", "wideLayout": true }, "pluginVersion": "11.5.1", "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_MIMIR}" }, "editorMode": "code", "expr": "count(count_over_time((npbackup_exec_state{backup_job=~\"$backup_job\",__tenant_id__=~\"$tenant\"} == 0)[$__range:]))", "format": "time_series", "intervalFactor": 2, "legendFormat": "__auto", "range": true, "refId": "A" } ], "title": "Successful Ops", "type": "stat" }, { "datasource": { "type": "prometheus", "uid": "${DS_MIMIR}" }, "description": "Number of successful backup backend executions", "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "mappings": [ { "options": { "match": "null", "result": { "text": "N/A" } }, "type": "special" } ], "thresholds": { "mode": "absolute", "steps": [ { "color": "#d44a3a", "value": null }, { "color": "rgba(237, 129, 40, 0.89)", "value": 0 }, { "color": "#299c46", "value": 0 } ] }, "unit": "none" }, "overrides": [] }, "gridPos": { "h": 3, "w": 6, "x": 12, "y": 1 }, "id": 38, "maxDataPoints": 100, "options": { "colorMode": "background", "graphMode": "none", "justifyMode": "auto", "orientation": "horizontal", "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "showPercentChange": false, "text": {}, "textMode": "auto", "wideLayout": true }, "pluginVersion": "11.5.1", "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_MIMIR}" }, "editorMode": "code", "expr": "count(count_over_time((restic_backup_failure{backup_job=~\"$backup_job\",__tenant_id__=~\"$tenant\"} == 0)[$__range:]))", "format": "time_series", "intervalFactor": 2, "legendFormat": "__auto", "range": true, "refId": "A" } ], "title": "Backend successful backup", "type": "stat" }, { "datasource": { "type": "prometheus", "uid": "${DS_MIMIR}" }, "description": "Number of failed backup backend executions", "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "mappings": [ { "options": { "match": "null", "result": { "text": "N/A" } }, "type": "special" } ], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 1 } ] }, "unit": "none" }, "overrides": [] }, "gridPos": { "h": 3, "w": 6, "x": 18, "y": 1 }, "id": 43, "maxDataPoints": 100, "options": { "colorMode": "background", "graphMode": "none", "justifyMode": "auto", "orientation": "horizontal", "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "showPercentChange": false, "text": {}, "textMode": "auto", "wideLayout": true }, "pluginVersion": "11.5.1", "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_MIMIR}" }, "editorMode": "code", "expr": "count(count_over_time((restic_backup_failure{backup_job=~\"$backup_job\",__tenant_id__=~\"$tenant\"} > 0)[$__range:]))", "format": "time_series", "intervalFactor": 2, "legendFormat": "__auto", "range": true, "refId": "A" } ], "title": "Backend failed backups", "type": "stat" }, { "datasource": { "type": "prometheus", "uid": "${DS_MIMIR}" }, "description": "Number of failed npbackup executions", "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "mappings": [ { "options": { "match": "null", "result": { "text": "N/A" } }, "type": "special" } ], "thresholds": { "mode": "absolute", "steps": [ { "color": "#299c46", "value": null } ] }, "unit": "none" }, "overrides": [] }, "gridPos": { "h": 3, "w": 3, "x": 0, "y": 4 }, "id": 33, "maxDataPoints": 100, "options": { "colorMode": "value", "graphMode": "none", "justifyMode": "auto", "orientation": "horizontal", "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "showPercentChange": false, "text": {}, "textMode": "auto", "wideLayout": true }, "pluginVersion": "11.5.1", "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_MIMIR}" }, "editorMode": "code", "exemplar": true, "expr": "count(count_over_time((npbackup_exec_state{backup_job=~\"$backup_job\",__tenant_id__=~\"$tenant\",action=\"check\"})[$__range:]))", "format": "time_series", "interval": "", "intervalFactor": 2, "legendFormat": "", "range": true, "refId": "A" } ], "title": "Check ops", "type": "stat" }, { "datasource": { "type": "prometheus", "uid": "${DS_MIMIR}" }, "description": "Number of failed npbackup executions", "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "mappings": [ { "options": { "match": "null", "result": { "text": "N/A" } }, "type": "special" } ], "thresholds": { "mode": "absolute", "steps": [ { "color": "#299c46", "value": null } ] }, "unit": "none" }, "overrides": [] }, "gridPos": { "h": 3, "w": 3, "x": 3, "y": 4 }, "id": 34, "maxDataPoints": 100, "options": { "colorMode": "value", "graphMode": "none", "justifyMode": "auto", "orientation": "horizontal", "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "showPercentChange": false, "text": {}, "textMode": "auto", "wideLayout": true }, "pluginVersion": "11.5.1", "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_MIMIR}" }, "editorMode": "code", "exemplar": true, "expr": "count(count_over_time((npbackup_exec_state{backup_job=~\"$backup_job\",__tenant_id__=~\"$tenant\",action=\"forget\"})[$__range:]))", "format": "time_series", "interval": "", "intervalFactor": 2, "legendFormat": "", "range": true, "refId": "A" } ], "title": "Forget ops", "type": "stat" }, { "datasource": { "type": "prometheus", "uid": "${DS_MIMIR}" }, "description": "Number of failed npbackup executions", "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "mappings": [ { "options": { "match": "null", "result": { "text": "N/A" } }, "type": "special" } ], "thresholds": { "mode": "absolute", "steps": [ { "color": "#299c46", "value": null } ] }, "unit": "none" }, "overrides": [] }, "gridPos": { "h": 3, "w": 3, "x": 6, "y": 4 }, "id": 35, "maxDataPoints": 100, "options": { "colorMode": "value", "graphMode": "none", "justifyMode": "auto", "orientation": "horizontal", "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "showPercentChange": false, "text": {}, "textMode": "auto", "wideLayout": true }, "pluginVersion": "11.5.1", "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_MIMIR}" }, "editorMode": "code", "exemplar": true, "expr": "count(count_over_time((npbackup_exec_state{backup_job=~\"$backup_job\",__tenant_id__=~\"$tenant\",action=\"prune\"})[$__range:]))", "format": "time_series", "interval": "", "intervalFactor": 2, "legendFormat": "", "range": true, "refId": "A" } ], "title": "Prune ops", "type": "stat" }, { "datasource": { "type": "prometheus", "uid": "${DS_MIMIR}" }, "description": "Number of failed npbackup executions", "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "mappings": [ { "options": { "match": "null", "result": { "text": "N/A" } }, "type": "special" } ], "thresholds": { "mode": "absolute", "steps": [ { "color": "#299c46", "value": null } ] }, "unit": "none" }, "overrides": [] }, "gridPos": { "h": 3, "w": 3, "x": 9, "y": 4 }, "id": 40, "maxDataPoints": 100, "options": { "colorMode": "value", "graphMode": "none", "justifyMode": "auto", "orientation": "horizontal", "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "showPercentChange": false, "text": {}, "textMode": "auto", "wideLayout": true }, "pluginVersion": "11.5.1", "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_MIMIR}" }, "editorMode": "code", "exemplar": true, "expr": "count(count_over_time((npbackup_exec_state{backup_job=~\"$backup_job\",__tenant_id__=~\"$tenant\",action=\"unlock\"})[$__range:]))", "format": "time_series", "interval": "", "intervalFactor": 2, "legendFormat": "", "range": true, "refId": "A" } ], "title": "Unlock ops", "type": "stat" }, { "datasource": { "type": "prometheus", "uid": "${DS_MIMIR}" }, "description": "Number of failed npbackup executions", "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "mappings": [ { "options": { "match": "null", "result": { "text": "N/A" } }, "type": "special" } ], "thresholds": { "mode": "absolute", "steps": [ { "color": "#299c46", "value": null } ] }, "unit": "none" }, "overrides": [] }, "gridPos": { "h": 3, "w": 3, "x": 12, "y": 4 }, "id": 41, "maxDataPoints": 100, "options": { "colorMode": "value", "graphMode": "none", "justifyMode": "auto", "orientation": "horizontal", "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "showPercentChange": false, "text": {}, "textMode": "auto", "wideLayout": true }, "pluginVersion": "11.5.1", "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_MIMIR}" }, "editorMode": "code", "exemplar": true, "expr": "count(count_over_time((npbackup_exec_state{backup_job=~\"$backup_job\",__tenant_id__=~\"$tenant\",action=\"restore\"})[$__range:]))", "format": "time_series", "interval": "", "intervalFactor": 2, "legendFormat": "", "range": true, "refId": "A" } ], "title": "Restore ops", "type": "stat" }, { "datasource": { "type": "prometheus", "uid": "${DS_MIMIR}" }, "description": "Number of failed npbackup executions", "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "mappings": [ { "options": { "match": "null", "result": { "text": "N/A" } }, "type": "special" } ], "thresholds": { "mode": "absolute", "steps": [ { "color": "#299c46", "value": null } ] }, "unit": "none" }, "overrides": [] }, "gridPos": { "h": 3, "w": 3, "x": 15, "y": 4 }, "id": 42, "maxDataPoints": 100, "options": { "colorMode": "value", "graphMode": "none", "justifyMode": "auto", "orientation": "horizontal", "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "showPercentChange": false, "text": {}, "textMode": "auto", "wideLayout": true }, "pluginVersion": "11.5.1", "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_MIMIR}" }, "editorMode": "code", "exemplar": true, "expr": "count(count_over_time((npbackup_exec_state{backup_job=~\"$backup_job\",__tenant_id__=~\"$tenant\",action=\"housekeeping\"})[$__range:]))", "format": "time_series", "interval": "", "intervalFactor": 2, "legendFormat": "", "range": true, "refId": "A" } ], "title": "Housekeeping ops", "type": "stat" }, { "datasource": { "type": "prometheus", "uid": "${DS_MIMIR}" }, "description": "Number of failed npbackup executions", "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "mappings": [ { "options": { "match": "null", "result": { "text": "N/A" } }, "type": "special" } ], "thresholds": { "mode": "absolute", "steps": [ { "color": "#299c46", "value": null } ] }, "unit": "none" }, "overrides": [] }, "gridPos": { "h": 3, "w": 3, "x": 18, "y": 4 }, "id": 46, "maxDataPoints": 100, "options": { "colorMode": "value", "graphMode": "none", "justifyMode": "auto", "orientation": "horizontal", "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "showPercentChange": false, "text": {}, "textMode": "auto", "wideLayout": true }, "pluginVersion": "11.5.1", "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_MIMIR}" }, "editorMode": "code", "exemplar": true, "expr": "count(count_over_time((npbackup_exec_state{backup_job=~\"$backup_job\",__tenant_id__=~\"$tenant\",action=\"upgrade\"})[$__range:]))", "format": "time_series", "interval": "", "intervalFactor": 2, "legendFormat": "", "range": true, "refId": "A" } ], "title": "Upgrade ops", "type": "stat" }, { "datasource": { "type": "prometheus", "uid": "${DS_MIMIR}" }, "description": "Number of failed npbackup executions", "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "mappings": [ { "options": { "match": "null", "result": { "text": "N/A" } }, "type": "special" } ], "thresholds": { "mode": "absolute", "steps": [ { "color": "#299c46", "value": null } ] }, "unit": "none" }, "overrides": [] }, "gridPos": { "h": 3, "w": 3, "x": 21, "y": 4 }, "id": 47, "maxDataPoints": 100, "options": { "colorMode": "value", "graphMode": "none", "justifyMode": "auto", "orientation": "horizontal", "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "showPercentChange": false, "text": {}, "textMode": "auto", "wideLayout": true }, "pluginVersion": "11.5.1", "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_MIMIR}" }, "editorMode": "code", "exemplar": true, "expr": "count(count_over_time((npbackup_exec_state{backup_job=~\"$backup_job\",__tenant_id__=~\"$tenant\",action=\"stats\"})[$__range:]))", "format": "time_series", "interval": "", "intervalFactor": 2, "legendFormat": "", "range": true, "refId": "A" } ], "title": "Stats ops", "type": "stat" }, { "datasource": { "type": "prometheus", "uid": "${DS_MIMIR}" }, "description": "Number of failed npbackup executions", "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "hideFrom": { "legend": false, "tooltip": false, "viz": false } }, "fieldMinMax": false, "mappings": [] }, "overrides": [] }, "gridPos": { "h": 5, "w": 12, "x": 0, "y": 7 }, "id": 37, "maxDataPoints": 100, "options": { "displayLabels": [ "percent" ], "legend": { "calcs": [], "displayMode": "list", "placement": "right", "showLegend": true, "values": [] }, "pieType": "donut", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "tooltip": { "hideZeros": false, "mode": "single", "sort": "none" } }, "pluginVersion": "11.5.1", "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_MIMIR}" }, "editorMode": "code", "exemplar": false, "expr": "count by (action) (count_over_time(npbackup_exec_state{backup_job=~\"$backup_job\",__tenant_id__=~\"$tenant\"}[$__range:]))", "format": "time_series", "instant": false, "interval": "", "intervalFactor": 1, "legendFormat": "{{action}}", "range": true, "refId": "A" } ], "title": "Action repartition", "type": "piechart" }, { "datasource": { "type": "prometheus", "uid": "${DS_MIMIR}" }, "description": "", "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "mappings": [ { "options": { "match": "null", "result": { "index": 0, "text": "GOOD" } }, "type": "special" } ], "thresholds": { "mode": "absolute", "steps": [ { "color": "blue", "value": null }, { "color": "#EAB839", "value": 1 } ] }, "unit": "none" }, "overrides": [] }, "gridPos": { "h": 5, "w": 6, "x": 12, "y": 7 }, "id": 44, "maxDataPoints": 100, "options": { "colorMode": "background", "graphMode": "none", "justifyMode": "auto", "orientation": "horizontal", "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "showPercentChange": false, "text": {}, "textMode": "auto", "wideLayout": true }, "pluginVersion": "11.5.1", "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_MIMIR}" }, "editorMode": "code", "exemplar": true, "expr": "count(deriv(count_over_time(group by (backup_job) (npbackup_exec_state{__tenant_id__=~\"$tenant\"})[4d:])[1h:]) < 0)", "format": "time_series", "interval": "", "intervalFactor": 2, "legendFormat": "", "range": true, "refId": "A" } ], "title": "No valid backup in 4 days", "type": "stat" }, { "datasource": { "type": "prometheus", "uid": "${DS_MIMIR}" }, "description": "Number of failed npbackup executions", "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "mappings": [ { "options": { "match": "null", "result": { "index": 0, "text": "GOOD" } }, "type": "special" } ], "thresholds": { "mode": "absolute", "steps": [ { "color": "blue", "value": null }, { "color": "#EAB839", "value": 1 } ] }, "unit": "none" }, "overrides": [] }, "gridPos": { "h": 5, "w": 6, "x": 18, "y": 7 }, "id": 39, "maxDataPoints": 100, "options": { "colorMode": "background", "graphMode": "none", "justifyMode": "auto", "orientation": "horizontal", "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "showPercentChange": false, "text": {}, "textMode": "auto", "wideLayout": true }, "pluginVersion": "11.5.1", "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_MIMIR}" }, "editorMode": "code", "exemplar": true, "expr": "count(deriv(count_over_time(group by (backup_job) (restic_backup_failure{__tenant_id__=~\"$tenant\"})[30d:])[1h:]) < 0)", "format": "time_series", "interval": "", "intervalFactor": 2, "legendFormat": "", "range": true, "refId": "A" } ], "title": "Not seen in 30 days", "type": "stat" }, { "datasource": { "type": "prometheus", "uid": "${DS_MIMIR}" }, "description": "List of latest npbackup execution success", "fieldConfig": { "defaults": { "color": { "fixedColor": "dark-red", "mode": "thresholds" }, "custom": { "align": "left", "cellOptions": { "mode": "basic", "type": "color-background" }, "filterable": true, "inspect": false }, "links": [], "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "green", "value": 0 } ] }, "unit": "none" }, "overrides": [] }, "gridPos": { "h": 10, "w": 24, "x": 0, "y": 12 }, "id": 28, "options": { "cellHeight": "sm", "footer": { "countRows": false, "enablePagination": false, "fields": "", "reducer": [ "sum" ], "show": false }, "showHeader": true, "sortBy": [ { "desc": false, "displayName": "action" } ] }, "pluginVersion": "11.5.1", "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_MIMIR}" }, "editorMode": "code", "exemplar": true, "expr": "count_over_time((npbackup_exec_state{backup_job=~\"$backup_job\",__tenant_id__=~\"$tenant\",action=~\"$action\"} == 0)[$__range:])", "format": "table", "instant": true, "interval": "", "intervalFactor": 2, "legendFormat": "{{ backup_job }}", "refId": "A" } ], "title": "Successful Operations", "transformations": [ { "id": "calculateField", "options": { "alias": "Date", "binary": { "left": "timestamp", "operator": "*", "reducer": "sum", "right": "1000" }, "mode": "binary", "reduce": { "reducer": "sum" }, "replaceFields": false } }, { "id": "convertFieldType", "options": { "conversions": [ { "destinationType": "time", "targetField": "Date" } ], "fields": {} } }, { "id": "organize", "options": { "excludeByName": { "Backup Date": false, "Date": false, "Time": true, "Value": true, "__tenant_id__": false, "exported_instance": true, "exported_job": true, "instance": true, "job": true, "timestamp": true }, "includeByName": {}, "indexByName": { "Date": 0, "Time": 1, "Value": 7, "__tenant_id__": 2, "action": 8, "backup_job": 3, "backup_type": 9, "group": 10, "instance": 4, "job": 5, "npversion": 11, "repo_name": 12, "timestamp": 6 }, "renameByName": {} } } ], "type": "table" }, { "datasource": { "type": "prometheus", "uid": "${DS_MIMIR}" }, "description": "List of latest npbackup execution success", "fieldConfig": { "defaults": { "color": { "fixedColor": "dark-red", "mode": "thresholds" }, "custom": { "align": "left", "cellOptions": { "mode": "basic", "type": "color-background" }, "filterable": true, "inspect": false }, "links": [], "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "dark-red" } ] }, "unit": "none" }, "overrides": [] }, "gridPos": { "h": 9, "w": 24, "x": 0, "y": 22 }, "id": 29, "options": { "cellHeight": "sm", "footer": { "countRows": false, "enablePagination": false, "fields": "", "reducer": [ "sum" ], "show": false }, "showHeader": true, "sortBy": [ { "desc": true, "displayName": "Backup Date" } ] }, "pluginVersion": "11.5.1", "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_MIMIR}" }, "editorMode": "code", "exemplar": true, "expr": "count_over_time((npbackup_exec_state{backup_job=~\"$backup_job\",__tenant_id__=~\"$tenant\"} > 0)[$__range:])", "format": "table", "instant": true, "interval": "", "intervalFactor": 2, "legendFormat": "{{ backup_job }}", "refId": "A" } ], "title": "Failed Operations", "transformations": [ { "id": "calculateField", "options": { "alias": "Date", "binary": { "left": "timestamp", "operator": "*", "reducer": "sum", "right": "1000" }, "mode": "binary", "reduce": { "reducer": "sum" }, "replaceFields": false } }, { "id": "convertFieldType", "options": { "conversions": [ { "destinationType": "time", "targetField": "Date" } ], "fields": {} } }, { "id": "organize", "options": { "excludeByName": { "Backup Date": false, "Time": true, "Value": true, "__tenant_id__": false, "exported_instance": true, "exported_job": true, "instance": true, "job": true, "timestamp": true }, "includeByName": {}, "indexByName": { "Date": 0, "Time": 1, "Value": 7, "__tenant_id__": 2, "action": 8, "backup_job": 3, "backup_type": 9, "group": 10, "instance": 4, "job": 5, "npversion": 11, "repo_name": 12, "timestamp": 6 }, "renameByName": {} } } ], "type": "table" }, { "collapsed": false, "gridPos": { "h": 1, "w": 24, "x": 0, "y": 31 }, "id": 19, "panels": [], "repeat": "config", "title": "Backup operations", "type": "row" }, { "datasource": { "type": "prometheus", "uid": "${DS_MIMIR}" }, "description": "", "fieldConfig": { "defaults": { "color": { "fixedColor": "dark-red", "mode": "thresholds" }, "custom": { "align": "left", "cellOptions": { "mode": "basic", "type": "color-background" }, "filterable": true, "inspect": false }, "links": [], "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "dark-red" } ] }, "unit": "none" }, "overrides": [] }, "gridPos": { "h": 7, "w": 24, "x": 0, "y": 32 }, "id": 30, "options": { "cellHeight": "sm", "footer": { "countRows": false, "enablePagination": false, "fields": "", "reducer": [ "sum" ], "show": false }, "showHeader": true, "sortBy": [ { "desc": true, "displayName": "Backup Date" } ] }, "pluginVersion": "11.4.0", "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_MIMIR}" }, "editorMode": "code", "exemplar": true, "expr": "deriv(count_over_time(group by (backup_job) (npbackup_exec_state{__tenant_id__=~\"$tenant\"})[4d:])[1h:]) < 0", "format": "table", "instant": true, "interval": "", "intervalFactor": 2, "legendFormat": "__auto", "refId": "A" } ], "title": "No Valid backup in 4 days", "transformations": [ { "id": "calculateField", "options": { "alias": "Backup Date", "binary": { "left": { "matcher": { "id": "byName", "options": "timestamp" } }, "operator": "*", "right": { "fixed": "1000" } }, "mode": "binary", "reduce": { "reducer": "sum" }, "replaceFields": false } }, { "id": "convertFieldType", "options": { "conversions": [ { "destinationType": "time", "targetField": "Backup Date" } ], "fields": {} } }, { "id": "organize", "options": { "excludeByName": { "Backup Date": false, "Time": true, "Value": true, "__tenant_id__": false, "backup_job": false, "exported_instance": true, "exported_job": true, "instance": true, "job": true, "timestamp": true }, "includeByName": {}, "indexByName": { "Backup Date": 0, "Time": 1, "Value": 9, "__tenant_id__": 2, "backup_job": 3, "exported_instance": 4, "exported_job": 5, "instance": 6, "job": 7, "timestamp": 8 }, "renameByName": {} } } ], "type": "table" }, { "datasource": { "type": "prometheus", "uid": "${DS_MIMIR}" }, "description": "", "fieldConfig": { "defaults": { "color": { "fixedColor": "dark-red", "mode": "thresholds" }, "custom": { "align": "left", "cellOptions": { "mode": "basic", "type": "color-background" }, "filterable": true, "inspect": false }, "links": [], "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "dark-red" } ] }, "unit": "none" }, "overrides": [] }, "gridPos": { "h": 7, "w": 24, "x": 0, "y": 39 }, "id": 31, "options": { "cellHeight": "sm", "footer": { "countRows": false, "enablePagination": false, "fields": "", "reducer": [ "sum" ], "show": false }, "showHeader": true, "sortBy": [ { "desc": true, "displayName": "Backup Date" } ] }, "pluginVersion": "11.4.0", "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_MIMIR}" }, "editorMode": "code", "exemplar": true, "expr": "deriv(count_over_time(group by (backup_job) (restic_backup_failure{__tenant_id__=~\"$tenant\"})[30d:])[1h:]) < 0", "format": "table", "instant": true, "interval": "", "intervalFactor": 2, "legendFormat": "__auto", "refId": "A" } ], "title": "Not seen in 30 days", "transformations": [ { "id": "calculateField", "options": { "alias": "Backup Date", "binary": { "left": "timestamp", "operator": "*", "reducer": "sum", "right": "1000" }, "mode": "binary", "reduce": { "reducer": "sum" }, "replaceFields": false } }, { "id": "convertFieldType", "options": { "conversions": [ { "destinationType": "time", "targetField": "Backup Date" } ], "fields": {} } }, { "id": "organize", "options": { "excludeByName": { "Backup Date": false, "Time": true, "Value": true, "__tenant_id__": false, "exported_instance": true, "exported_job": true, "instance": true, "job": true, "timestamp": true }, "indexByName": { "Backup Date": 0, "Time": 1, "Value": 9, "__tenant_id__": 2, "backup_job": 3, "exported_instance": 4, "exported_job": 5, "instance": 6, "job": 7, "timestamp": 8 }, "renameByName": {} } } ], "type": "table" }, { "datasource": { "type": "prometheus", "uid": "${DS_MIMIR}" }, "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 100, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": false, "stacking": { "group": "A", "mode": "normal" }, "thresholdsStyle": { "mode": "off" } }, "links": [], "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green" }, { "color": "red", "value": 80 } ] }, "unit": "s" }, "overrides": [] }, "gridPos": { "h": 8, "w": 12, "x": 0, "y": 46 }, "id": 24, "options": { "legend": { "calcs": [ "last" ], "displayMode": "table", "placement": "right", "showLegend": true, "sortBy": "Last", "sortDesc": true }, "tooltip": { "mode": "multi", "sort": "none" } }, "pluginVersion": "11.4.0", "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_MIMIR}" }, "editorMode": "code", "expr": "restic_total_duration_seconds{backup_job=~\"$backup_job\",__tenant_id__=~\"$tenant\",action=~\"$action\"}", "format": "time_series", "hide": false, "interval": "", "intervalFactor": 2, "legendFormat": "{{backup_job}} - {{backup_type}}", "range": true, "refId": "A" } ], "title": "Action Duration", "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "${DS_MIMIR}" }, "description": "", "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 100, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": false, "stacking": { "group": "A", "mode": "normal" }, "thresholdsStyle": { "mode": "off" } }, "links": [], "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green" }, { "color": "red", "value": 80 } ] }, "unit": "decbytes" }, "overrides": [] }, "gridPos": { "h": 8, "w": 12, "x": 12, "y": 46 }, "id": 22, "options": { "legend": { "calcs": [ "last" ], "displayMode": "table", "placement": "right", "showLegend": true, "sortBy": "Last", "sortDesc": true }, "tooltip": { "mode": "multi", "sort": "none" } }, "pluginVersion": "11.4.0", "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_MIMIR}" }, "editorMode": "code", "expr": "restic_snasphot_size_bytes{backup_job=~\"$backup_job\",__tenant_id__=~\"$tenant\",action=~\"$action\"}", "format": "time_series", "instant": true, "interval": "", "intervalFactor": 2, "legendFormat": "{{ backup_job }} {{backup_type}}", "range": true, "refId": "A" } ], "title": "Snapshot Size in restore mode", "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "${DS_MIMIR}" }, "description": "", "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "barWidthFactor": 0.6, "drawStyle": "bars", "fillOpacity": 100, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": false, "stacking": { "group": "A", "mode": "normal" }, "thresholdsStyle": { "mode": "off" } }, "links": [], "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green" }, { "color": "red", "value": 80 } ] }, "unit": "decbytes" }, "overrides": [] }, "gridPos": { "h": 7, "w": 12, "x": 0, "y": 54 }, "id": 26, "options": { "legend": { "calcs": [ "last" ], "displayMode": "table", "placement": "right", "showLegend": true, "sortBy": "Last", "sortDesc": true }, "tooltip": { "mode": "multi", "sort": "none" } }, "pluginVersion": "11.4.0", "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_MIMIR}" }, "editorMode": "code", "expr": "restic_data_added{backup_job=~\"$backup_job\",__tenant_id__=~\"$tenant\",action=~\"$action\"}", "format": "time_series", "interval": "", "intervalFactor": 2, "legendFormat": "{{ backup_job }} {{backup_type}}", "range": true, "refId": "A" } ], "title": "Added bytes", "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "${DS_MIMIR}" }, "description": "", "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "barWidthFactor": 0.6, "drawStyle": "bars", "fillOpacity": 100, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": false, "stacking": { "group": "A", "mode": "normal" }, "thresholdsStyle": { "mode": "off" } }, "links": [], "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green" }, { "color": "red", "value": 80 } ] }, "unit": "decbytes" }, "overrides": [] }, "gridPos": { "h": 7, "w": 12, "x": 12, "y": 54 }, "id": 45, "options": { "legend": { "calcs": [ "last" ], "displayMode": "table", "placement": "right", "showLegend": true, "sortBy": "Last", "sortDesc": true }, "tooltip": { "mode": "multi", "sort": "none" } }, "pluginVersion": "11.4.0", "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_MIMIR}" }, "editorMode": "code", "expr": "restic_data_stored{backup_job=~\"$backup_job\",__tenant_id__=~\"$tenant\",action=~\"$action\"}", "format": "time_series", "interval": "", "intervalFactor": 2, "legendFormat": "{{ backup_job }} {{backup_type}}", "range": true, "refId": "A" } ], "title": "Stored bytes", "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "${DS_MIMIR}" }, "description": "", "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": false, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "links": [], "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green" }, { "color": "red", "value": 80 } ] }, "unit": "short" }, "overrides": [] }, "gridPos": { "h": 7, "w": 12, "x": 0, "y": 61 }, "id": 23, "options": { "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "multi", "sort": "none" } }, "pluginVersion": "11.4.0", "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_MIMIR}" }, "editorMode": "code", "expr": "sum(restic_files{backup_job=~\"$backup_job\",__tenant_id__=~\"$tenant\",action=~\"$action\",state=\"changed\"}) by (backup_job)", "format": "time_series", "interval": "", "intervalFactor": 2, "legendFormat": "changed {{ backup_job }}", "range": true, "refId": "A" }, { "datasource": { "type": "prometheus", "uid": "${DS_MIMIR}" }, "editorMode": "code", "expr": "sum(restic_repo_files{backup_job=~\"$backup_job\",__tenant_id__=~\"$tenant\",action=~\"$action\",state=\"new\"}) by (backup_job)", "format": "time_series", "interval": "", "intervalFactor": 2, "legendFormat": "new - {{ backup_job }}", "range": true, "refId": "B" }, { "datasource": { "type": "prometheus", "uid": "${DS_MIMIR}" }, "editorMode": "code", "expr": "sum(restic_repo_files{backup_job=~\"$backup_job\",__tenant_id__=~\"$tenant\",action=~\"$action\",state=\"unmodified\"}) by (backup_job)", "format": "time_series", "interval": "", "intervalFactor": 2, "legendFormat": "unmodified - {{ backup_job }}", "range": true, "refId": "C" }, { "datasource": { "type": "prometheus", "uid": "${DS_MIMIR}" }, "editorMode": "code", "expr": "sum(restic_repo_files{backup_job=~\"$backup_job\",__tenant_id__=~\"$tenant\",action=~\"$action\",state=\"total\"}) by (backup_job)", "format": "time_series", "interval": "", "intervalFactor": 2, "legendFormat": "processed - {{ backup_job }}", "range": true, "refId": "D" } ], "title": "Number of files in repo", "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "${DS_MIMIR}" }, "description": "", "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": false, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "links": [], "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green" }, { "color": "red", "value": 80 } ] }, "unit": "short" }, "overrides": [] }, "gridPos": { "h": 7, "w": 12, "x": 12, "y": 61 }, "id": 27, "options": { "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "multi", "sort": "none" } }, "pluginVersion": "11.4.0", "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_MIMIR}" }, "editorMode": "code", "expr": "sum(restic_dirs{backup_job=~\"$backup_job\",__tenant_id__=~\"$tenant\",action=~\"$action\",state=\"changed\"}) by (backup_job)", "format": "time_series", "interval": "", "intervalFactor": 2, "legendFormat": "changed - {{ backup_job }}", "range": true, "refId": "A" }, { "datasource": { "type": "prometheus", "uid": "${DS_MIMIR}" }, "editorMode": "code", "expr": "sum(restic_repo_dirs{backup_job=~\"$backup_job\",__tenant_id__=~\"$tenant\",action=~\"$action\",state=\"new\"}) by (backup_job)", "format": "time_series", "interval": "", "intervalFactor": 2, "legendFormat": "new - {{ backup_job }}", "range": true, "refId": "B" }, { "datasource": { "type": "prometheus", "uid": "${DS_MIMIR}" }, "editorMode": "code", "expr": "sum(restic_repo_dirs{backup_job=~\"$backup_job\",__tenant_id__=~\"$tenant\",action=~\"$action\",state=\"unmodified\"}) by (backup_job)", "format": "time_series", "interval": "", "intervalFactor": 2, "legendFormat": "unmodified - {{ backup_job }}", "range": true, "refId": "C" } ], "title": "Number of directories", "type": "timeseries" }, { "collapsed": false, "gridPos": { "h": 1, "w": 24, "x": 0, "y": 68 }, "id": 11, "panels": [], "title": "Global Tenant stats", "type": "row" }, { "datasource": { "type": "prometheus", "uid": "${DS_MIMIR}" }, "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": false, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "links": [], "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green" }, { "color": "red", "value": 80 } ] }, "unit": "s" }, "overrides": [] }, "gridPos": { "h": 7, "w": 12, "x": 0, "y": 69 }, "id": 17, "options": { "legend": { "calcs": [ "mean", "max", "min" ], "displayMode": "table", "placement": "right", "showLegend": true }, "tooltip": { "mode": "multi", "sort": "none" } }, "pluginVersion": "11.4.0", "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_MIMIR}" }, "editorMode": "code", "expr": "restic_total_duration_seconds{__tenant_id__=~\"$tenant\"}", "format": "time_series", "interval": "", "intervalFactor": 2, "legendFormat": "{{ backup_job }}", "range": true, "refId": "A" } ], "title": "Total Duration", "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "${DS_MIMIR}" }, "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": false, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "links": [], "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green" }, { "color": "red", "value": 80 } ] }, "unit": "decbytes" }, "overrides": [] }, "gridPos": { "h": 7, "w": 12, "x": 12, "y": 69 }, "id": 25, "options": { "legend": { "calcs": [ "mean", "max", "min" ], "displayMode": "table", "placement": "right", "showLegend": true, "sortBy": "Max", "sortDesc": true }, "tooltip": { "mode": "multi", "sort": "none" } }, "pluginVersion": "11.4.0", "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_MIMIR}" }, "editorMode": "code", "expr": "restic_data_added{__tenant_id__=~\"$tenant\"}", "format": "time_series", "interval": "", "intervalFactor": 2, "legendFormat": "{{ backup_job }}", "range": true, "refId": "A" } ], "title": "Processed size", "type": "timeseries" } ], "refresh": "", "schemaVersion": 40, "tags": [ "backups", "restic" ], "templating": { "list": [ { "current": {}, "datasource": { "type": "prometheus", "uid": "${DS_MIMIR}" }, "definition": "label_values(restic_backup_failure,__tenant_id__)", "includeAll": true, "multi": true, "name": "tenant", "options": [], "query": { "qryType": 1, "query": "label_values(restic_backup_failure,__tenant_id__)", "refId": "PrometheusVariableQueryEditor-VariableQuery" }, "refresh": 1, "regex": "", "type": "query" }, { "current": {}, "datasource": { "type": "prometheus", "uid": "${DS_MIMIR}" }, "definition": "label_values(restic_backup_failure{__tenant_id__=~\"$tenant\"},backup_job)", "includeAll": true, "multi": true, "name": "backup_job", "options": [], "query": { "qryType": 1, "query": "label_values(restic_backup_failure{__tenant_id__=~\"$tenant\"},backup_job)", "refId": "PrometheusVariableQueryEditor-VariableQuery" }, "refresh": 1, "regex": "", "type": "query" }, { "current": {}, "datasource": { "type": "prometheus", "uid": "${DS_MIMIR}" }, "definition": "label_values(npbackup_exec_state,action)", "includeAll": true, "label": "action", "multi": true, "name": "action", "options": [], "query": { "qryType": 1, "query": "label_values(npbackup_exec_state,action)", "refId": "PrometheusVariableQueryEditor-VariableQuery" }, "refresh": 1, "regex": "", "type": "query" }, { "current": {}, "datasource": { "type": "prometheus", "uid": "${DS_MIMIR}" }, "definition": "label_values(npbackup_exec_state,action)", "includeAll": true, "multi": true, "name": "Filters", "options": [], "query": { "qryType": 1, "query": "label_values(npbackup_exec_state,action)", "refId": "PrometheusVariableQueryEditor-VariableQuery" }, "refresh": 1, "regex": "", "type": "query" } ] }, "time": { "from": "now-15h", "to": "now" }, "timepicker": {}, "timezone": "", "title": "NPBackup v3 20250211", "uid": "XNGJDIgRx", "version": 28, "weekStart": "" }