Skip to content

Commit

Permalink
mix format
Browse files Browse the repository at this point in the history
  • Loading branch information
23Skidoo committed Nov 9, 2023
1 parent beedbc8 commit 978a6f0
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions lib/prima_opentelemetry_ex/instrumentation/opentelemetry_ecto.ex
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ defmodule PrimaOpentelemetryEx.Instrumentation.OpentelemetryEcto do
"repo-init-handler",
[:ecto, :repo, :init],
fn _event, _measurements, metadata, _config ->
metadata
|> Map.fetch!(:opts)
|> Keyword.fetch!(:telemetry_prefix)
|> OpentelemetryEcto.setup()
end,
metadata
|> Map.fetch!(:opts)
|> Keyword.fetch!(:telemetry_prefix)
|> OpentelemetryEcto.setup()
end,
%{}
)
end
Expand Down

0 comments on commit 978a6f0

Please sign in to comment.