Constant AZURE_COSMOSDB_CLIENT_OPERATION_REQUEST_CHARGE

Source
pub const AZURE_COSMOSDB_CLIENT_OPERATION_REQUEST_CHARGE: &str = "azure.cosmosdb.client.operation.request_charge";
Expand description

§Description

Request units consumed by the operation

§Metadata

Instrument:histogram
Unit:{request_unit}
Status:Development

§Attributes

NameRequirement
crate::attribute::AZURE_COSMOSDB_CONSISTENCY_LEVELConditionally_required: If available.
crate::attribute::AZURE_COSMOSDB_OPERATION_CONTACTED_REGIONS{"recommended": "if available"}
crate::attribute::AZURE_COSMOSDB_RESPONSE_SUB_STATUS_CODEConditionally_required: when response was received and contained sub-code.
crate::attribute::DB_COLLECTION_NAMEConditionally_required: If available.
crate::attribute::DB_NAMESPACEConditionally_required: If available.
crate::attribute::DB_OPERATION_NAMEConditionally_required: If readily available and if there is a single operation name that describes the database call. The operation name MAY be parsed from the query text, in which case it SHOULD be the single operation name found in the query.
crate::attribute::DB_RESPONSE_STATUS_CODEConditionally_required: If the operation failed and status code is available.
crate::attribute::ERROR_TYPEConditionally_required: If and only if the operation failed.
crate::attribute::SERVER_ADDRESSRecommended
crate::attribute::SERVER_PORTConditionally_required: If using a port other than the default port for this DBMS and if server.address is set.