OpentelemetryQuantum uses telemetry handlers to
create OpenTelemetry
spans from Quantum jobs.
def deps do
[
{:opentelemetry_quantum, "~> 0.1"}
]
end
In your application start:
def start(_type, _args) do
OpentelemetryQuantum.setup()
# ...
end
A new trace is automatically started when a Quantum job executes.