Tesla.Middleware.OpenTelemetry (opentelemetry_tesla v2.2.0)
Creates OpenTelemetry spans and injects tracing headers into HTTP requests
When used with Tesla.Middleware.PathParams
, the span name will be created
based on the provided path. Without it, the span name follow OpenTelemetry
standards and use just the method name, if not being overriden by opts.
NOTE: This middleware needs to come before Tesla.Middleware.PathParams
options
Options
Link to this section Summary
Functions
Callback implementation for Tesla.Middleware.call/3
.
Link to this section Functions
Link to this function
call(env, next, opts)
Callback implementation for Tesla.Middleware.call/3
.