Skip to content

Commit

Permalink
Call Tracing.Monitor.monitor instead of Tracing.monitor
Browse files Browse the repository at this point in the history
The function is calling the wrong module. This used to be
`OpenTelemetryMonitor.monitor` and the rename has gone wrong.
  • Loading branch information
MvanDiemen committed Jun 20, 2024
1 parent a2a6e48 commit 55d2904
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/tracing.ex
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ defmodule Tracing do
parent_span = OpenTelemetry.Tracer.current_span_ctx()

if unquote(opts)[:monitor] do
Tracing.monitor(parent_span)
Tracing.Monitor.monitor(parent_span)
end

fn unquote_splicing(fun_args) ->
Expand Down

0 comments on commit 55d2904

Please sign in to comment.