From 2a017beebc8b5f3145e890b653a2c5f2dccfbdbf Mon Sep 17 00:00:00 2001 From: Jeremy Voss Date: Wed, 4 Sep 2024 21:38:49 -0700 Subject: [PATCH] Update otel to fix fastapi (#37206) --- .../azure-monitor-opentelemetry/CHANGELOG.md | 9 +++------ sdk/monitor/azure-monitor-opentelemetry/setup.py | 16 ++++++++-------- 2 files changed, 11 insertions(+), 14 deletions(-) diff --git a/sdk/monitor/azure-monitor-opentelemetry/CHANGELOG.md b/sdk/monitor/azure-monitor-opentelemetry/CHANGELOG.md index 7ce27b32058d..e04f6fa6e3a7 100644 --- a/sdk/monitor/azure-monitor-opentelemetry/CHANGELOG.md +++ b/sdk/monitor/azure-monitor-opentelemetry/CHANGELOG.md @@ -1,14 +1,11 @@ # Release History -## 1.6.2 (Unreleased) - -### Features Added - -### Breaking Changes +## 1.6.2 (2024-09-05) ### Bugs Fixed -### Other Changes +- Update OTel sdk and instrumentations to fix fastapi bug + ([#37206](https://github.com/Azure/azure-sdk-for-python/pull/37206)) ## 1.6.1 (2024-07-30) diff --git a/sdk/monitor/azure-monitor-opentelemetry/setup.py b/sdk/monitor/azure-monitor-opentelemetry/setup.py index 1753e6229ebf..eafbcf2f21eb 100644 --- a/sdk/monitor/azure-monitor-opentelemetry/setup.py +++ b/sdk/monitor/azure-monitor-opentelemetry/setup.py @@ -89,15 +89,15 @@ "azure-core<2.0.0,>=1.28.0", "azure-core-tracing-opentelemetry~=1.0.0b11", "azure-monitor-opentelemetry-exporter~=1.0.0b28", - "opentelemetry-instrumentation-django~=0.47b0", - "opentelemetry-instrumentation-fastapi~=0.47b0", - "opentelemetry-instrumentation-flask~=0.47b0", - "opentelemetry-instrumentation-psycopg2~=0.47b0", - "opentelemetry-instrumentation-requests~=0.47b0", - "opentelemetry-instrumentation-urllib~=0.47b0", - "opentelemetry-instrumentation-urllib3~=0.47b0", + "opentelemetry-instrumentation-django~=0.48b0", + "opentelemetry-instrumentation-fastapi~=0.48b0", + "opentelemetry-instrumentation-flask~=0.48b0", + "opentelemetry-instrumentation-psycopg2~=0.48b0", + "opentelemetry-instrumentation-requests~=0.48b0", + "opentelemetry-instrumentation-urllib~=0.48b0", + "opentelemetry-instrumentation-urllib3~=0.48b0", "opentelemetry-resource-detector-azure~=0.1.4", - "opentelemetry-sdk~=1.26", + "opentelemetry-sdk~=1.27", ], entry_points={ "opentelemetry_distro": [