View Source SpandexPhoenix.Instrumenter (spandex_phoenix v1.1.0)

Phoenix instrumenter callback module to automatically create spans for Phoenix Controller and View information.

Configure your Phoenix Endpoint to use this library as one of its instrumenters:

config :my_app, MyAppWeb.Endpoint,
  # ... existing config ...
  instrumenters: [SpandexPhoenix.Instrumenter]

More details can be found in the Phoenix documentation.