[][src]Module opentelemetry::api::trace::futures

OpenTelemetry Futures Compatibility

This module provides utilities for instrumenting asynchronous code written using futures and async/await.

This main trait is Instrument, which allows a Tracer, and a Span to be attached to a future, sink, stream, or executor.

Structs

Instrumented

A future, stream, sink, or executor that has been instrumented with a tracer and span.

Traits

Instrument

Extension trait allowing futures, streams, sinks, and executors to be traced with a span.