Constant OTEL_SDK_SPAN_LIVE_COUNT
pub const OTEL_SDK_SPAN_LIVE_COUNT: &'static str;
Expand description
§Description
The number of created spans for which the end operation has not been called yet
§Notes
For spans with recording=true
: Implementations MUST record both otel.sdk.span.live.count
and otel.sdk.span.ended.count
.
For spans with recording=false
: If implementations decide to record this metric, they MUST also record otel.sdk.span.ended.count
§Metadata
Instrument: | updowncounter |
Unit: | {span} |
Status: | Development |
§Attributes
Name | Requirement |
---|---|
crate::attribute::OTEL_SPAN_SAMPLING_RESULT | Recommended |