semantic-conventions/model/azure/registry.yaml

93 lines
3.7 KiB
YAML

groups:
- id: registry.azure.client.sdk
type: attribute_group
display_name: Azure Client Library Attributes
brief: >
This section defines generic attributes used by Azure Client Libraries.
attributes:
- id: az.service_request_id
type: string
stability: development
brief: "The unique identifier of the service request. It's generated by the Azure service and returned with the response."
examples:
- "00000000-0000-0000-0000-000000000000"
- id: az.namespace
type: string
stability: development
brief: >
[Azure Resource Provider Namespace](https://learn.microsoft.com/azure/azure-resource-manager/management/azure-services-resource-providers)
as recognized by the client.
examples: ["Microsoft.Storage", "Microsoft.KeyVault", "Microsoft.ServiceBus"]
- id: azure.client.id
type: string
stability: development
brief: The unique identifier of the client instance.
examples: ["3ba4827d-4422-483f-b59f-85b74211c11d", "storage-client-1"]
- id: registry.azure.cosmosdb
type: attribute_group
display_name: Azure Cosmos DB Attributes
stability: development
brief: >
This section defines attributes for Azure Cosmos DB.
attributes:
- id: azure.cosmosdb.connection.mode
type:
members:
- id: gateway
value: "gateway"
brief: Gateway (HTTP) connection.
stability: development
- id: direct
value: "direct"
brief: Direct connection.
stability: development
stability: development
brief: Cosmos client connection mode.
- id: azure.cosmosdb.operation.request_charge
type: double
stability: development
brief: >
The number of request units consumed by the operation.
examples: [46.18, 1.0]
- id: azure.cosmosdb.request.body.size
type: int
stability: development
brief: Request payload size in bytes.
- id: azure.cosmosdb.operation.contacted_regions
type: string[]
stability: development
brief: >
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.
note: >
Region name matches the format of `displayName`
in [Azure Location API](https://learn.microsoft.com/rest/api/subscription/subscriptions/list-locations?view=rest-subscription-2021-10-01&tabs=HTTP#location)
examples:
- ["North Central US", "Australia East", "Australia Southeast"]
- id: azure.cosmosdb.response.sub_status_code
type: int
stability: development
brief: Cosmos DB sub status code.
examples: [1000, 1002]
- id: azure.cosmosdb.consistency.level
type:
members:
- id: strong
value: "Strong"
stability: development
- id: bounded_staleness
value: "BoundedStaleness"
stability: development
- id: session
value: "Session"
stability: development
- id: eventual
value: "Eventual"
stability: development
- id: consistent_prefix
value: "ConsistentPrefix"
stability: development
stability: development
brief: Account or request [consistency level](https://learn.microsoft.com/azure/cosmos-db/consistency-levels).
examples: ["Eventual", "ConsistentPrefix", "BoundedStaleness", "Strong", "Session"]