SyntropyWeb.Telemetry
(syntropy v0.2.0)
Copy Markdown
Telemetry supervisor: periodic VM measurements plus the in-process
Prometheus reporter backing GET /metrics.
Metrics cover the BEAM (memory, run queues), Phoenix endpoint latency,
Ecto query timing (only emitted when persistence is enabled), and the
custom runtime events defined in Syntropy.Telemetry — task runs, LLM
requests and token usage, webhook deliveries, and event recorder batch
flushes.
Summary
Functions
Returns a specification to start this module under a supervisor.
Renders the current metric values in Prometheus text exposition format.
Functions
Returns a specification to start this module under a supervisor.
See Supervisor.
@spec metrics() :: [Telemetry.Metrics.t()]
@spec scrape() :: String.t()
Renders the current metric values in Prometheus text exposition format.
@spec start_link(keyword()) :: Supervisor.on_start()