Skip to content

Metrics

zentri-server serve exports these metrics at GET /metrics in the Prometheus text format. The endpoint is public when the coordinator listens on a loopback address and needs a token otherwise; see the HTTP API.

The registry also holds the standard Go runtime (go_) and process (process_) metrics from client_golang. They vary by Go version and operating system, so this page leaves them out.

Metric Type Labels Help
zentri_claims_total counter outcome File claim outcomes: granted, renewed, denied, released, expired.
zentri_http_request_duration_seconds histogram method, route HTTP request latency by route pattern and method.
zentri_http_requests_total counter code, method, route HTTP requests by route pattern, method, and status code.
zentri_intent_degraded_total counter step Intent checks that fell back because a model step failed, by step.
zentri_intents_registered_total counter class, resolution Registered intents by class and resolution.
zentri_rate_limited_total counter limiter Requests rejected by a rate limit, by limiter.
zentri_sessions_abandoned_total counter none Sessions the sweeper marked abandoned.
zentri_slack_deliveries_pruned_total counter none Slack delivery rows the retention prune deleted for being older than 30 days.
zentri_slack_deliveries_total counter outcome Slack delivery acknowledgements and expiries: delivered, retried, dead.

A histogram also exports _bucket, _sum and _count series. The bucket upper bounds are:

  • zentri_http_request_duration_seconds: 0.005, 0.01, 0.025, 0.05, 0.1, 0.25, 0.5, 1, 2.5, 5, 10, and +Inf.