opentelemetry-erlang-contrib/instrumentation/opentelemetry_cowboy/README.md

977 B

opentelemetry_cowboy

EEF Observability WG project Hex.pm Build Status

Telemetry handler that creates Opentelemetry spans from Phoenix events.

After installing, setup the handler in your application behaviour before your top-level supervisor starts.

opentelemetry_cowboy:setup()

See cowboy_telemetry for prerequisite setup.

There is no additional prerequisite setup for plug_cowboy users.

Installation

{deps, [
  {opentelemetry_cowboy, "~> 1.0.0-beta"}
]}
def deps do
  [
    {:opentelemetry_cowboy, "~> 1.0.0-beta"}
  ]
end