Last active
September 11, 2019 11:38
-
-
Save HaveFun83/57b41e85fde4249daab74a9850885f6a to your computer and use it in GitHub Desktop.
Revisions
-
HaveFun83 revised this gist
Sep 11, 2019 . 1 changed file with 21 additions and 56 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,46 +1,4 @@ { "annotations": { "list": [ { @@ -57,8 +15,8 @@ "editable": true, "gnetId": null, "graphTooltip": 1, "id": 19, "iteration": 1568199020225, "links": [], "panels": [ { @@ -266,7 +224,7 @@ "bars": false, "dashLength": 10, "dashes": false, "datasource": "Prometheus", "decimals": 0, "fill": 1, "fillGradient": 0, @@ -801,7 +759,7 @@ }, { "expr": "sum(rate(velero_restore_success_total{schedule=~\"$schedule\"}[15m])) / sum(rate(velero_restore_attempt_total{schedule=~\"$schedule\"}[15m]))", "legendFormat": "Backup success rate {{schedule}}", "refId": "B" } ], @@ -852,7 +810,7 @@ "bars": false, "dashLength": 10, "dashes": false, "datasource": "Prometheus", "decimals": 0, "fill": 1, "fillGradient": 0, @@ -867,6 +825,7 @@ "alignAsTable": true, "avg": false, "current": true, "hideZero": true, "max": false, "min": false, "rightSide": true, @@ -895,18 +854,18 @@ "refId": "A" }, { "expr": "avg_over_time(velero_restore_success_total{schedule=~\"$schedule\"}[15m])", "legendFormat": "Restore Success Total {{schedule}}", "refId": "D" }, { "expr": "avg_over_time(velero_restore_success_total{schedule!~\".*\"}[15m])", "legendFormat": "Restore Success Total", "refId": "G" }, { "expr": "avg_over_time(velero_restore_partial_failure_total{schedule=~\"$schedule\"}[15m])", "legendFormat": " Restore Partial Failure Total {{schedule}}", "refId": "C" }, { @@ -916,7 +875,7 @@ }, { "expr": "avg_over_time(velero_restore_failed_total{schedule=~\"$schedule\"}[15m])", "legendFormat": "Restore Failure Total {{schedule}}", "refId": "B" }, { @@ -926,7 +885,7 @@ }, { "expr": "avg_over_time(velero_restore_validation_failed_total{schedule=~\"$schedule\"}[15m])", "legendFormat": "Restore Validation Failed {{schedule}}", "refId": "I" }, { @@ -939,7 +898,7 @@ "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "Total Restore Count", "tooltip": { "shared": true, "sort": 0, @@ -992,8 +951,14 @@ "list": [ { "allValue": null, "current": { "tags": [], "text": "All", "value": [ "$__all" ] }, "datasource": "Prometheus", "definition": "label_values(velero_backup_attempt_total, schedule)", "hide": 0, "includeAll": true, -
HaveFun83 renamed this gist
Sep 11, 2019 . 1 changed file with 328 additions and 325 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -58,7 +58,7 @@ "gnetId": null, "graphTooltip": 1, "id": null, "iteration": 1568199020223, "links": [], "panels": [ { @@ -281,6 +281,8 @@ "alignAsTable": true, "avg": false, "current": true, "hideEmpty": false, "hideZero": true, "max": false, "min": false, "rightSide": true, @@ -304,37 +306,37 @@ "steppedLine": false, "targets": [ { "expr": "avg_over_time(velero_backup_total[$__interval]) ", "legendFormat": "Backup Total", "refId": "A" }, { "expr": "avg_over_time(velero_backup_success_total{schedule=~\"$schedule\"}[$__interval])", "legendFormat": "Backup Success Total {{schedule}}", "refId": "D" }, { "expr": "avg_over_time(velero_backup_success_total{schedule!~\".*\"}[$__interval])", "legendFormat": "Backup Success Total", "refId": "G" }, { "expr": "avg_over_time(velero_backup_partial_failure_total{schedule=~\"$schedule\"}[$__interval])", "legendFormat": "Backup Partial Failure Total {{schedule}}", "refId": "C" }, { "expr": "avg_over_time(velero_backup_partial_failure_total{schedule!~\".*\"}[$__interval])", "legendFormat": "Backup Partial Failure Total", "refId": "F" }, { "expr": "avg_over_time(velero_backup_failure_total{schedule=~\"$schedule\"}[$__interval])", "legendFormat": "Backup Failure {{schedule}}", "refId": "B" }, { "expr": "avg_over_time(velero_backup_failure_total{schedule!~\".*\"}[$__interval])", "legendFormat": "Backup Failure Total", "refId": "E" } @@ -343,7 +345,7 @@ "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "Backup Count Total", "tooltip": { "shared": true, "sort": 0, @@ -536,7 +538,7 @@ "targets": [ { "expr": "avg_over_time(velero_backup_tarball_size_bytes{schedule=~\"$schedule\"}[15m])", "legendFormat": "{{schedule}}", "refId": "A" }, { @@ -650,333 +652,334 @@ "type": "table" }, { "collapsed": true, "gridPos": { "h": 1, "w": 24, "x": 0, "y": 37 }, "id": 17, "panels": [ { "cacheTimeout": null, "colorBackground": false, "colorValue": false, "colors": [ "#d44a3a", "rgba(237, 129, 40, 0.89)", "#299c46" ], "format": "short", "gauge": { "maxValue": 100, "minValue": 0, "show": true, "thresholdLabels": false, "thresholdMarkers": false }, "gridPos": { "h": 9, "w": 5, "x": 0, "y": 38 }, "id": 5, "interval": null, "links": [], "mappingType": 1, "mappingTypes": [ { "name": "value to text", "value": 1 }, { "name": "range to text", "value": 2 } ], "maxDataPoints": 100, "nullPointMode": "connected", "nullText": null, "options": {}, "pluginVersion": "6.3.2", "postfix": "", "postfixFontSize": "50%", "prefix": "", "prefixFontSize": "50%", "rangeMaps": [ { "from": "null", "text": "N/A", "to": "null" } ], "sparkline": { "fillColor": "rgba(31, 118, 189, 0.18)", "full": false, "lineColor": "rgb(31, 120, 193)", "show": false, "ymax": null, "ymin": null }, "tableColumn": "", "targets": [ { "expr": "sum(rate(velero_restore_attempt_total[$__interval])) / sum(rate(velero_restore_success_total[$__interval]))", "instant": false, "interval": "", "legendFormat": "", "refId": "A" } ], "thresholds": "", "timeFrom": null, "timeShift": null, "title": "Active Restore", "type": "singlestat", "valueFontSize": "80%", "valueMaps": [ { "op": "=", "text": "0", "value": "null" } ], "valueName": "current" }, { "aliasColors": {}, "bars": true, "cacheTimeout": null, "dashLength": 10, "dashes": false, "decimals": 0, "fill": 10, "fillGradient": 0, "gridPos": { "h": 9, "w": 19, "x": 5, "y": 38 }, "id": 19, "legend": { "alignAsTable": false, "avg": false, "current": false, "max": true, "min": false, "rightSide": false, "show": true, "sort": "avg", "sortDesc": false, "total": false, "values": true }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "null as zero", "options": { "dataLinks": [] }, "percentage": false, "pluginVersion": "6.3.2", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "sum(rate(velero_restore_success_total{schedule!~\".*\"}[15m])) / sum(rate(velero_restore_attempt_total{schedule!~\".*\"}[15m]))", "interval": "", "legendFormat": "Backup success rate", "refId": "A" }, { "expr": "sum(rate(velero_restore_success_total{schedule=~\"$schedule\"}[15m])) / sum(rate(velero_restore_attempt_total{schedule=~\"$schedule\"}[15m]))", "legendFormat": "Scheduled Backup success rate", "refId": "B" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "Restore Success", "tooltip": { "shared": true, "sort": 0, "value_type": "individual" }, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "decimals": 0, "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": true }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": true } ], "yaxis": { "align": false, "alignLevel": null } }, { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, "datasource": "${DS_PROMETHEUS}", "decimals": 0, "fill": 1, "fillGradient": 0, "gridPos": { "h": 8, "w": 24, "x": 0, "y": 47 }, "id": 20, "legend": { "alignAsTable": true, "avg": false, "current": true, "max": false, "min": false, "rightSide": true, "show": true, "total": false, "values": true }, "lines": true, "linewidth": 1, "nullPointMode": "null", "options": { "dataLinks": [] }, "percentage": false, "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "avg_over_time(velero_restore_total[15m]) ", "legendFormat": "Restore Total", "refId": "A" }, { "expr": "avg_over_time(velero_restore_success_total{schedule=~\"$schedule\"}[15m]) / avg_over_time(velero_restore_attempt_total{schedule=~\"$schedule\"}[15m])", "legendFormat": "Scheduled Restore Success Total", "refId": "D" }, { "expr": "avg_over_time(velero_restore_success_total{schedule!~\".*\"}[15m]) / avg_over_time(velero_restore_attempt_total{schedule!~\".*\"}[15m])", "legendFormat": "Restore Success Total", "refId": "G" }, { "expr": "avg_over_time(velero_restore_partial_failure_total{schedule=~\"$schedule\"}[15m])", "legendFormat": "Scheduled Restore Partial Failure Total", "refId": "C" }, { "expr": "avg_over_time(velero_restore_partial_failure_total{schedule!~\".*\"}[15m])", "legendFormat": "Restore Partial Failure Total", "refId": "F" }, { "expr": "avg_over_time(velero_restore_failed_total{schedule=~\"$schedule\"}[15m])", "legendFormat": "Scheduled Restore Failure Total", "refId": "B" }, { "expr": "avg_over_time(velero_restore_failed_total{schedule!~\".*\"}[15m])", "legendFormat": "Restore Failure Total", "refId": "E" }, { "expr": "avg_over_time(velero_restore_validation_failed_total{schedule=~\"$schedule\"}[15m])", "legendFormat": "Scheduled Restore Validation Failed", "refId": "I" }, { "expr": "avg_over_time(velero_restore_validation_failed_total{schedule!~\".*\"}[15m])", "legendFormat": "Restore Validation Failed", "refId": "H" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "Total Restore", "tooltip": { "shared": true, "sort": 0, "value_type": "individual" }, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "decimals": null, "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": true }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": true } ], "yaxis": { "align": false, "alignLevel": null } } ], "title": "Restore", "type": "row" } ], "refresh": false, -
HaveFun83 renamed this gist
Sep 11, 2019 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
HaveFun83 revised this gist
Sep 11, 2019 . 1 changed file with 316 additions and 316 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -58,7 +58,7 @@ "gnetId": null, "graphTooltip": 1, "id": null, "iteration": 1568199020217, "links": [], "panels": [ { @@ -138,7 +138,7 @@ "tableColumn": "", "targets": [ { "expr": "count(sum(rate(velero_backup_success_total{schedule=~\"$schedule\"}[$__interval])) by (schedule) / sum(rate(velero_backup_attempt_total{schedule=~\"$schedule\"}[$__interval])) by (schedule))", "instant": false, "interval": "", "legendFormat": "", @@ -650,334 +650,333 @@ "type": "table" }, { "collapsed": false, "gridPos": { "h": 1, "w": 24, "x": 0, "y": 37 }, "id": 17, "panels": [], "title": "Restore", "type": "row" }, { "cacheTimeout": null, "colorBackground": false, "colorValue": false, "colors": [ "#d44a3a", "rgba(237, 129, 40, 0.89)", "#299c46" ], "format": "short", "gauge": { "maxValue": 100, "minValue": 0, "show": true, "thresholdLabels": false, "thresholdMarkers": false }, "gridPos": { "h": 9, "w": 5, "x": 0, "y": 38 }, "id": 5, "interval": null, "links": [], "mappingType": 1, "mappingTypes": [ { "name": "value to text", "value": 1 }, { "name": "range to text", "value": 2 } ], "maxDataPoints": 100, "nullPointMode": "connected", "nullText": null, "options": {}, "pluginVersion": "6.3.2", "postfix": "", "postfixFontSize": "50%", "prefix": "", "prefixFontSize": "50%", "rangeMaps": [ { "from": "null", "text": "N/A", "to": "null" } ], "sparkline": { "fillColor": "rgba(31, 118, 189, 0.18)", "full": false, "lineColor": "rgb(31, 120, 193)", "show": false, "ymax": null, "ymin": null }, "tableColumn": "", "targets": [ { "expr": "sum(rate(velero_restore_attempt_total[$__interval])) / sum(rate(velero_restore_success_total[$__interval]))", "instant": false, "interval": "", "legendFormat": "", "refId": "A" } ], "thresholds": "", "timeFrom": null, "timeShift": null, "title": "Active Restore", "type": "singlestat", "valueFontSize": "80%", "valueMaps": [ { "op": "=", "text": "0", "value": "null" } ], "valueName": "current" }, { "aliasColors": {}, "bars": true, "cacheTimeout": null, "dashLength": 10, "dashes": false, "decimals": 0, "fill": 10, "fillGradient": 0, "gridPos": { "h": 9, "w": 19, "x": 5, "y": 38 }, "id": 19, "legend": { "alignAsTable": false, "avg": false, "current": false, "max": true, "min": false, "rightSide": false, "show": true, "sort": "avg", "sortDesc": false, "total": false, "values": true }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "null as zero", "options": { "dataLinks": [] }, "percentage": false, "pluginVersion": "6.3.2", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "sum(rate(velero_restore_success_total{schedule!~\".*\"}[15m])) / sum(rate(velero_restore_attempt_total{schedule!~\".*\"}[15m]))", "interval": "", "legendFormat": "Backup success rate", "refId": "A" }, { "expr": "sum(rate(velero_restore_success_total{schedule=~\"$schedule\"}[15m])) / sum(rate(velero_restore_attempt_total{schedule=~\"$schedule\"}[15m]))", "legendFormat": "Scheduled Backup success rate", "refId": "B" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "Restore Success", "tooltip": { "shared": true, "sort": 0, "value_type": "individual" }, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "decimals": 0, "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": true }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": true } ], "yaxis": { "align": false, "alignLevel": null } }, { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, "datasource": "${DS_PROMETHEUS}", "decimals": 0, "fill": 1, "fillGradient": 0, "gridPos": { "h": 8, "w": 24, "x": 0, "y": 47 }, "id": 20, "legend": { "alignAsTable": true, "avg": false, "current": true, "max": false, "min": false, "rightSide": true, "show": true, "total": false, "values": true }, "lines": true, "linewidth": 1, "nullPointMode": "null", "options": { "dataLinks": [] }, "percentage": false, "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "avg_over_time(velero_restore_total[15m]) ", "legendFormat": "Restore Total", "refId": "A" }, { "expr": "avg_over_time(velero_restore_success_total{schedule=~\"$schedule\"}[15m]) / avg_over_time(velero_restore_attempt_total{schedule=~\"$schedule\"}[15m])", "legendFormat": "Scheduled Restore Success Total", "refId": "D" }, { "expr": "avg_over_time(velero_restore_success_total{schedule!~\".*\"}[15m]) / avg_over_time(velero_restore_attempt_total{schedule!~\".*\"}[15m])", "legendFormat": "Restore Success Total", "refId": "G" }, { "expr": "avg_over_time(velero_restore_partial_failure_total{schedule=~\"$schedule\"}[15m])", "legendFormat": "Scheduled Restore Partial Failure Total", "refId": "C" }, { "expr": "avg_over_time(velero_restore_partial_failure_total{schedule!~\".*\"}[15m])", "legendFormat": "Restore Partial Failure Total", "refId": "F" }, { "expr": "avg_over_time(velero_restore_failed_total{schedule=~\"$schedule\"}[15m])", "legendFormat": "Scheduled Restore Failure Total", "refId": "B" }, { "expr": "avg_over_time(velero_restore_failed_total{schedule!~\".*\"}[15m])", "legendFormat": "Restore Failure Total", "refId": "E" }, { "expr": "avg_over_time(velero_restore_validation_failed_total{schedule=~\"$schedule\"}[15m])", "legendFormat": "Scheduled Restore Validation Failed", "refId": "I" }, { "expr": "avg_over_time(velero_restore_validation_failed_total{schedule!~\".*\"}[15m])", "legendFormat": "Restore Validation Failed", "refId": "H" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "Total Restore", "tooltip": { "shared": true, "sort": 0, "value_type": "individual" }, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "decimals": null, "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": true }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": true } ], "yaxis": { "align": false, "alignLevel": null } } ], "refresh": false, @@ -1013,7 +1012,7 @@ ] }, "time": { "from": "now-2d", "to": "now" }, "timepicker": { @@ -1033,5 +1032,6 @@ }, "timezone": "", "title": "Kubernetes / Addons / Velero Stats", "uid": "kavs", "version": 4 } -
HaveFun83 created this gist
Sep 10, 2019 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,1037 @@ { "__inputs": [ { "name": "DS_PROMETHEUS", "label": "Prometheus", "description": "", "type": "datasource", "pluginId": "prometheus", "pluginName": "Prometheus" } ], "__requires": [ { "type": "grafana", "id": "grafana", "name": "Grafana", "version": "6.3.5" }, { "type": "panel", "id": "graph", "name": "Graph", "version": "" }, { "type": "datasource", "id": "prometheus", "name": "Prometheus", "version": "1.0.0" }, { "type": "panel", "id": "singlestat", "name": "Singlestat", "version": "" }, { "type": "panel", "id": "table", "name": "Table", "version": "" } ], "annotations": { "list": [ { "builtIn": 1, "datasource": "-- Grafana --", "enable": true, "hide": true, "iconColor": "rgba(0, 211, 255, 1)", "name": "Annotations & Alerts", "type": "dashboard" } ] }, "editable": true, "gnetId": null, "graphTooltip": 1, "id": null, "iteration": 1568113653232, "links": [], "panels": [ { "collapsed": false, "gridPos": { "h": 1, "w": 24, "x": 0, "y": 0 }, "id": 15, "panels": [], "title": "Backup", "type": "row" }, { "cacheTimeout": null, "colorBackground": false, "colorValue": false, "colors": [ "#d44a3a", "rgba(237, 129, 40, 0.89)", "#299c46" ], "format": "short", "gauge": { "maxValue": 100, "minValue": 0, "show": true, "thresholdLabels": false, "thresholdMarkers": false }, "gridPos": { "h": 9, "w": 5, "x": 0, "y": 1 }, "id": 4, "interval": null, "links": [], "mappingType": 1, "mappingTypes": [ { "name": "value to text", "value": 1 }, { "name": "range to text", "value": 2 } ], "maxDataPoints": 100, "nullPointMode": "connected", "nullText": null, "options": {}, "pluginVersion": "6.3.2", "postfix": "", "postfixFontSize": "50%", "prefix": "", "prefixFontSize": "50%", "rangeMaps": [ { "from": "null", "text": "N/A", "to": "null" } ], "sparkline": { "fillColor": "rgba(31, 118, 189, 0.18)", "full": false, "lineColor": "rgb(31, 120, 193)", "show": false, "ymax": null, "ymin": null }, "tableColumn": "", "targets": [ { "expr": "sum(rate(velero_backup_attempt_total[15m])) / sum(rate(velero_backup_success_total[15m]))", "instant": false, "interval": "", "legendFormat": "", "refId": "A" } ], "thresholds": "", "timeFrom": null, "timeShift": null, "title": "Active Backup", "type": "singlestat", "valueFontSize": "80%", "valueMaps": [ { "op": "=", "text": "0", "value": "null" } ], "valueName": "current" }, { "aliasColors": {}, "bars": true, "cacheTimeout": null, "dashLength": 10, "dashes": false, "decimals": 0, "fill": 10, "fillGradient": 0, "gridPos": { "h": 9, "w": 19, "x": 5, "y": 1 }, "id": 8, "legend": { "alignAsTable": false, "avg": false, "current": false, "max": true, "min": false, "rightSide": false, "show": true, "sort": "avg", "sortDesc": false, "total": false, "values": true }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "null as zero", "options": { "dataLinks": [] }, "percentage": false, "pluginVersion": "6.3.2", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "sum(rate(velero_backup_success_total{schedule!~\".*\"}[15m])) / sum(rate(velero_backup_attempt_total{schedule!~\".*\"}[15m]))", "interval": "", "legendFormat": "Backup success rate", "refId": "A" }, { "expr": "sum(rate(velero_backup_success_total{schedule=~\"$schedule\"}[15m])) / sum(rate(velero_backup_attempt_total{schedule=~\"$schedule\"}[15m]))", "hide": false, "legendFormat": "Scheduled Backup success rate", "refId": "B" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "Backup Success", "tooltip": { "shared": true, "sort": 0, "value_type": "individual" }, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "decimals": 0, "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": true }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": true } ], "yaxis": { "align": false, "alignLevel": null } }, { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, "datasource": "${DS_PROMETHEUS}", "decimals": 0, "fill": 1, "fillGradient": 0, "gridPos": { "h": 7, "w": 24, "x": 0, "y": 10 }, "id": 2, "legend": { "alignAsTable": true, "avg": false, "current": true, "max": false, "min": false, "rightSide": true, "show": true, "total": false, "values": true }, "lines": true, "linewidth": 1, "nullPointMode": "null", "options": { "dataLinks": [] }, "percentage": false, "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "avg_over_time(velero_backup_total[15m]) ", "legendFormat": "Backup Total", "refId": "A" }, { "expr": "avg_over_time(velero_backup_success_total{schedule=~\"$schedule\"}[15m]) / avg_over_time(velero_backup_attempt_total{schedule=~\"$schedule\"}[15m])", "legendFormat": "Scheduled Backup Success Total", "refId": "D" }, { "expr": "avg_over_time(velero_backup_success_total{schedule!~\".*\"}[15m]) / avg_over_time(velero_backup_attempt_total{schedule!~\".*\"}[15m])", "legendFormat": "Backup Success Total", "refId": "G" }, { "expr": "avg_over_time(velero_backup_partial_failure_total{schedule=~\"$schedule\"}[15m])", "legendFormat": "Scheduled Backup Partial Failure Total", "refId": "C" }, { "expr": "avg_over_time(velero_backup_partial_failure_total{schedule!~\".*\"}[15m])", "legendFormat": "Backup Partial Failure Total", "refId": "F" }, { "expr": "avg_over_time(velero_backup_failure_total{schedule=~\"$schedule\"}[15m])", "legendFormat": "Scheduled Backup Failure Total", "refId": "B" }, { "expr": "avg_over_time(velero_backup_failure_total{schedule!~\".*\"}[15m])", "legendFormat": "Backup Failure Total", "refId": "E" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "Backup Count", "tooltip": { "shared": true, "sort": 0, "value_type": "individual" }, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "decimals": null, "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": true }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": true } ], "yaxis": { "align": false, "alignLevel": null } }, { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, "fill": 1, "fillGradient": 0, "gridPos": { "h": 6, "w": 24, "x": 0, "y": 17 }, "id": 11, "legend": { "alignAsTable": true, "avg": false, "current": false, "max": true, "min": false, "rightSide": true, "show": true, "total": false, "values": true }, "lines": true, "linewidth": 1, "nullPointMode": "null as zero", "options": { "dataLinks": [] }, "percentage": false, "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "histogram_quantile(0.99, sum(rate(velero_backup_duration_seconds_bucket{schedule=~\"$schedule\"}[15m])) by (le))", "legendFormat": "Scheduled: 0.99", "refId": "A" }, { "expr": "histogram_quantile(0.99, sum(rate(velero_backup_duration_seconds_bucket{schedule!~\".*\"}[15m])) by (le))", "legendFormat": "Non Scheduled: 0.99", "refId": "F" }, { "expr": "histogram_quantile(0.95, sum(rate(velero_backup_duration_seconds_bucket{schedule=~\"$schedule\"}[15m])) by (le))", "legendFormat": "Scheduled: 0.95", "refId": "B" }, { "expr": "histogram_quantile(0.95, sum(rate(velero_backup_duration_seconds_bucket{schedule!~\".*\"}[15m])) by (le))", "legendFormat": "Non Scheduled: 0.95", "refId": "E" }, { "expr": "histogram_quantile(0.50, sum(rate(velero_backup_duration_seconds_bucket{schedule=~\"$schedule\"}[15m])) by (le))", "legendFormat": "Scheduled: 0.50", "refId": "C" }, { "expr": "histogram_quantile(0.50, sum(rate(velero_backup_duration_seconds_bucket{schedule!~\".*\"}[15m])) by (le))", "legendFormat": "Non Scheduled: 0.50", "refId": "D" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "Backup Time", "tooltip": { "shared": true, "sort": 0, "value_type": "individual" }, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "decimals": 0, "format": "s", "label": "", "logBase": 1, "max": null, "min": null, "show": true }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": true } ], "yaxis": { "align": false, "alignLevel": null } }, { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, "fill": 1, "fillGradient": 0, "gridPos": { "h": 6, "w": 24, "x": 0, "y": 23 }, "id": 18, "legend": { "alignAsTable": true, "avg": false, "current": false, "max": true, "min": false, "rightSide": true, "show": true, "total": false, "values": true }, "lines": true, "linewidth": 1, "nullPointMode": "null as zero", "options": { "dataLinks": [] }, "percentage": false, "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "avg_over_time(velero_backup_tarball_size_bytes{schedule=~\"$schedule\"}[15m])", "legendFormat": "Scheduled", "refId": "A" }, { "expr": "avg_over_time(velero_backup_tarball_size_bytes{schedule!~\".*\"}[15m])", "hide": false, "legendFormat": "Non Scheduled", "refId": "F" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "Backup Size", "tooltip": { "shared": true, "sort": 0, "value_type": "individual" }, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "decimals": 0, "format": "decbytes", "label": "", "logBase": 1, "max": null, "min": null, "show": true }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": true } ], "yaxis": { "align": false, "alignLevel": null } }, { "columns": [ { "text": "Current", "value": "current" } ], "fontSize": "100%", "gridPos": { "h": 8, "w": 24, "x": 0, "y": 29 }, "id": 13, "options": {}, "pageSize": null, "scroll": true, "showHeader": true, "sort": { "col": 0, "desc": false }, "styles": [ { "alias": "Time", "dateFormat": "YYYY-MM-DD HH:mm:ss", "pattern": "Time", "type": "date" }, { "alias": "Hours since last backup", "colorMode": "row", "colors": [ "rgba(50, 172, 45, 0.97)", "rgba(237, 129, 40, 0.89)", "rgba(245, 54, 54, 0.9)" ], "decimals": 2, "pattern": "Current", "thresholds": [ "24", "48" ], "type": "number", "unit": "short" } ], "targets": [ { "expr": "(time() - velero_backup_last_successful_timestamp{schedule!=\"\"}) / 60 / 60", "legendFormat": "{{schedule}}", "refId": "A" } ], "timeFrom": null, "timeShift": null, "title": "Hours since last Backup", "transform": "timeseries_aggregations", "type": "table" }, { "collapsed": true, "gridPos": { "h": 1, "w": 24, "x": 0, "y": 37 }, "id": 17, "panels": [ { "cacheTimeout": null, "colorBackground": false, "colorValue": false, "colors": [ "#d44a3a", "rgba(237, 129, 40, 0.89)", "#299c46" ], "format": "short", "gauge": { "maxValue": 100, "minValue": 0, "show": true, "thresholdLabels": false, "thresholdMarkers": false }, "gridPos": { "h": 9, "w": 5, "x": 0, "y": 38 }, "id": 5, "interval": null, "links": [], "mappingType": 1, "mappingTypes": [ { "name": "value to text", "value": 1 }, { "name": "range to text", "value": 2 } ], "maxDataPoints": 100, "nullPointMode": "connected", "nullText": null, "options": {}, "pluginVersion": "6.3.2", "postfix": "", "postfixFontSize": "50%", "prefix": "", "prefixFontSize": "50%", "rangeMaps": [ { "from": "null", "text": "N/A", "to": "null" } ], "sparkline": { "fillColor": "rgba(31, 118, 189, 0.18)", "full": false, "lineColor": "rgb(31, 120, 193)", "show": false, "ymax": null, "ymin": null }, "tableColumn": "", "targets": [ { "expr": "sum(rate(velero_restore_attempt_total[15m])) / sum(rate(velero_restore_success_total[15m]))", "instant": false, "interval": "", "legendFormat": "", "refId": "A" } ], "thresholds": "", "timeFrom": null, "timeShift": null, "title": "Active Restore", "type": "singlestat", "valueFontSize": "80%", "valueMaps": [ { "op": "=", "text": "0", "value": "null" } ], "valueName": "current" }, { "aliasColors": {}, "bars": true, "cacheTimeout": null, "dashLength": 10, "dashes": false, "decimals": 0, "fill": 10, "fillGradient": 0, "gridPos": { "h": 9, "w": 19, "x": 5, "y": 38 }, "id": 19, "legend": { "alignAsTable": false, "avg": false, "current": false, "max": true, "min": false, "rightSide": false, "show": true, "sort": "avg", "sortDesc": false, "total": false, "values": true }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "null as zero", "options": { "dataLinks": [] }, "percentage": false, "pluginVersion": "6.3.2", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "sum(rate(velero_restore_success_total{schedule!~\".*\"}[15m])) / sum(rate(velero_restore_attempt_total{schedule!~\".*\"}[15m]))", "interval": "", "legendFormat": "Backup success rate", "refId": "A" }, { "expr": "sum(rate(velero_restore_success_total{schedule=~\"$schedule\"}[15m])) / sum(rate(velero_restore_attempt_total{schedule=~\"$schedule\"}[15m]))", "legendFormat": "Scheduled Backup success rate", "refId": "B" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "Restore Success", "tooltip": { "shared": true, "sort": 0, "value_type": "individual" }, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "decimals": 0, "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": true }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": true } ], "yaxis": { "align": false, "alignLevel": null } }, { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, "datasource": "${DS_PROMETHEUS}", "decimals": 0, "fill": 1, "fillGradient": 0, "gridPos": { "h": 8, "w": 24, "x": 0, "y": 47 }, "id": 20, "legend": { "alignAsTable": true, "avg": false, "current": true, "max": false, "min": false, "rightSide": true, "show": true, "total": false, "values": true }, "lines": true, "linewidth": 1, "nullPointMode": "null", "options": { "dataLinks": [] }, "percentage": false, "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "avg_over_time(velero_restore_total[15m]) ", "legendFormat": "Restore Total", "refId": "A" }, { "expr": "avg_over_time(velero_restore_success_total{schedule=~\"$schedule\"}[15m]) / avg_over_time(velero_restore_attempt_total{schedule=~\"$schedule\"}[15m])", "legendFormat": "Scheduled Restore Success Total", "refId": "D" }, { "expr": "avg_over_time(velero_restore_success_total{schedule!~\".*\"}[15m]) / avg_over_time(velero_restore_attempt_total{schedule!~\".*\"}[15m])", "legendFormat": "Restore Success Total", "refId": "G" }, { "expr": "avg_over_time(velero_restore_partial_failure_total{schedule=~\"$schedule\"}[15m])", "legendFormat": "Scheduled Restore Partial Failure Total", "refId": "C" }, { "expr": "avg_over_time(velero_restore_partial_failure_total{schedule!~\".*\"}[15m])", "legendFormat": "Restore Partial Failure Total", "refId": "F" }, { "expr": "avg_over_time(velero_restore_failed_total{schedule=~\"$schedule\"}[15m])", "legendFormat": "Scheduled Restore Failure Total", "refId": "B" }, { "expr": "avg_over_time(velero_restore_failed_total{schedule!~\".*\"}[15m])", "legendFormat": "Restore Failure Total", "refId": "E" }, { "expr": "avg_over_time(velero_restore_validation_failed_total{schedule=~\"$schedule\"}[15m])", "legendFormat": "Scheduled Restore Validation Failed", "refId": "I" }, { "expr": "avg_over_time(velero_restore_validation_failed_total{schedule!~\".*\"}[15m])", "legendFormat": "Restore Validation Failed", "refId": "H" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "Total Restore", "tooltip": { "shared": true, "sort": 0, "value_type": "individual" }, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "decimals": null, "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": true }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": true } ], "yaxis": { "align": false, "alignLevel": null } } ], "title": "Restore", "type": "row" } ], "refresh": false, "schemaVersion": 19, "style": "dark", "tags": [ "velero" ], "templating": { "list": [ { "allValue": null, "current": {}, "datasource": "${DS_PROMETHEUS}", "definition": "label_values(velero_backup_attempt_total, schedule)", "hide": 0, "includeAll": true, "label": null, "multi": true, "name": "schedule", "options": [], "query": "label_values(velero_backup_attempt_total, schedule)", "refresh": 1, "regex": "", "skipUrlSync": false, "sort": 0, "tagValuesQuery": "", "tags": [], "tagsQuery": "", "type": "query", "useTags": false } ] }, "time": { "from": "now-24h", "to": "now" }, "timepicker": { "hidden": false, "refresh_intervals": [ "5s", "10s", "30s", "1m", "5m", "15m", "30m", "1h", "2h", "1d" ] }, "timezone": "", "title": "Kubernetes / Addons / Velero Stats", "version": 4 }