adk_observability_metrics (erlang_adk v0.7.0)

View Source

Bounded low-cardinality metric aggregation for Erlang ADK.

This is an SDK-neutral registry. It keeps a small in-memory snapshot that an OpenTelemetry/Prometheus adapter may scrape. Series beyond the configured per-instrument cap are merged into one explicit overflow series instead of allocating labels without bound.

Summary

Functions

child_spec(Opts)

code_change(OldVsn, State, Extra)

handle_call(Request, From, State0)

handle_cast(Message, State)

handle_info(Message, State)

init(Opts)

record(Name, Type, Value, Labels)

record(Server, Name, Type, Value, Labels)

reset()

reset(Server)

snapshot()

snapshot(Server)

start_link()

start_link(Opts)

terminate(Reason, State)