Closed gen1321 closed 6 years ago
Thank you for the report - I'll take a look ASAP.
Thanks @cschneid ! by the way this approach is depricated for ecto 3
config :your_app, YourApp.Repo,
loggers: [{Ecto.LogEntry, :log, []},
{ScoutApm.Instruments.EctoLogger, :log, []}]
I guess we should take a look at Telemetry and implement it :)
From what I understand, Telemetry baked into the Phoenix stack isn't released yet? Is Ecto and its adapters ahead of the curve on that?
Yes, it inside phoenix stack but it released standalone package https://hex.pm/packages/telemetry. You can check implementation from AppSignal on theirs Elixir Client. here is sample code
Telemetry.attach(
"appsignal-ecto",
[:my_app, :repo, :query],
Appsignal.Ecto,
:handle_event,
nil
)
@gen1321 - Thank you for the great report - I've handed this off to our elixir expert who will get Ecto 3 up and running.
I'm having exceptions with Ecto 3.0 and phoenix 1.4