opentelemetry-erlang-contrib/instrumentation/opentelemetry_cowboy
Bryan Naegele 71e1e4ab48
Cowboy instrumentation (#18)
* Cowboy instrumentation
2021-10-06 13:36:22 -06:00
..
src Cowboy instrumentation (#18) 2021-10-06 13:36:22 -06:00
test Cowboy instrumentation (#18) 2021-10-06 13:36:22 -06:00
.gitignore Cowboy instrumentation (#18) 2021-10-06 13:36:22 -06:00
LICENSE Cowboy instrumentation (#18) 2021-10-06 13:36:22 -06:00
README.md Cowboy instrumentation (#18) 2021-10-06 13:36:22 -06:00
rebar.config Cowboy instrumentation (#18) 2021-10-06 13:36:22 -06:00
rebar.lock Cowboy instrumentation (#18) 2021-10-06 13:36:22 -06:00

README.md

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