elixir_agent
elixir_agent copied to clipboard
Identify Phoenix LiveView metrics
Before this PR, all LiveView metrics are named for the plug and action, i.e. WebTransaction/Phoenix/Phoenix.LiveView.Plug/index
.
This PR names those metrics after the module and action, i.e. WebTransaction/Phoenix/PhxExampleWeb.HomeLive/index
. This provides more insight into the details of the metric.
To properly test, phoenix_example
is updated with the latest phoenix packages and the pages and layouts with the modern Phoenix conventions.
I submitted an issue to go along with this PR, https://github.com/newrelic/elixir_agent/issues/425
Will merge this after #426