Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
([#4695](https://github.com/open-telemetry/opentelemetry-python/pull/4695)).
- docs: linked the examples with their github source code location and added Prometheus example
([#4728](https://github.com/open-telemetry/opentelemetry-python/pull/4728))
- semantic-conventions: Bump to 1.37.0
([#4731](https://github.com/open-telemetry/opentelemetry-python/pull/4731))

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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@

from typing import Final

APP_BUILD_ID: Final = "app.build_id"
"""
Unique identifier for a particular build or compilation of the application.
"""

APP_INSTALLATION_ID: Final = "app.installation.id"
"""
A unique identifier representing the installation of an application on a specific device.
Expand All @@ -33,7 +38,23 @@
- [App set ID](https://developer.android.com/identity/app-set-id).
- [`Settings.getString(Settings.Secure.ANDROID_ID)`](https://developer.android.com/reference/android/provider/Settings.Secure#ANDROID_ID).

More information about Android identifier best practices can be found [here](https://developer.android.com/training/articles/user-data-ids).
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).
"""

APP_JANK_FRAME_COUNT: Final = "app.jank.frame_count"
"""
A number of frame renders that experienced jank.
Note: Depending on platform limitations, the value provided MAY be approximation.
"""

APP_JANK_PERIOD: Final = "app.jank.period"
"""
The time period, in seconds, for which this jank is being reported.
"""

APP_JANK_THRESHOLD: Final = "app.jank.threshold"
"""
The minimum rendering threshold for this jank, in seconds.
"""

APP_SCREEN_COORDINATE_X: Final = "app.screen.coordinate.x"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -340,6 +340,6 @@

class AwsEcsLaunchtypeValues(Enum):
EC2 = "ec2"
"""ec2."""
"""Amazon EC2."""
FARGATE = "fargate"
"""fargate."""
"""Amazon Fargate."""
Original file line number Diff line number Diff line change
Expand Up @@ -77,12 +77,12 @@ class AzureCosmosdbConnectionModeValues(Enum):

class AzureCosmosdbConsistencyLevelValues(Enum):
STRONG = "Strong"
"""strong."""
"""Strong."""
BOUNDED_STALENESS = "BoundedStaleness"
"""bounded_staleness."""
"""Bounded Staleness."""
SESSION = "Session"
"""session."""
"""Session."""
EVENTUAL = "Eventual"
"""eventual."""
"""Eventual."""
CONSISTENT_PREFIX = "ConsistentPrefix"
"""consistent_prefix."""
"""Consistent Prefix."""
Original file line number Diff line number Diff line change
Expand Up @@ -50,24 +50,24 @@

class CassandraConsistencyLevelValues(Enum):
ALL = "all"
"""all."""
"""All."""
EACH_QUORUM = "each_quorum"
"""each_quorum."""
"""Each Quorum."""
QUORUM = "quorum"
"""quorum."""
"""Quorum."""
LOCAL_QUORUM = "local_quorum"
"""local_quorum."""
"""Local Quorum."""
ONE = "one"
"""one."""
"""One."""
TWO = "two"
"""two."""
"""Two."""
THREE = "three"
"""three."""
"""Three."""
LOCAL_ONE = "local_one"
"""local_one."""
"""Local One."""
ANY = "any"
"""any."""
"""Any."""
SERIAL = "serial"
"""serial."""
"""Serial."""
LOCAL_SERIAL = "local_serial"
"""local_serial."""
"""Local Serial."""
Original file line number Diff line number Diff line change
Expand Up @@ -97,9 +97,24 @@

CONTAINER_RUNTIME: Final = "container.runtime"
"""
Deprecated: Replaced by `container.runtime.name`.
"""

CONTAINER_RUNTIME_DESCRIPTION: Final = "container.runtime.description"
"""
A description about the runtime which could include, for example details about the CRI/API version being used or other customisations.
"""

CONTAINER_RUNTIME_NAME: Final = "container.runtime.name"
"""
The container runtime managing this container.
"""

CONTAINER_RUNTIME_VERSION: Final = "container.runtime.version"
"""
The version of the runtime of this process, as returned by the runtime without modification.
"""


@deprecated(
"The attribute container.cpu.state is deprecated - Replaced by `cpu.mode`"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,18 +28,18 @@

class CpuModeValues(Enum):
USER = "user"
"""user."""
"""User."""
SYSTEM = "system"
"""system."""
"""System."""
NICE = "nice"
"""nice."""
"""Nice."""
IDLE = "idle"
"""idle."""
"""Idle."""
IOWAIT = "iowait"
"""iowait."""
"""IO Wait."""
INTERRUPT = "interrupt"
"""interrupt."""
"""Interrupt."""
STEAL = "steal"
"""steal."""
"""Steal."""
KERNEL = "kernel"
"""kernel."""
"""Kernel."""
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,7 @@ class DbSystemValues(Enum):
COCKROACHDB = "cockroachdb"
"""CockroachDB."""
COLDFUSION = "coldfusion"
"""Deprecated: Removed."""
"""Deprecated: Obsoleted."""
COSMOSDB = "cosmosdb"
"""Microsoft Azure Cosmos DB."""
COUCHBASE = "couchbase"
Expand Down Expand Up @@ -466,7 +466,7 @@ class DbSystemValues(Enum):
MSSQL = "mssql"
"""Microsoft SQL Server."""
MSSQLCOMPACT = "mssqlcompact"
"""Deprecated: Removed, use `other_sql` instead."""
"""Deprecated: Replaced by `other_sql`."""
MYSQL = "mysql"
"""MySQL."""
NEO4J = "neo4j"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
However, it might be resettable by the user for all apps on a device.
Hardware IDs (e.g. vendor-specific serial number, IMEI or MAC address) MAY be used as values.

More information about Android identifier best practices can be found [here](https://developer.android.com/training/articles/user-data-ids).
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).

> [!WARNING]
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@

ENDUSER_ROLE: Final = "enduser.role"
"""
Deprecated: Use `user.roles` attribute instead.
Deprecated: Replaced by `user.roles`.
"""

ENDUSER_SCOPE: Final = "enduser.scope"
Expand Down
Loading
Loading