Constant DB_CLIENT_RESPONSE_RETURNED_ROWS

pub const DB_CLIENT_RESPONSE_RETURNED_ROWS: &'static str;
Expand description

§Description

The actual number of records returned by the database operation

§Metadata

Instrument:histogram
Unit:{row}
Status:Development

§Attributes

NameRequirement
crate::attribute::DB_COLLECTION_NAMEConditionally_required: If readily available and if a database call is performed on a single collection.
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.
crate::attribute::DB_QUERY_SUMMARY{"recommended": "if available through instrumentation hooks or if the instrumentation supports generating a query summary."}
crate::attribute::DB_QUERY_TEXTOpt_in
crate::attribute::DB_RESPONSE_STATUS_CODEConditionally_required: If the operation failed and status code is available.
crate::attribute::DB_SYSTEM_NAMERequired
crate::attribute::ERROR_TYPEConditionally_required: If and only if the operation failed.
crate::attribute::NETWORK_PEER_ADDRESS{"recommended": "if applicable for this database system."}
crate::attribute::NETWORK_PEER_PORT{"recommended": "if and only if network.peer.address is set."}
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.