reqwest-middleware/reqwest-tracing/src
Robert Collins 07d154cadf
Custom otel names (#65)
* Breaking change(macros): require explicit name for tracing middleware

Closes: #52

This is suggested by the Opentelemetry spec, which requires "Therefore,
HTTP client spans SHOULD be using conservative, low cardinality names
formed from the available parameters of an HTTP request, such as "HTTP
{METHOD_NAME}". Instrumentation MUST NOT default to using URI path as
span name, but MAY provide hooks to allow custom logic to override the
default span name.
"

* Permit customisation of otel span names via OtelName
2022-11-07 13:07:23 +00:00
..
lib.rs Custom otel names (#65) 2022-11-07 13:07:23 +00:00
middleware.rs Custom otel names (#65) 2022-11-07 13:07:23 +00:00
otel.rs Opentelemetry 0.18 (#58) 2022-09-20 16:07:32 +03:00
reqwest_otel_span_builder.rs Custom otel names (#65) 2022-11-07 13:07:23 +00:00
reqwest_otel_span_macro.rs Custom otel names (#65) 2022-11-07 13:07:23 +00:00