fteschke

fteschke

No on_mount telemetry event is emitted for LiveView.on_mount/1 callbacks.

These are the events currently emitted for LiveViews: mount, handle_params, handle_event, render.

Do you think an on_mount event should be added?

Short background: I’m attaching event listeners to enrich AppSignal spans with custom data (user ID, current path). Maybe there’s a better way altogether. If not, being able to instrument on_mount would help provide more context for on_mount errors.

Showing Posts 1 to 1

steffend

steffend

Phoenix Core Team

I can see this being useful, so I think a PR implementing it would be welcome!

— All posts loaded —

Where Next? Top

Trending in Proposals: Ideas Top

woylie
We are seeing a lot of warning logs like this: navigate event to "https://someurl" failed because you are redirecting across live_sessio...
New

Other Trending Topics Top

mudasobwa
I am happy to introduce the very α version of the new programming language compiled to BEAM. Welcome Cure. It has literally three kille...
New
garrison
Hobbes is a low-level distributed database for the Elixir programming language. Hobbes provides a simple, safe, and scalable storage lay...
New
marciok
Hi there! We created Gust: A task orchestrator inspired by Airflow. For those who have never heard about Aiflow, it’s a Python-based wor...
New
jimsynz
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
Damirados
Hello everyone. After busy few months I am happy to announce v0.1.0 of Emerge & Solve. They are GUI (Emerge) and State management (S...
New
netoum
Corex is an accessible, unstyled UI component library for Phoenix that integrates Zag.js state machines using Vanilla JavaScript and Live...
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews