Azure
- General Azure Attributes
- Azure Client Library Attributes
- Azure Cosmos DB Attributes
- Azure Event Hubs Attributes
- Azure Service Bus Attributes
- Deprecated Azure Attributes
General Azure Attributes
This section defines generic attributes for Azure services.
Attributes:
| Key | Stability | Value Type | Description | Example Values |
|---|---|---|---|---|
azure.resource_group.name | string | The name of the Azure resource group the resource belongs to. | my-resource-group; rg-myapp-prod |
Azure Client Library Attributes
This section defines generic attributes used by Azure Client Libraries.
Attributes:
| Key | Stability | Value Type | Description | Example Values |
|---|---|---|---|---|
azure.client.id | string | The unique identifier of the client instance. | 3ba4827d-4422-483f-b59f-85b74211c11d; storage-client-1 | |
azure.resource_provider.namespace | string | Azure Resource Provider Namespace as recognized by the client. | Microsoft.Storage; Microsoft.KeyVault; Microsoft.ServiceBus | |
azure.service.request.id | string | The 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:
| Key | Stability | Value Type | Description | Example Values |
|---|---|---|---|---|
azure.cosmosdb.connection.mode | string | Cosmos client connection mode. | gateway; direct (see more) | |
azure.cosmosdb.consistency.level | string | Account or request consistency level. | Eventual; ConsistentPrefix; BoundedStaleness; Strong; Session (see more) | |
azure.cosmosdb.operation.contacted_regions | string[] | 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_charge | double | The number of request units consumed by the operation. | 46.18; 1.0 | |
azure.cosmosdb.request.body.size | int | Request payload size in bytes. | ||
azure.cosmosdb.response.sub_status_code | int | Cosmos 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.
| Value | Description | Stability |
|---|---|---|
direct | Direct connection. | |
gateway | Gateway (HTTP) connection. |
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.
| Value | Description | Stability |
|---|---|---|
BoundedStaleness | Bounded Staleness | |
ConsistentPrefix | Consistent Prefix | |
Eventual | Eventual | |
Session | Session | |
Strong | Strong |
Azure Event Hubs Attributes
This group describes attributes specific to Azure Event Hubs.
Attributes:
| Key | Stability | Value Type | Description | Example Values |
|---|---|---|---|---|
azure.eventhubs.message.enqueued_time | int | The UTC epoch seconds at which the message has been accepted and stored in the entity. | 1701393730 |
Azure Service Bus Attributes
This group describes attributes specific to Azure Service Bus.
Attributes:
| Key | Stability | Value Type | Description | Example Values |
|---|---|---|---|---|
azure.servicebus.disposition_status | string | Describes the settlement type. | complete; abandon; dead_letter (see more) | |
azure.servicebus.message.delivery_count | int | Number of deliveries that have been attempted for this message. | 2 | |
azure.servicebus.message.enqueued_time | int | The UTC epoch seconds at which the message has been accepted and stored in the entity. | 1701393730 |
azure.servicebus.disposition_status 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.
| Value | Description | Stability |
|---|---|---|
abandon | Message is abandoned | |
complete | Message is completed | |
dead_letter | Message is sent to dead letter queue | |
defer | Message is deferred |
Deprecated Azure Attributes
This section describes deprecated Azure attributes.
Attributes:
| Key | Stability | Value Type | Description | Example Values |
|---|---|---|---|---|
az.namespace | Replaced by azure.resource_provider.namespace. | string | Deprecated, use azure.resource_provider.namespace instead. | Microsoft.Storage; Microsoft.KeyVault; Microsoft.ServiceBus |
az.service_request_id | Replaced by azure.service.request.id. | string | Deprecated, use azure.service.request.id instead. | 00000000-0000-0000-0000-000000000000 |
Feedback
Was this page helpful?
Thank you. Your feedback is appreciated!
Please let us know how we can improve this page. Your feedback is appreciated!