Azure

Azure Client Library Attributes

This section defines generic attributes used by Azure Client Libraries.

Attributes:

KeyStabilityValue TypeDescriptionExample Values
azure.client.idDevelopmentstringThe unique identifier of the client instance.3ba4827d-4422-483f-b59f-85b74211c11d; storage-client-1
azure.resource_provider.namespaceDevelopmentstringAzure Resource Provider Namespace as recognized by the client.Microsoft.Storage; Microsoft.KeyVault; Microsoft.ServiceBus
azure.service.request.idDevelopmentstringThe unique identifier of the service request. It’s generated by the Azure service and returned with the response.00000000-0000-0000-0000-000000000000

Azure Cosmos DB Attributes

This section defines attributes for Azure Cosmos DB.

Attributes:

KeyStabilityValue TypeDescriptionExample Values
azure.cosmosdb.connection.modeDevelopmentstringCosmos client connection mode.gateway; direct
azure.cosmosdb.consistency.levelDevelopmentstringAccount or request consistency level.Eventual; ConsistentPrefix; BoundedStaleness; Strong; Session
azure.cosmosdb.operation.contacted_regionsDevelopmentstring[]List of regions contacted during operation in the order that they were contacted. If there is more than one region listed, it indicates that the operation was performed on multiple regions i.e. cross-regional call. [1]["North Central US", "Australia East", "Australia Southeast"]
azure.cosmosdb.operation.request_chargeDevelopmentdoubleThe number of request units consumed by the operation.46.18; 1.0
azure.cosmosdb.request.body.sizeDevelopmentintRequest payload size in bytes.
azure.cosmosdb.response.sub_status_codeDevelopmentintCosmos DB sub status code.1000; 1002

[1] azure.cosmosdb.operation.contacted_regions: Region name matches the format of displayName in Azure Location API


azure.cosmosdb.connection.mode has the following list of well-known values. If one of them applies, then the respective value MUST be used; otherwise, a custom value MAY be used.

ValueDescriptionStability
directDirect connection.Development
gatewayGateway (HTTP) connection.Development

azure.cosmosdb.consistency.level has the following list of well-known values. If one of them applies, then the respective value MUST be used; otherwise, a custom value MAY be used.

ValueDescriptionStability
BoundedStalenessBounded StalenessDevelopment
ConsistentPrefixConsistent PrefixDevelopment
EventualEventualDevelopment
SessionSessionDevelopment
StrongStrongDevelopment

Deprecated Azure Attributes

This section describes deprecated Azure attributes.

Attributes:

KeyStabilityValue TypeDescriptionExample Values
az.namespaceDeprecated
Replaced by azure.resource_provider.namespace.
stringDeprecated, use azure.resource_provider.namespace instead.Microsoft.Storage; Microsoft.KeyVault; Microsoft.ServiceBus
az.service_request_idDeprecated
Replaced by azure.service.request.id.
stringDeprecated, use azure.service.request.id instead.00000000-0000-0000-0000-000000000000