From 55d290445c9012cae31fb3eb9418e2b04a98141d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20van=20Diemen?= Date: Thu, 20 Jun 2024 15:29:38 +0200 Subject: [PATCH] Call Tracing.Monitor.monitor instead of Tracing.monitor The function is calling the wrong module. This used to be `OpenTelemetryMonitor.monitor` and the rename has gone wrong. --- lib/tracing.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tracing.ex b/lib/tracing.ex index 183eba2..91cebc1 100644 --- a/lib/tracing.ex +++ b/lib/tracing.ex @@ -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) ->