feat(v2): complete v2 reimplementation

This commit is contained in:
2026-07-31 13:33:39 +02:00
parent 396219e776
commit bd107d6a30
137 changed files with 20737 additions and 155 deletions
+17
View File
@@ -0,0 +1,17 @@
# Observability and alert response
The proxy exposes `/livez`, `/readyz`, and Prometheus text at `/metrics`. Metrics use
no source paths, IDs, credentials, tokens, or secret values. Runtime logs are JSON
records with an event, timestamp, role, and request correlation ID where applicable.
Alert when any of the following remains non-zero or grows:
- `backup_tool_stale_execution_leases`
- `backup_tool_failed_executions`
- `backup_tool_corrupt_backups`
- `backup_tool_unavailable_repositories`
- `backup_tool_schedule_lag_seconds`
Also alert on low `backup_tool_filesystem_free_bytes`. For any alert, preserve logs,
validate `/readyz`, stop the worker before destructive repository investigation, and
use the matching metadata, repository, key, upgrade, or disaster-recovery runbook.