CarolineDocs

Run an installation / Health and metrics

Health and metrics

The Map shows every part of the installation and whether it answers, live. Behind it, each service has health checks and Prometheus metrics for your own monitoring.

The Map

The console's Map shows who asks, what Caroline checks, what a yes opens, and whether every part answers: the PDP, the engine, distribution, the directory's age, the key list in force, the ledger. A part turns amber or red with the reason in words; the directory turns red when the engine's copy is more than 90 seconds old.

Health checks

ServiceRouteSays
PDPGET /healthzalive, with the key list's generation it holds
PDPGET /readyzholds a valid key list and can decide
BackendGET /healthz, GET /api/healthalive
BackendGET /api/platform/statusevery part's state, as the Map shows it

These are inside the installation: the PDP's public route opens only the evaluation. Use them from monitoring that runs beside it, never on every call.

Metrics

The PDP, the backend and the engine each serve /metrics. The ones worth an alert:

MetricWatch for
authz_decisions_total{decision,effect}the mix of allow, deny, explicit-deny and deny-override shifting
authz_decision_latency_secondsdecisions slowing
pdp_http_requests_totala rise in 401: a gateway lost its key, or someone is guessing
pdp_agent_decisions_total{agent,effect}one agent's refusals climbing
backend_agent_signal_state{agent}2: an agent flagged investigate
backend_opal_notify_failures_totalchanges not reaching the engine at once
backend_ledger_write_failures_totalchanges being refused
pdp_ledger_forwards_total{outcome="dropped"}refusals missing from the ledger
backend_sign_ins_total{outcome}a rise in locked_out or invalid_credentials

Labels come from fixed sets: a caller cannot create new series by sending odd paths or made-up agent ids.

Logs

One line per request on each service. The PDP's decision lines carry the gateway, the outcome and the reason, never a token or a key's secret.

Caroline DocsAuthZEN 1.0 · OPA