View Source cowboy_otel_middleware (cowboy_otel v0.2.0)
Summary
Functions
Attach span ctx to request process. Also rename span and set http.route attribute if we have bindings.
Functions
-spec execute(Req, Env) -> {ok, Req, Env} when Req :: cowboy_req:req(), Env :: cowboy_middleware:env().