Phoenix LiveView hooks telemetry

I was thinking that it might be nice to wrap telemetry around hooks as well. Because it can happen that these hooks can be expensive (time, resources…). It would be nice to be able to see these details as well. Or are hooks already executed within the telemetry of the event?
I can implement it if someone will point me where is good start to look around.

1 Like

The telemetry calls wrap the whole lifecycle, so hooks are already included:

3 Likes