Shadowfacts
85076ca8e4
This ensures that spans created in application code are correctly parented to the request span. |
||
---|---|---|
.. | ||
config | ||
lib | ||
test | ||
.formatter.exs | ||
.gitignore | ||
CHANGELOG.md | ||
LICENSE | ||
README.md | ||
mix.exs | ||
mix.lock |
README.md
OpentelemetryBandit
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