Availability and readiness
Probe the API’s /ready endpoint over HTTPS with the correct CA. Its current dependency check covers the primary and read databases with a bounded timeout. It is not an end-to-end claim-processing test: a healthy API can coexist with stalled workers or output delivery.
curl --fail-with-body --cacert "$CA_CERT" "$API/ready"
Monitor the API, worker, extraction service, broker, database, object store, and secret/certificate controllers separately. Establish an end-to-end synthetic claim check for your configured workflow.
Scrape process metrics
API and worker processes expose /metrics/process as an authorized platform route. Prepare pledge-auth.header using API conventions with the dedicated metrics-reader credential provisioned for the platform metrics seat and verify the listener’s certificate. A worker must have CLAIMS_WORKER_METRICS_BIND configured to expose its listener.
curl --fail-with-body --cacert "$CA_CERT" \
--header @pledge-auth.header "$API/metrics/process"
The response is OpenMetrics text. Configure your collector with the same authentication and trust settings. Do not expose these endpoints as public unauthenticated ingress.
Signals to watch
| Signal | Operational question | First investigation |
|---|---|---|
| API error rate and latency | Can callers authenticate, submit, and read? | Separate validation failures from database, broker, and downstream failures |
| Driver lag and partition ownership | Are durable inputs being processed? | Worker replicas, ownership changes, broker reachability, and recent restarts |
| Database errors and pool pressure | Can primary writes and replica reads complete? | Connection budgets, replica lag, failover, and statement timeouts |
| Extraction backlog | Are documents waiting or actively being interpreted? | Extraction image, module availability, resource pressure, and document failures |
| Operator attention and oldest age | Is work accumulating without intervention? | Assignment, missing requirements, parked incidents, and output failures |
| Certificate expiry | Will a service lose trusted connectivity? | Certificate renewal, distribution, and issuer health |
| Output and integration backlog | Did an accepted decision reach its consumers? | Destination availability, credentials, and recorded delivery outcome |
State metrics refresh periodically using CLAIMS_STATE_REFRESH_SECS (default 15). When a refresh fails, the process retains the last values. A successful scrape alone does not mean those values are fresh; investigate refresh errors alongside the gauges.
Set operational thresholds
Measure a normal processing window before choosing lag and queue-age thresholds. Alert on persistent failure or growing backlog, and route each alert to an owner. Keep dependency capacity alerts separate from business work that needs a reviewer.
The application includes separate observability and telemetry charts. Treat their storage, access controls, retention, and availability as infrastructure decisions. Enabling tracing in application settings also requires a reachable collector.
Investigate safely
Use claim IDs and timestamps to correlate an incident in restricted operational tools. Keep document contents, credentials, and member details out of broadly accessible dashboards and support tickets. Continue with troubleshooting.