Expand description
Thin wrappers around Opentelemetry primitives so downstream crates do not
depend on the concrete opentelemetry crate directly.
Structs§
- Counter
- An instrument that records increasing values.
- Histogram
- An instrument that records a distribution of values.
- KeyValue
- A key-value pair describing an attribute.
- Meter
- Provides access to instrument instances for recording measurements.
- Span
Context - Immutable portion of a
Spanwhich can be serialized and propagated. - SpanId
- An 8-byte value which identifies a given span.
- TraceId
- A 16-byte value which identifies a given trace.
Enums§
Functions§
- get_
active_ span - Executes a closure with a reference to this thread’s current span.
- meter
- Acquire or create a named
Meter. - set_
text_ map_ propagator - Install the provided propagator as the global text map propagator.
- shutdown_
tracer_ provider - Shutdown the global tracer provider, flushing any pending spans.