New Relixir v0.4.5 NewRelixir.Instrumenters.Phoenix View Source

New Relic instrumenter for Phoenix controllers.

It relies on the instrumentation API provided by Phoenix.Endpoint. To set it up, include this module in the list of instrumenters of your Endpoint config:

config :my_app, MyAppWeb.Endpoint,
  instrumenters: [NewRelixir.Instrumenters.Phoenix],

Transaction traces will be composed of both controller and action names, e.g. /HomeController#index, /ProfileController#update.

Link to this section Summary

Functions

Stop callback for Phoenix controllers. Phonix calls it after the whole controller pipeline finishes executing the routed action

Link to this section Functions

Link to this function phoenix_controller_call(atom, elapsed_time, transaction) View Source

Stop callback for Phoenix controllers. Phonix calls it after the whole controller pipeline finishes executing the routed action.