OpenResponses.PromEx (OpenResponses v0.1.1)

View Source

Prometheus metrics for OpenResponses via PromEx.

Add to your supervision tree and mount the /metrics endpoint to expose Prometheus-compatible metrics for all loop activity, tool calls, and streaming events.

Setup

# application.ex
children = [OpenResponses.PromEx, ...]

# router.ex
get "/metrics", PromEx.Plug, prom_ex_module: OpenResponses.PromEx

Available metrics

MetricDescription
open_responses_requests_totalTotal requests, tagged by model
open_responses_loop_iterations_totalLoop iterations, tagged by model
open_responses_tool_dispatches_totalTool calls, tagged by tool
open_responses_stream_events_totalSSE events emitted, tagged by type

See the Observability guide for full setup details including Grafana dashboard configuration.

Summary

Functions

Returns a specification to start this module under a supervisor.

Functions

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.