Skip to content

Commit

Permalink
Pass the trace to stop event metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
GregMefford committed Jan 18, 2021
1 parent 295c268 commit 2f3866d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/spandex_datadog/api_server.ex
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ defmodule SpandexDatadog.ApiServer do
:telemetry.span([:spandex_datadog, :send_trace], %{trace: trace}, fn ->
timeout = Keyword.get(opts, :timeout, 30_000)
result = GenServer.call(__MODULE__, {:send_trace, trace}, timeout)
{result, %{result: result}}
{result, %{trace: trace}}
end)
end

Expand Down

0 comments on commit 2f3866d

Please sign in to comment.