OtelBridge.Bridge (otel_bridge v0.1.1)

Copy Markdown View Source

Runtime bridge from Telemetry.Metrics definitions to OpenTelemetry instruments.

Most applications should use OtelBridge instead of starting this module directly. It is documented because it forms part of the library's runtime architecture and may be useful when debugging or extending integrations.

Summary

Functions

Returns a specification to start this module under a supervisor.

Telemetry event handler that records measurements into OpenTelemetry instruments.

Starts the bridge process for a set of metric definitions.

Functions

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

handle_event(event_name, measurements, metadata, map)

Telemetry event handler that records measurements into OpenTelemetry instruments.

start_link(opts)

Starts the bridge process for a set of metric definitions.