Constant OTEL_SDK_EXPORTER_OPERATION_DURATION
pub const OTEL_SDK_EXPORTER_OPERATION_DURATION: &'static str;
Expand description
§Description
The duration of exporting a batch of telemetry records.
§Notes
This metric defines successful operations using the full success definitions for http
and grpc. Anything else is defined as an unsuccessful operation. For successful
operations, error.type
MUST NOT be set. For unsuccessful export operations, error.type
MUST contain a relevant failure cause
§Metadata
Instrument: | histogram |
Unit: | s |
Status: | Development |
§Attributes
Name | Requirement |
---|---|
crate::attribute::ERROR_TYPE | Conditionally_required : If operation has ended with an error |
crate::attribute::HTTP_RESPONSE_STATUS_CODE | {"recommended": "when applicable"} |
crate::attribute::OTEL_COMPONENT_NAME | Recommended |
crate::attribute::OTEL_COMPONENT_TYPE | Recommended |
crate::attribute::RPC_GRPC_STATUS_CODE | {"recommended": "when applicable"} |
crate::attribute::SERVER_ADDRESS | {"recommended": "when applicable"} |
crate::attribute::SERVER_PORT | {"recommended": "when applicable"} |