New Relic Phoenix

Hex.pm VersionBuild Status

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, "~> 0.1"},
{:phoenix, "~> 1.4"},
{:plug_cowboy, "~> 2.0"}
]
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]