Skip to content

Commit 30e2017

Browse files
committed
Bump semantic-conventions to 1.36.0
Signed-off-by: emdneto <[email protected]>
1 parent 43341d7 commit 30e2017

File tree

21 files changed

+1284
-238
lines changed

21 files changed

+1284
-238
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
3434
([#4649](https://github.com/open-telemetry/opentelemetry-python/pull/4649))
3535
- proto: relax protobuf version requirement to support v6
3636
([#4620](https://github.com/open-telemetry/opentelemetry-python/pull/4620))
37+
- Bump semantic-conventions to 1.36.0
38+
([#4669](https://github.com/open-telemetry/opentelemetry-python/pull/4669))
3739

3840
## Version 1.34.0/0.55b0 (2025-06-04)
3941

opentelemetry-semantic-conventions/src/opentelemetry/semconv/_incubating/attributes/az_attributes.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@
1616

1717
AZ_NAMESPACE: Final = "az.namespace"
1818
"""
19-
[Azure Resource Provider Namespace](https://learn.microsoft.com/azure/azure-resource-manager/management/azure-services-resource-providers) as recognized by the client.
19+
Deprecated: Replaced by `azure.resource_provider.namespace`.
2020
"""
2121

2222
AZ_SERVICE_REQUEST_ID: Final = "az.service_request_id"
2323
"""
24-
The unique identifier of the service request. It's generated by the Azure service and returned with the response.
24+
Deprecated: Replaced by `azure.service.request.id`.
2525
"""

opentelemetry-semantic-conventions/src/opentelemetry/semconv/_incubating/attributes/azure_attributes.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,16 @@
5757
Cosmos DB sub status code.
5858
"""
5959

60+
AZURE_RESOURCE_PROVIDER_NAMESPACE: Final = "azure.resource_provider.namespace"
61+
"""
62+
[Azure Resource Provider Namespace](https://learn.microsoft.com/azure/azure-resource-manager/management/azure-services-resource-providers) as recognized by the client.
63+
"""
64+
65+
AZURE_SERVICE_REQUEST_ID: Final = "azure.service.request.id"
66+
"""
67+
The unique identifier of the service request. It's generated by the Azure service and returned with the response.
68+
"""
69+
6070

6171
class AzureCosmosdbConnectionModeValues(Enum):
6272
GATEWAY = "gateway"

opentelemetry-semantic-conventions/src/opentelemetry/semconv/_incubating/attributes/cloud_attributes.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
with the resolved function version, as the same runtime instance may be invocable with
5959
multiple different aliases.
6060
- **GCP:** The [URI of the resource](https://cloud.google.com/iam/docs/full-resource-names)
61-
- **Azure:** The [Fully Qualified Resource ID](https://docs.microsoft.com/rest/api/resources/resources/get-by-id) of the invoked function,
61+
- **Azure:** The [Fully Qualified Resource ID](https://learn.microsoft.com/rest/api/resources/resources/get-by-id) of the invoked function,
6262
*not* the function app, having the form
6363
`/subscriptions/<SUBSCRIPTION_GUID>/resourceGroups/<RG>/providers/Microsoft.Web/sites/<FUNCAPP>/functions/<FUNC>`.
6464
This means that a span attribute MUST be used, as an Azure function app can host multiple functions that would usually share
@@ -87,19 +87,19 @@ class CloudPlatformValues(Enum):
8787
"""AWS App Runner."""
8888
AWS_OPENSHIFT = "aws_openshift"
8989
"""Red Hat OpenShift on AWS (ROSA)."""
90-
AZURE_VM = "azure_vm"
90+
AZURE_VM = "azure.vm"
9191
"""Azure Virtual Machines."""
92-
AZURE_CONTAINER_APPS = "azure_container_apps"
92+
AZURE_CONTAINER_APPS = "azure.container_apps"
9393
"""Azure Container Apps."""
94-
AZURE_CONTAINER_INSTANCES = "azure_container_instances"
94+
AZURE_CONTAINER_INSTANCES = "azure.container_instances"
9595
"""Azure Container Instances."""
96-
AZURE_AKS = "azure_aks"
96+
AZURE_AKS = "azure.aks"
9797
"""Azure Kubernetes Service."""
98-
AZURE_FUNCTIONS = "azure_functions"
98+
AZURE_FUNCTIONS = "azure.functions"
9999
"""Azure Functions."""
100-
AZURE_APP_SERVICE = "azure_app_service"
100+
AZURE_APP_SERVICE = "azure.app_service"
101101
"""Azure App Service."""
102-
AZURE_OPENSHIFT = "azure_openshift"
102+
AZURE_OPENSHIFT = "azure.openshift"
103103
"""Azure Red Hat OpenShift."""
104104
GCP_BARE_METAL_SOLUTION = "gcp_bare_metal_solution"
105105
"""Google Bare Metal Solution (BMS)."""

opentelemetry-semantic-conventions/src/opentelemetry/semconv/_incubating/attributes/dns_attributes.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@
1414

1515
from typing import Final
1616

17+
DNS_ANSWERS: Final = "dns.answers"
18+
"""
19+
The list of IPv4 or IPv6 addresses resolved during DNS lookup.
20+
"""
21+
1722
DNS_QUESTION_NAME: Final = "dns.question.name"
1823
"""
1924
The name being queried.

opentelemetry-semantic-conventions/src/opentelemetry/semconv/_incubating/attributes/gen_ai_attributes.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -302,10 +302,14 @@ class GenAiSystemValues(Enum):
302302
"""Anthropic."""
303303
COHERE = "cohere"
304304
"""Cohere."""
305-
AZ_AI_INFERENCE = "az.ai.inference"
305+
AZURE_AI_INFERENCE = "azure.ai.inference"
306306
"""Azure AI Inference."""
307-
AZ_AI_OPENAI = "az.ai.openai"
307+
AZURE_AI_OPENAI = "azure.ai.openai"
308308
"""Azure OpenAI."""
309+
AZ_AI_INFERENCE = "az.ai.inference"
310+
"""Deprecated: Replaced by azure.ai.inference."""
311+
AZ_AI_OPENAI = "azure.ai.openai"
312+
"""Deprecated: Replaced by azure.ai.openai."""
309313
IBM_WATSONX_AI = "ibm.watsonx.ai"
310314
"""IBM Watsonx AI."""
311315
AWS_BEDROCK = "aws.bedrock"

opentelemetry-semantic-conventions/src/opentelemetry/semconv/_incubating/attributes/http_attributes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@
106106

107107
HTTP_RESPONSE_CONTENT_LENGTH: Final = "http.response_content_length"
108108
"""
109-
Deprecated: hp.response.header.content-length.
109+
Deprecated: Replaced by `http.response.header.content-length`.
110110
"""
111111

112112
HTTP_RESPONSE_CONTENT_LENGTH_UNCOMPRESSED: Final = (

0 commit comments

Comments
 (0)