From ee322859eb9436aaffae4366d29a32f4723d5988 Mon Sep 17 00:00:00 2001 From: Radhika Gupta Date: Thu, 5 Nov 2026 13:02:15 -0800 Subject: [PATCH 1/4] microsoft-opentelemetry release 1.6.0 --- CHANGELOG.md | 2 +- pyproject.toml | 2 +- src/microsoft/opentelemetry/_version.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5ea3318ce..2c10086d7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,5 @@ # Release History -# Unreleased +# 1.6.0 (2026-11-05) ### Features Added - Add handoff details to Agent365 tool spans, including the transfer mode and target agent, human, or workflow. diff --git a/pyproject.toml b/pyproject.toml index e583f81f1..aaa4c360c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "microsoft-opentelemetry" -version = "1.5.0" +version = "1.6.0" description = "Microsoft OpenTelemetry distro for Python" readme = "README.md" requires-python = ">=3.10" diff --git a/src/microsoft/opentelemetry/_version.py b/src/microsoft/opentelemetry/_version.py index 98c437ab7..7204aa308 100644 --- a/src/microsoft/opentelemetry/_version.py +++ b/src/microsoft/opentelemetry/_version.py @@ -4,4 +4,4 @@ # license information. # -------------------------------------------------------------------------- -VERSION = "1.5.0" +VERSION = "1.6.0" From 3c564bb4794e530282413f06887fd49fb4b567dd Mon Sep 17 00:00:00 2001 From: Radhika Gupta Date: Thu, 5 Nov 2026 13:10:09 -0800 Subject: [PATCH 2/4] Add missing links and update min exporter version --- CHANGELOG.md | 9 +++++++++ pyproject.toml | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2c10086d7..707b701b3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -21,10 +21,12 @@ Provision a private service-account-owned root (normally `0700` on Unix), review ACLs and ancestors, and protect against path replacement. Upstream cache permission enforcement remains enabled. + ([#300](https://github.com/microsoft/opentelemetry-distro-python/pull/300)) - Explicit Agent365 roots on Linux/macOS must not be symlinks, foreign-owned (other than root), or group/world-writable. Invalid roots disable offline delivery without changing their permissions. Missing roots are created with mode `0700` subject to umask and validated before cache initialization. + ([#300](https://github.com/microsoft/opentelemetry-distro-python/pull/300)) ### Bugs Fixed - Export Agent365 `text_completion` and `generate_content` inference spans instead of filtering them out. @@ -35,24 +37,31 @@ - Invalid Agent365 storage configuration or provider initialization failure logs a nonfatal error and disables only offline buffering/replay, preserving online export. Explicit offline disablement bypasses storage initialization. + ([#300](https://github.com/microsoft/opentelemetry-distro-python/pull/300)) - Malformed durable records with oversized numeric timestamps are logged and discarded without interrupting replay of valid records in the same batch. + ([#300](https://github.com/microsoft/opentelemetry-distro-python/pull/300)) - Normalize configured Agent365 roots with the storage provider's `abspath` rules before validation, so symlinks followed by `..` cannot redirect the checks to a different root. Legacy-backlog warnings use the same root. + ([#300](https://github.com/microsoft/opentelemetry-distro-python/pull/300)) - Serialize Agent365 cache enumeration and lease transitions across Windows threads and processes, including storage maintenance, to prevent concurrent consumers from claiming the same record. + ([#300](https://github.com/microsoft/opentelemetry-distro-python/pull/300)) - Isolate Agent365 storage setup diagnostics from Azure Monitor's process-global customer SDKStats state while preserving upstream permission enforcement. + ([#300](https://github.com/microsoft/opentelemetry-distro-python/pull/300)) - Log blob deletion-check filesystem errors without interrupting replay of other valid Agent365 records in the same batch. Verify deletion with `stat()` so Python 3.14 does not silently treat access failures as missing blobs. + ([#300](https://github.com/microsoft/opentelemetry-distro-python/pull/300)) - Include the request's session ID on Agent365 tool and inference spans without requiring a baggage processor. ([#310](https://github.com/microsoft/opentelemetry-distro-python/pull/310)) ### Other Changes - Update the `AZURE_OPENAI_API_VERSION` fallback version in integration tests + ([#302](https://github.com/microsoft/opentelemetry-distro-python/pull/302)) # 1.5.0 (2026-10-20) ### Features Added diff --git a/pyproject.toml b/pyproject.toml index aaa4c360c..599cecdfa 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -23,7 +23,7 @@ classifiers = [ dependencies = [ "azure-core<2.0.0,>=1.38.0", "azure-core-tracing-opentelemetry~=1.0.0b11", - "azure-monitor-opentelemetry-exporter~=1.0.0b58", + "azure-monitor-opentelemetry-exporter~=1.0.0b59", "opentelemetry-sdk~=1.45.1", "opentelemetry-api~=1.45.1", "opentelemetry-exporter-otlp-proto-http~=1.45.1", From f6a20f1d7fd8fd7d7ab414dc6bc56ce6a6dcb0c4 Mon Sep 17 00:00:00 2001 From: Radhika Gupta Date: Thu, 5 Nov 2026 13:18:24 -0800 Subject: [PATCH 3/4] update distro version --- .github/workflows/pr-validation.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pr-validation.yml b/.github/workflows/pr-validation.yml index 5ad2fcfb9..4bc83a36d 100644 --- a/.github/workflows/pr-validation.yml +++ b/.github/workflows/pr-validation.yml @@ -127,7 +127,7 @@ jobs: with: python-version: "3.10" - name: Install package and pinned storage provider - run: python -m pip install -e ".[test]" "azure-monitor-opentelemetry-exporter==1.0.0b58" + run: python -m pip install -e ".[test]" "azure-monitor-opentelemetry-exporter~=1.0.0b59" - name: Exercise real filesystem storage and replay run: >- python -m pytest From fcc2c47ddf1f506c86ca3555141ad9c59ccd7bfb Mon Sep 17 00:00:00 2001 From: Radhika Gupta Date: Thu, 5 Nov 2026 16:03:40 -0800 Subject: [PATCH 4/4] Update uv.lock --- .github/workflows/pr-validation.yml | 2 +- uv.lock | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/pr-validation.yml b/.github/workflows/pr-validation.yml index 4bc83a36d..e01ba8c43 100644 --- a/.github/workflows/pr-validation.yml +++ b/.github/workflows/pr-validation.yml @@ -127,7 +127,7 @@ jobs: with: python-version: "3.10" - name: Install package and pinned storage provider - run: python -m pip install -e ".[test]" "azure-monitor-opentelemetry-exporter~=1.0.0b59" + run: python -m pip install -e ".[test]" "azure-monitor-opentelemetry-exporter==1.0.0b59" - name: Exercise real filesystem storage and replay run: >- python -m pytest diff --git a/uv.lock b/uv.lock index 123e4e8d6..f461198ef 100644 --- a/uv.lock +++ b/uv.lock @@ -1035,8 +1035,8 @@ wheels = [ [[package]] name = "azure-monitor-opentelemetry-exporter" -version = "1.0.0b58" -source = { registry = "https://pypi.org/simple" } +version = "1.0.0b59" +source = { registry = "https://packagefeedproxy.microsoft.io/pypi/simple" } dependencies = [ { name = "azure-core" }, { name = "azure-identity" }, @@ -1045,9 +1045,9 @@ dependencies = [ { name = "opentelemetry-sdk" }, { name = "psutil" }, ] -sdist = { url = "https://files.pythonhosted.org/packages/95/33/feadb708d9b8de6cc846118f287110d069ebeaee2d3abf9433695c2800ae/azure_monitor_opentelemetry_exporter-1.0.0b58.tar.gz", hash = "sha256:5152d75bd9780fef02fcc9550e0323ba3f661a8fcba017ea04b027151ae0932e", size = 362674, upload-time = "2026-10-07T17:35:54.445Z" } +sdist = { url = "https://ms-feed-25.pkgs.visualstudio.com/6f084628-a36d-42cb-934d-057357e379dc/_packaging/49d7402f-07bb-4b18-a9ce-086e6e98a554/pypi/download/azure-monitor-opentelemetry-exporter/1b59/azure_monitor_opentelemetry_exporter-1.0.0b59.tar.gz", hash = "sha256:0dfaec6b1aada54a4c8f4572fd1e1da67609459caf418298b5d91b4c67c0282e", size = 369603, upload-time = "2026-11-05T20:51:56Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/55/fe/a010e943605fc017b1030159851e48e715fb5616675447f0d8c0a74de4e6/azure_monitor_opentelemetry_exporter-1.0.0b58-py2.py3-none-any.whl", hash = "sha256:cf036f7a99515d4e6626f3c33e5ac1ae633731882239542353e1f4a17285e9fc", size = 257459, upload-time = "2026-10-07T17:35:56.218Z" }, + { url = "https://ms-feed-25.pkgs.visualstudio.com/6f084628-a36d-42cb-934d-057357e379dc/_packaging/49d7402f-07bb-4b18-a9ce-086e6e98a554/pypi/download/azure-monitor-opentelemetry-exporter/1b59/azure_monitor_opentelemetry_exporter-1.0.0b59-py2.py3-none-any.whl", hash = "sha256:e831b74132fb899e640cddbb340f0fbfe11937f788715ce3f0acd120c8e91227", size = 259551, upload-time = "2026-11-05T23:19:11Z" }, ] [[package]] @@ -2720,7 +2720,7 @@ wheels = [ [[package]] name = "microsoft-opentelemetry" -version = "1.5.0" +version = "1.6.0" source = { editable = "." } dependencies = [ { name = "aiohttp" }, @@ -2790,7 +2790,7 @@ requires-dist = [ { name = "aiohttp", specifier = ">=3.8.0" }, { name = "azure-core", specifier = ">=1.38.0,<2.0.0" }, { name = "azure-core-tracing-opentelemetry", specifier = "~=1.0.0b11" }, - { name = "azure-monitor-opentelemetry-exporter", specifier = "~=1.0.0b58" }, + { name = "azure-monitor-opentelemetry-exporter", specifier = "~=1.0.0b59" }, { name = "black", marker = "extra == 'dev'", specifier = ">=26.10.1" }, { name = "microsoft-agents-activity", marker = "extra == 'hosting'", specifier = ">=0.9.0" }, { name = "microsoft-agents-hosting-core", marker = "extra == 'hosting'", specifier = ">=0.9.0" },