Module opentelemetry_sdk::trace

source ·
Available on crate feature trace only.
Expand description

§OpenTelemetry Trace SDK

The tracing SDK consist of a few main structs:

  • The Tracer struct which performs all tracing operations.
  • The Span struct with is a mutable object storing information about the current operation execution.
  • The TracerProvider struct which configures and produces Tracers.

Structs§

Enums§

Traits§

  • Interface for generating IDs
  • The ShouldSample interface allows implementations to provide samplers which will return a sampling SamplingResult based on information that is typically available just before the Span was created.
  • SpanProcessor is an interface which allows hooks for span start and end method invocations. The span processors are invoked only when is_recording is true.

Functions§

  • configDeprecated
    Default trace configuration