AppSignal v1.7.0-beta.2 Appsignal.Phoenix.Instrumenter View Source

Phoenix instrumentation hooks

This module can be used as a Phoenix instrumentation module. Adding this module to the list of Phoenix instrumenters will result in the phoenix_controller_call and phoenix_controller_render events to become part of your request timeline.

Add this to your config.exs:

config :my_app, MyApp.Endpoint,
  instrumenters: [Appsignal.Phoenix.Instrumenter]

Note: Channels (phoenix_channel_join hook) are currently not supported.

See the Phoenix integration guide for information on how to instrument other aspects of Phoenix.