Overview
Implement Prometheus metrics and Kubernetes health endpoints for observability.
Metrics to Implement
rca_incidents_detected_total — counter
rca_incidents_resolved_total — counter
rca_watcher_events_processed_total — counter (per watcher type)
Health Endpoints
/healthz — liveness probe
/readyz — readiness probe
Tasks
Phase
Week 6 — Part of v0.1 Foundation observability.
Overview
Implement Prometheus metrics and Kubernetes health endpoints for observability.
Metrics to Implement
rca_incidents_detected_total— counterrca_incidents_resolved_total— counterrca_watcher_events_processed_total— counter (per watcher type)Health Endpoints
/healthz— liveness probe/readyz— readiness probeTasks
cmd/main.go/healthzand/readyzHTTP endpointszapwith incident ID correlation fieldPhase
Week 6 — Part of v0.1 Foundation observability.