Module opentelemetry_sdk::runtime

source ·
Expand description

Provides an abstraction of several async runtimes

This allows OpenTelemetry to work with any current or future runtime. There are currently builtin implementations for Tokio and async-std.

Structs§

  • Runtime implementation, which works with Tokio’s multi thread runtime.

Enums§

Traits§

  • A runtime is an abstraction of an async runtime like Tokio or async-std. It allows OpenTelemetry to work with any current and hopefully future runtime implementation.
  • RuntimeChannel is an extension to Runtime. Currently, it provides a channel that is used by the log and span batch processors.
  • TrySend is an abstraction of Sender that is capable of sending messages through a reference.