Expand description
Contains helpers and code for enabling OpenTelemetry tracing for
wasmcloud. Please note that right now this is only supported for providers. This module is only
available with the otel feature enabled
Structs§
- Trace
Context Extractor - A convenience type that wraps an invocation
TraceContextand implements theExtractortrait - Trace
Context Injector - A convenience type that wraps an invocation
TraceContextand implements theInjectortrait
Functions§
- attach_
span_ context - A convenience function that will extract from an incoming context and set the parent span for
the current tracing Span. If you want to do something more advanced, use the
TraceContextExtractortype directly - get_
span_ context - A convenience function that will extract the
opentelemetry::Contextfrom the givenTraceContext. If you want to do something more advanced, use theTraceContextExtractor