Otel.Metrics.MetricsStorage (otel v0.4.1)

Copy Markdown View Source

ETS owner for the named ETS table — aggregated datapoints keyed by {stream_name, attrs} (spec metrics/data-model.md §Metric). InstrumentationScope is hardcoded SDK-wide so it is omitted from the key.

Same SpanStorage-style GenServer-as-owner pattern as the other Metrics storage modules — table is public with concurrency flags so the recording / collection paths bypass the GenServer.

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.

start_link(opts \\ [])

@spec start_link(opts :: keyword()) :: GenServer.on_start()