{ "title": "Gravl Disaster Recovery Dashboard", "description": "Monitoring backup, restore, and failover operations", "tags": ["gravl", "disaster-recovery"], "timezone": "UTC", "panels": [ { "id": 1, "title": "Time Since Last Backup", "type": "gauge", "targets": [ { "expr": "time() - backup_last_success_timestamp{type=\"daily\"}" } ] }, { "id": 2, "title": "Latest Backup Size", "type": "stat", "targets": [ { "expr": "backup_size_bytes{type=\"daily\"}" } ] }, { "id": 3, "title": "WAL Archive Lag", "type": "gauge", "targets": [ { "expr": "wal_archive_lag_seconds" } ] }, { "id": 4, "title": "Replication Lag", "type": "gauge", "targets": [ { "expr": "pg_replication_slot_restart_lsn_bytes - pg_wal_insert_lsn_bytes" } ] } ] }