Track / Profile Ecto in Phoenix / LiveView

I’m building a new app with LiveView, and since it start to become more complex I want to keep track of how many queries is being made per page and how much time is spending in there.

I know the ecto output the queries and time in to the logger, not sure if there is a module that already handles that, or if I need to do some custom thing with telemetry.

Prior to telemetry I used a custom logger module, but it looks like repo telemetry events is the way to go now.

1 Like