-
Hello, How can I do? I'm missing something? That's a very simplified view of what my brain was thinking about: #[tracing::instrument]
fn my_fn() {
use tracing_opentelemetry::OpenTelemetrySpanExt;
let current_span = tracing:Span::current();
let current_context = current_span.context(); //But is empty!
//Inject opentelemetry context into currier...
} |
Beta Was this translation helpful? Give feedback.
Answered by
ymgyt
Mar 25, 2024
Replies: 1 comment 1 reply
-
Hmm, the code mentioned above seems like it would work well. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
egtwp
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hmm, the code mentioned above seems like it would work well.
For reference, we are actually able to integrate baggage using the following method.