Constant OTEL_SDK_METRIC_READER_COLLECTION_DURATION
pub const OTEL_SDK_METRIC_READER_COLLECTION_DURATION: &'static str;
Expand description
§Description
The duration of the collect operation of the metric reader.
§Notes
For successful collections, error.type
MUST NOT be set. For failed collections, error.type
SHOULD contain the failure cause.
It can happen that metrics collection is successful for some MetricProducers, while others fail. In that case error.type
SHOULD be set to any of the failure causes
§Metadata
Instrument: | histogram |
Unit: | s |
Status: | Development |
§Attributes
Name | Requirement |
---|---|
crate::attribute::ERROR_TYPE | Recommended |
crate::attribute::OTEL_COMPONENT_NAME | Recommended |
crate::attribute::OTEL_COMPONENT_TYPE | Recommended |