Skip to content

Commit 0d9e1b4

Browse files
authored
semantic-conventions: bump to 1.37.0 (#4731)
* semantic-conventions: bump to 1.37.0 * Add changelog
1 parent 31289bd commit 0d9e1b4

29 files changed

+1591
-223
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1818
([#4695](https://github.com/open-telemetry/opentelemetry-python/pull/4695)).
1919
- docs: linked the examples with their github source code location and added Prometheus example
2020
([#4728](https://github.com/open-telemetry/opentelemetry-python/pull/4728))
21+
- semantic-conventions: Bump to 1.37.0
22+
([#4731](https://github.com/open-telemetry/opentelemetry-python/pull/4731))
2123

2224
## Version 1.36.0/0.57b0 (2025-07-29)
2325

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

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@
1414

1515
from typing import Final
1616

17+
APP_BUILD_ID: Final = "app.build_id"
18+
"""
19+
Unique identifier for a particular build or compilation of the application.
20+
"""
21+
1722
APP_INSTALLATION_ID: Final = "app.installation.id"
1823
"""
1924
A unique identifier representing the installation of an application on a specific device.
@@ -33,7 +38,23 @@
3338
- [App set ID](https://developer.android.com/identity/app-set-id).
3439
- [`Settings.getString(Settings.Secure.ANDROID_ID)`](https://developer.android.com/reference/android/provider/Settings.Secure#ANDROID_ID).
3540
36-
More information about Android identifier best practices can be found [here](https://developer.android.com/training/articles/user-data-ids).
41+
More information about Android identifier best practices can be found in the [Android user data IDs guide](https://developer.android.com/training/articles/user-data-ids).
42+
"""
43+
44+
APP_JANK_FRAME_COUNT: Final = "app.jank.frame_count"
45+
"""
46+
A number of frame renders that experienced jank.
47+
Note: Depending on platform limitations, the value provided MAY be approximation.
48+
"""
49+
50+
APP_JANK_PERIOD: Final = "app.jank.period"
51+
"""
52+
The time period, in seconds, for which this jank is being reported.
53+
"""
54+
55+
APP_JANK_THRESHOLD: Final = "app.jank.threshold"
56+
"""
57+
The minimum rendering threshold for this jank, in seconds.
3758
"""
3859

3960
APP_SCREEN_COORDINATE_X: Final = "app.screen.coordinate.x"

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -340,6 +340,6 @@
340340

341341
class AwsEcsLaunchtypeValues(Enum):
342342
EC2 = "ec2"
343-
"""ec2."""
343+
"""Amazon EC2."""
344344
FARGATE = "fargate"
345-
"""fargate."""
345+
"""Amazon Fargate."""

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -77,12 +77,12 @@ class AzureCosmosdbConnectionModeValues(Enum):
7777

7878
class AzureCosmosdbConsistencyLevelValues(Enum):
7979
STRONG = "Strong"
80-
"""strong."""
80+
"""Strong."""
8181
BOUNDED_STALENESS = "BoundedStaleness"
82-
"""bounded_staleness."""
82+
"""Bounded Staleness."""
8383
SESSION = "Session"
84-
"""session."""
84+
"""Session."""
8585
EVENTUAL = "Eventual"
86-
"""eventual."""
86+
"""Eventual."""
8787
CONSISTENT_PREFIX = "ConsistentPrefix"
88-
"""consistent_prefix."""
88+
"""Consistent Prefix."""

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

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -50,24 +50,24 @@
5050

5151
class CassandraConsistencyLevelValues(Enum):
5252
ALL = "all"
53-
"""all."""
53+
"""All."""
5454
EACH_QUORUM = "each_quorum"
55-
"""each_quorum."""
55+
"""Each Quorum."""
5656
QUORUM = "quorum"
57-
"""quorum."""
57+
"""Quorum."""
5858
LOCAL_QUORUM = "local_quorum"
59-
"""local_quorum."""
59+
"""Local Quorum."""
6060
ONE = "one"
61-
"""one."""
61+
"""One."""
6262
TWO = "two"
63-
"""two."""
63+
"""Two."""
6464
THREE = "three"
65-
"""three."""
65+
"""Three."""
6666
LOCAL_ONE = "local_one"
67-
"""local_one."""
67+
"""Local One."""
6868
ANY = "any"
69-
"""any."""
69+
"""Any."""
7070
SERIAL = "serial"
71-
"""serial."""
71+
"""Serial."""
7272
LOCAL_SERIAL = "local_serial"
73-
"""local_serial."""
73+
"""Local Serial."""

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

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,9 +97,24 @@
9797

9898
CONTAINER_RUNTIME: Final = "container.runtime"
9999
"""
100+
Deprecated: Replaced by `container.runtime.name`.
101+
"""
102+
103+
CONTAINER_RUNTIME_DESCRIPTION: Final = "container.runtime.description"
104+
"""
105+
A description about the runtime which could include, for example details about the CRI/API version being used or other customisations.
106+
"""
107+
108+
CONTAINER_RUNTIME_NAME: Final = "container.runtime.name"
109+
"""
100110
The container runtime managing this container.
101111
"""
102112

113+
CONTAINER_RUNTIME_VERSION: Final = "container.runtime.version"
114+
"""
115+
The version of the runtime of this process, as returned by the runtime without modification.
116+
"""
117+
103118

104119
@deprecated(
105120
"The attribute container.cpu.state is deprecated - Replaced by `cpu.mode`"

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

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -28,18 +28,18 @@
2828

2929
class CpuModeValues(Enum):
3030
USER = "user"
31-
"""user."""
31+
"""User."""
3232
SYSTEM = "system"
33-
"""system."""
33+
"""System."""
3434
NICE = "nice"
35-
"""nice."""
35+
"""Nice."""
3636
IDLE = "idle"
37-
"""idle."""
37+
"""Idle."""
3838
IOWAIT = "iowait"
39-
"""iowait."""
39+
"""IO Wait."""
4040
INTERRUPT = "interrupt"
41-
"""interrupt."""
41+
"""Interrupt."""
4242
STEAL = "steal"
43-
"""steal."""
43+
"""Steal."""
4444
KERNEL = "kernel"
45-
"""kernel."""
45+
"""Kernel."""

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,7 @@ class DbSystemValues(Enum):
410410
COCKROACHDB = "cockroachdb"
411411
"""CockroachDB."""
412412
COLDFUSION = "coldfusion"
413-
"""Deprecated: Removed."""
413+
"""Deprecated: Obsoleted."""
414414
COSMOSDB = "cosmosdb"
415415
"""Microsoft Azure Cosmos DB."""
416416
COUCHBASE = "couchbase"
@@ -466,7 +466,7 @@ class DbSystemValues(Enum):
466466
MSSQL = "mssql"
467467
"""Microsoft SQL Server."""
468468
MSSQLCOMPACT = "mssqlcompact"
469-
"""Deprecated: Removed, use `other_sql` instead."""
469+
"""Deprecated: Replaced by `other_sql`."""
470470
MYSQL = "mysql"
471471
"""MySQL."""
472472
NEO4J = "neo4j"

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
However, it might be resettable by the user for all apps on a device.
2222
Hardware IDs (e.g. vendor-specific serial number, IMEI or MAC address) MAY be used as values.
2323
24-
More information about Android identifier best practices can be found [here](https://developer.android.com/training/articles/user-data-ids).
24+
More information about Android identifier best practices can be found in the [Android user data IDs guide](https://developer.android.com/training/articles/user-data-ids).
2525
2626
> [!WARNING]
2727
>

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

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

3535
ENDUSER_ROLE: Final = "enduser.role"
3636
"""
37-
Deprecated: Use `user.roles` attribute instead.
37+
Deprecated: Replaced by `user.roles`.
3838
"""
3939

4040
ENDUSER_SCOPE: Final = "enduser.scope"

0 commit comments

Comments
 (0)