docs(tvix/tracing): fix docstrings
Change-Id: Ibcdd50bfd20afd925a6f9eeacc436efdadbe5662 Reviewed-on: https://cl.tvl.fyi/c/depot/+/13255 Reviewed-by: Domen Kožar <domen@cachix.org> Autosubmit: flokli <flokli@flokli.de> Reviewed-by: Marijan Petričević <marijan.petricevic94@gmail.com> Tested-by: BuildkiteCI
This commit is contained in:
parent
2036487de8
commit
b8e3e3c828
1 changed files with 1 additions and 1 deletions
|
|
@ -7,7 +7,7 @@ use reqwest_tracing::{SpanBackendWithUrl, TracingMiddleware};
|
||||||
/// If otlp feature is disabled, this will not insert a `traceparent` into the header. It will
|
/// If otlp feature is disabled, this will not insert a `traceparent` into the header. It will
|
||||||
/// basically function as a noop.
|
/// basically function as a noop.
|
||||||
///
|
///
|
||||||
/// `traceparent` => https://www.w3.org/TR/trace-context/#trace-context-http-headers-format
|
/// `traceparent` => <https://www.w3.org/TR/trace-context/#trace-context-http-headers-format>
|
||||||
pub fn tracing_middleware() -> TracingMiddleware<SpanBackendWithUrl> {
|
pub fn tracing_middleware() -> TracingMiddleware<SpanBackendWithUrl> {
|
||||||
TracingMiddleware::<SpanBackendWithUrl>::new()
|
TracingMiddleware::<SpanBackendWithUrl>::new()
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue