Skip to content

Commit 8aa39f7

Browse files
authored
fix: correct usage of with_span (#474)
1 parent 2d3a9f7 commit 8aa39f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

propagators/opentelemetry_process_propagator/lib/opentelemetry_process_propagator.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ defmodule OpentelemetryProcessPropagator do
4545
Example of using `fetch_parent_ctx/1` to find a parent context.
4646
4747
```elixir
48-
OpenTelemetry.with_span :span_started_in_your_app do
48+
OpenTelemetry.Tracer.with_span :span_started_in_your_app do
4949
# some span being created in a process spawned by a library
5050
# you don't control, e.g. Ecto preloads
5151

0 commit comments

Comments
 (0)