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

1.2 KiB

opentelemetry_cowboy

EEF Observability WG project Hex.pm Build Status

Telemetry handler that creates Opentelemetry spans from cowboy 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, "~> 0.2"}
]}
def deps do
  [
    {:opentelemetry_cowboy, "~> 0.2"}
  ]
end

Compatibility Matrix

opentelemetry_cowboy Version Otel Version Notes
v0.1.0 v.1.0.0-rc.3
v0.2 v.1.0