View Source OpentelemetryBroadway (opentelemetry_broadway v0.1.0)

OpentelemetryBroadway uses telemetry handlers to create OpenTelemetry spans from Broadway jobs.

It supports job start, stop and exception events.

usage

Usage

In your application start:

def start(_type, _args) do
  :ok = OpentelemetryBroadway.setup()

  # ...
end

Link to this section Summary

Functions

Attaches the telemetry handlers, returning :ok if successful.

Link to this section Functions

@spec setup() :: :ok

Attaches the telemetry handlers, returning :ok if successful.