Browse documentation
On this page

Peren documentation

Metrics reference

Prometheus series exported by Peren on /metrics.

Peren exports these series from /metrics in Prometheus text format. Names and meanings match the HELP strings in the node metrics exporter. Do not invent additional series.

An operator may scrape /metrics with Prometheus.

Process and listener

Series Type Meaning
peren_build_info gauge Peren build information. Label: version.
peren_ready gauge Whether this listener is ready to serve traffic. Label: listener.
peren_listener_worker gauge Whether this listener dispatches Worker traffic. Label: listener.
peren_process_started_time_seconds gauge Unix timestamp when this process started.
peren_process_uptime_seconds gauge Seconds since this process started.
peren_configured_listeners gauge Configured listener count for this node.
peren_configured_services gauge Configured service count for this node.
peren_configured_queue_consumers gauge Configured queue consumer count for this node.

Admission

Series Type Meaning
peren_admission_capacity gauge Concurrent top-level work admitted by this node.
peren_admission_available gauge Available top-level work capacity on this node.
peren_admission_active gauge Active top-level work currently running on this node.
peren_admission_admitted_total counter Top-level work admitted by this node.
peren_admission_completed_total counter Top-level work completed by this node.
peren_admission_refused_total counter Top-level work refused because the node was saturated.

HTTP

Series Type Meaning
peren_http_requests_total counter HTTP requests observed by this node.
peren_http_errors_total counter HTTP requests completed with a 5xx status or dispatch failure.
peren_http_duration_ms_total counter Total HTTP request wall time in milliseconds.
peren_http_duration_ms histogram HTTP request wall time in milliseconds.

Queues

Series Type Meaning
peren_queue_ticks_total counter Queue consumer polling ticks.
peren_queue_leases_total counter Queue lease batches acquired.
peren_queue_messages_total counter Queue messages leased for dispatch.
peren_queue_dispatches_total counter Queue batches dispatched to Workers.
peren_queue_errors_total counter Queue lease or dispatch failures.
peren_queue_dispatch_duration_ms_total counter Total queue dispatch wall time in milliseconds.
peren_queue_dispatch_duration_ms histogram Queue dispatch wall time in milliseconds.
peren_queue_sends_total counter Worker queue sends completed through bindings.
peren_queue_send_errors_total counter Worker queue send failures.
peren_queue_send_duration_ms_total counter Total Worker queue send wall time in milliseconds.
peren_queue_send_duration_ms histogram Worker queue send wall time in milliseconds.

Storage

Series Type Meaning
peren_storage_commits_total counter Durable storage commits completed through the node host.
peren_storage_commit_duration_ms_total counter Total durable storage commit wall time in milliseconds.
peren_storage_commit_duration_ms histogram Durable storage commit wall time in milliseconds.
peren_storage_rollbacks_total counter Durable storage rollbacks completed through the node host.

Bindings

Series Type Meaning
peren_r2_operations_total counter R2 binding operations completed through the node host.
peren_r2_errors_total counter R2 binding operation failures.
peren_r2_duration_ms_total counter Total R2 binding operation wall time in milliseconds.
peren_r2_duration_ms histogram R2 binding operation wall time in milliseconds.
peren_kv_operations_total counter KV binding operations completed through the node host.
peren_kv_errors_total counter KV binding operation failures.
peren_kv_duration_ms_total counter Total KV binding operation wall time in milliseconds.
peren_kv_duration_ms histogram KV binding operation wall time in milliseconds.
peren_d1_queries_total counter D1 SQL queries completed through the node host.
peren_d1_errors_total counter D1 SQL query failures.
peren_d1_duration_ms_total counter Total D1 SQL query wall time in milliseconds.
peren_d1_duration_ms histogram D1 SQL query wall time in milliseconds.
peren_cache_operations_total counter Cache binding operations completed through the node host.
peren_cache_errors_total counter Cache binding operation failures.
peren_cache_duration_ms_total counter Total cache binding operation wall time in milliseconds.
peren_cache_duration_ms histogram Cache binding operation wall time in milliseconds.
peren_ai_runs_total counter AI binding calls completed through the node host.
peren_ai_errors_total counter AI binding call failures.
peren_ai_duration_ms_total counter Total AI binding call wall time in milliseconds.
peren_ai_duration_ms histogram AI binding call wall time in milliseconds.
peren_service_fetches_total counter Service binding fetches completed.
peren_service_errors_total counter Service binding fetch failures.
peren_service_duration_ms_total counter Total service binding fetch wall time in milliseconds.
peren_service_duration_ms histogram Service binding fetch wall time in milliseconds.
peren_outbound_fetches_total counter Host-gated outbound fetches completed.
peren_outbound_errors_total counter Host-gated outbound fetch failures.
peren_outbound_duration_ms_total counter Total time spent on allowed outbound fetch, in milliseconds.
peren_outbound_duration_ms histogram Host-gated outbound fetch wall time in milliseconds.
peren_object_fetches_total counter Durable Object binding fetches completed.
peren_object_errors_total counter Durable Object binding fetch failures.
peren_object_duration_ms_total counter Total Durable Object binding fetch wall time in milliseconds.
peren_object_duration_ms histogram Durable Object binding fetch wall time in milliseconds.

WebSockets

Series Type Meaning
peren_websocket_sessions_total counter WebSocket upgrade sessions accepted by Workers.
peren_websocket_sessions_registered gauge WebSocket sessions tracked by the host registry.

Duration histograms use fixed buckets at 1, 5, 10, 25, 50, 100, 250, and 1000 milliseconds, plus +Inf.

Related: Observability, Operations overview.