opentelemetry-erlang-contrib/instrumentation/opentelemetry_bandit
renovate[bot] 0dbda341f2
chore(deps): update dependency req to ~> 0.4 (#291)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-18 15:41:30 -07:00
..
config Add bandit telemetry support for opentelemetry-phoenix (#249) 2024-02-18 15:36:01 -07:00
lib Add bandit telemetry support for opentelemetry-phoenix (#249) 2024-02-18 15:36:01 -07:00
test Add bandit telemetry support for opentelemetry-phoenix (#249) 2024-02-18 15:36:01 -07:00
.formatter.exs Add bandit telemetry support for opentelemetry-phoenix (#249) 2024-02-18 15:36:01 -07:00
.gitignore Add bandit telemetry support for opentelemetry-phoenix (#249) 2024-02-18 15:36:01 -07:00
CHANGELOG.md Add bandit telemetry support for opentelemetry-phoenix (#249) 2024-02-18 15:36:01 -07:00
LICENSE Add bandit telemetry support for opentelemetry-phoenix (#249) 2024-02-18 15:36:01 -07:00
README.md Add bandit telemetry support for opentelemetry-phoenix (#249) 2024-02-18 15:36:01 -07:00
mix.exs chore(deps): update dependency req to ~> 0.4 (#291) 2024-02-18 15:41:30 -07:00
mix.lock chore(deps): update dependency req to ~> 0.4 (#291) 2024-02-18 15:41:30 -07:00

README.md

OpentelemetryBandit

EEF Observability WG project Hex.pm Build Status

Telemetry handler that creates Opentelemetry spans from Bandit events.

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

OpentelemetryBandit.setup()

When phoenix is used, setup telemetry this way:

OpentelemetryBandit.setup()
OpentelemetryPhoenix.setup(adapter: :bandit)

Compatibility Matrix

OpentelemetryPhoenix Version Otel Version Notes
v0.1.4 v1.0

Installation

def deps do
  [
    {:opentelemetry_bandit, "~> 0.1.4"}
  ]
end