provisioning-platform/prov-ecosystem/crates/observability/dashboards/backup.json

143 lines
3.1 KiB
JSON
Raw Normal View History

{
"dashboard": {
"title": "Backup Operations",
"description": "Monitoring and status of backup operations",
"tags": ["backup", "operations"],
"timezone": "browser",
"refresh": "60s",
"time": {
"from": "now-24h",
"to": "now"
},
"panels": [
{
"id": 1,
"title": "Backup Success Rate",
"type": "gauge",
"description": "Percentage of successful backups",
"targets": [
{
"expr": "increase(backup_success_total[1h]) / (increase(backup_success_total[1h]) + increase(backup_failure_total[1h])) * 100",
"refId": "A"
}
],
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 0
},
"unit": "percent",
"decimals": 1
},
{
"id": 2,
"title": "Last Backup Status",
"type": "stat",
"description": "Status of most recent backup",
"targets": [
{
"expr": "backup_last_status",
"refId": "A"
}
],
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 0
},
"unit": "short",
"decimals": 0
},
{
"id": 3,
"title": "Backup Duration Trend",
"type": "graph",
"description": "Time taken for recent backups",
"targets": [
{
"expr": "backup_duration_seconds",
"refId": "A",
"legendFormat": "{{ backend }}"
}
],
"gridPos": {
"h": 8,
"w": 24,
"x": 0,
"y": 8
},
"unit": "s",
"decimals": 1
},
{
"id": 4,
"title": "Data Processed",
"type": "stat",
"description": "Total data processed in latest backup",
"targets": [
{
"expr": "backup_data_bytes / 1024 / 1024 / 1024",
"refId": "A",
"legendFormat": "GB"
}
],
"gridPos": {
"h": 4,
"w": 6,
"x": 0,
"y": 16
},
"unit": "short",
"decimals": 2
},
{
"id": 5,
"title": "Files Backed Up",
"type": "stat",
"description": "Number of files in latest backup",
"targets": [
{
"expr": "backup_files_count",
"refId": "A"
}
],
"gridPos": {
"h": 4,
"w": 6,
"x": 6,
"y": 16
},
"unit": "short",
"decimals": 0
},
{
"id": 6,
"title": "Retention Policy Status",
"type": "table",
"description": "Current state of backup retention",
"targets": [
{
"expr": "backup_retention_days",
"refId": "A"
}
],
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 16
},
"unit": "short",
"decimals": 0
}
],
"templating": {
"list": []
},
"version": 1
},
"overwrite": true
}