class OpenTelemetry::Middleware
- OpenTelemetry::Middleware
- Reference
- Object
Overview
An HTTP::Handler
compatible with any HTTP::Server
-based framework,
including Lucky and Amber.
For plain HTTP::Server
:
http = HTTP::Server.new([
HTTP::LogHandler.new,
OpenTelemetry::Middleware.new("top-level-span-name"),
YourApp.new,
])
Included Modules
- HTTP::Handler