New Relic Phoenix

This package adds Phoenix specific instrumentation on top of the new_relic_agent package. You may use all the built-in capabilities of the New Relic Agent!

Check out the agent for more:

Installation

def deps do
  [
    {:new_relic_phoenix, "~> 1.0"},
    {:phoenix, "~> 1.4.0-rc"},
    {:cowboy, "~> 2.5"}
  ]
end

Configuration

Instrumentation

defmodule MyApp.Endpoint do
  use Phoenix.Endpoint, otp_app: :my_app
  use NewRelic.Phoenix.Transaction
  # ...
end
config :my_app, MyApp.Endpoint,
  instrumenters: [NewRelic.Phoenix.Instrumenter]