reqwest-middleware/reqwest-tracing/src
Alex Wakefield 3457bf5702
Add `OtelPathNames` for span names (#89)
* feat: add `OtelPathNames` for span names

If this extension is provided span names will be `<method> <path name>`.
These path names will include parameter names rather than IDs or other elements that would increase the cardinality.

* doc: update changelog

* refactor: update `known_paths` to return error

* refactor: return `anyhow::Error` instead

This is as `reqwest_middleware::Error` is more focused on handling a
request.
2023-04-26 15:28:32 +01:00
..
lib.rs Add `OtelPathNames` for span names (#89) 2023-04-26 15:28:32 +01:00
middleware.rs feat: wasm32-unknown-unknown support (#79) 2023-03-09 11:33:13 +00:00
otel.rs Opentelemetry 0.18 (#58) 2022-09-20 16:07:32 +03:00
reqwest_otel_span_builder.rs Add `OtelPathNames` for span names (#89) 2023-04-26 15:28:32 +01:00
reqwest_otel_span_macro.rs Make http.url field opt-in (#70) 2022-11-10 13:21:07 +00:00