diff options
author | Jonathan Davies <jpds@protonmail.com> | 2023-01-31 13:45:43 +0000 |
---|---|---|
committer | Jonathan Davies <jpds@protonmail.com> | 2023-02-01 08:59:28 +0000 |
commit | c034bdedfe0d69198e56c78c10eb227222f9ac4e (patch) | |
tree | fca3665be348d67d59ea06db2ab7134a92d8ee64 /src/client.rs | |
parent | 14ba9a811f9576dbbbb6368357a0a356aeb25cde (diff) | |
download | netapp-c034bdedfe0d69198e56c78c10eb227222f9ac4e.tar.gz netapp-c034bdedfe0d69198e56c78c10eb227222f9ac4e.zip |
src: Use new BinaryPropagator methods in opentelemetry_contrib/0.10.
Diffstat (limited to 'src/client.rs')
-rw-r--r-- | src/client.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client.rs b/src/client.rs index 607dd17..d2a8d07 100644 --- a/src/client.rs +++ b/src/client.rs @@ -162,7 +162,7 @@ impl ClientConn { .with_kind(SpanKind::Client) .start(&tracer); let propagator = BinaryPropagator::new(); - let telemetry_id: Bytes = propagator.to_bytes(span.span_context()).to_vec().into(); + let telemetry_id: Bytes = propagator.serialize_into_bytes(span.span_context()).to_vec().into(); } else { let telemetry_id: Bytes = Bytes::new(); } |