Constant OTEL_SDK_PROCESSOR_SPAN_PROCESSED_COUNT
pub const OTEL_SDK_PROCESSOR_SPAN_PROCESSED_COUNT: &'static str;
Expand description
§Description
The number of spans for which the processing has finished, either successful or failed
§Notes
For successful processing, error.type
MUST NOT be set. For failed processing, error.type
must contain the failure cause.
For the SDK Simple and Batching Span Processor a span is considered to be processed already when it has been submitted to the exporter, not when the corresponding export call has finished
§Metadata
Instrument: | counter |
Unit: | {span} |
Status: | Development |
§Attributes
Name | Requirement |
---|---|
crate::attribute::ERROR_TYPE | Recommended |
crate::attribute::OTEL_COMPONENT_NAME | Recommended |
crate::attribute::OTEL_COMPONENT_TYPE | Recommended |