Alberto Sartori a72305f574
Add server span kind to otel cowboy (#116)
* Add server span kind to otel cowboy

* Upgrade deps
2022-11-10 04:15:15 -07:00
..
2021-10-06 13:36:22 -06:00
2021-10-15 14:01:11 -06:00
2021-10-15 14:01:11 -06:00
2021-10-06 13:36:22 -06:00

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