Runtime process that records telemetry events as OpenTelemetry metrics.
Most applications should use OtelBridge instead of starting this module
directly.
This module:
- receives prepared
Telemetry.Metricsdefinitions - creates matching OpenTelemetry instruments
- attaches telemetry handlers for each event name
- records incoming measurements into those instruments
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
Returns a specification to start this module under a supervisor.
See Supervisor.
Telemetry event handler that records measurements into OpenTelemetry instruments.
For each configured metric, the handler:
- checks whether the metric should be kept for the current metadata
- extracts the measurement value
- derives the exported tags
- records the value into the created instrument
Starts the bridge process for a set of metric definitions.