Available on crate feature
opentelemetry
only.Expand description
Opentelemetry support
Structs§
- Open
Telemetry - OpenTelemetry configuration.
Modules§
- global
- Utilities for working with global telemetry primitives
- baggage
- Primitives for sending name/value data across system boundaries.
- context
- Execution-scoped context propagation.
- metrics
- OpenTelemetry Metrics API
- propagation
- OpenTelemetry Propagator interface
- trace
- API for tracing applications and libraries.
- logs
- OpenTelemetry Logs Bridge API
Macros§
- otel_
info - Note: These macros (
otel_info!
,otel_warn!
,otel_debug!
, andotel_error!
) are intended to be used internally within OpenTelemetry code or for custom exporters, processors and other plugins. They are not designed for general application logging and should not be used for that purpose. - otel_
warn - Macro for logging warning messages in OpenTelemetry.
- otel_
debug - Macro for logging debug messages in OpenTelemetry.
- otel_
error - Macro for logging error messages in OpenTelemetry.
Structs§
- Context
- An execution-scoped collection of values.
- Context
Guard - A guard that resets the current context to the prior context when dropped.
- SpanId
- An 8-byte value which identifies a given span.
- Trace
Flags - Flags that can be set on a
SpanContext
. - TraceId
- A 16-byte value which identifies a given trace.
Enums§
- Array
- A Value::Array containing homogeneous values.
Structs§
- Instrumentation
Scope - Information about a library or crate providing instrumentation.
- Instrumentation
Scope Builder - Configuration options for InstrumentationScope.
- Key
- The key part of attribute KeyValue pairs.
- KeyValue
- A key-value pair describing an attribute.
- String
Value - Wrapper for string-like values