# Release History ## 1.8.8 (Unreleased) ### Features Added ### Breaking Changes - Dropped support for Python 3.9. This package now supports Python 3.10+. [Follows upstream otel dropping support](https://github.com/open-telemetry/opentelemetry-python/pull/5076) ([#46695](https://github.com/Azure/azure-sdk-for-python/pull/46695)) ### Bugs Fixed ### Other Changes - Remove deprecated events packages. ([#45684](https://github.com/Azure/azure-sdk-for-python/pull/45684)) ## 1.8.7 (2026-03-20) ### Features Added - Add Browser SDK loader feature ([#42904](https://github.com/Azure/azure-sdk-for-python/pull/42904)) ### Other Changes - Change import path for `LoggingHandler` to accommodate upstream breaking changes ([#45539](https://github.com/Azure/azure-sdk-for-python/pull/45539)) - Remove internal import from sample file ([#45619](https://github.com/Azure/azure-sdk-for-python/pull/45619)) ## 1.8.6 (2026-02-05) ### Features Added - Enable live metrics by default ([#44902](https://github.com/Azure/azure-sdk-for-python/pull/44902)) ### Breaking Changes - The default sampling behavior has been changed from ApplicationInsightsSampler with 100% sampling (all traces sampled) to RateLimitedSampler with 5.0 traces per second. This change significantly reduces telemetry volume for high-traffic applications and provides better cost optimization out of the box. Impact: Applications with more than 5 requests per second will see fewer traces exported by default. ([#44925](https://github.com/Azure/azure-sdk-for-python/pull/44925)) ### Other Changes - Add missing copyright headers and ensure consistent formatting across files. ([#44908](https://github.com/Azure/azure-sdk-for-python/pull/44908)) ## 1.8.5 (2026-01-28) ### Features Added - In double-instrumentation scenarios, surface in the log stream instead of just in diagnostic logs. ([#44682](https://github.com/Azure/azure-sdk-for-python/pull/44682)) ### Bugs Fixed - Fix the format of the fixed percentage sampler constant and ensure backward compatibility ([#44656](https://github.com/Azure/azure-sdk-for-python/pull/44656)) - Only add PerformanceCounter Processors after PerformanceCounter setup to avoid circular dependency. ([#44661](https://github.com/Azure/azure-sdk-for-python/pull/44661)) ### Other Changes - Declare support for Python 3.13 and 3.14 ([#44550](https://github.com/Azure/azure-sdk-for-python/pull/44550)) ## 1.8.4 (2026-01-13) ### Features Added - Added support for OTEL_TRACES_SAMPLER ([#44535](https://github.com/Azure/azure-sdk-for-python/pull/44535)) - Added ability to add additional Log Record Processors and Metric Readers via configure_azure_monitor ([#44367](https://github.com/Azure/azure-sdk-for-python/pull/44367)) ## 1.8.3 (2025-12-04) ### Breaking Changes - Pin OpenTelemetry versions to guard against upstream logging breaking changes ([#44220](https://github.com/Azure/azure-sdk-for-python/pull/44220)) ### Bugs Fixed - Fix default value overriding user-configured sampling ratio in distro ([#44162](https://github.com/Azure/azure-sdk-for-python/pull/44162)) ## 1.8.2 (2025-11-14) ### Features Added - Add `trace_based_sampling` logger parameters to filter logs ([#43811](https://github.com/Azure/azure-sdk-for-python/pull/43811)) - Performance Counters ([#43262](https://github.com/Azure/azure-sdk-for-python/pull/43262)) - Adding more diagnostic log message IDs ([#43183](https://github.com/Azure/azure-sdk-for-python/pull/43183)) - Enable Azure AI Project instrumentation ([#43869](https://github.com/Azure/azure-sdk-for-python/pull/43869)) ### Bugs Fixed - Fix detector version ([#43044](https://github.com/Azure/azure-sdk-for-python/pull/43044)) - Fix spelling for OTEL_PYTHON_EXCLUDED_URLS in samples ([#43141](https://github.com/Azure/azure-sdk-for-python/pull/43141)) ## 1.8.1 (2025-09-17) ### Bugs Fixed - Fixed version pinned for opentelemetry-sdk to resolve dependency conflicts. ([#43012](https://github.com/Azure/azure-sdk-for-python/pull/43012)) - Modified ordering of dependencies in setup.py to avoid dependency conflicts in future. ([#43023](https://github.com/Azure/azure-sdk-for-python/pull/43023)) ## 1.8.0 (2025-09-08) ### Features Added - Added configuration changes for RateLimited Sampler ([#41976](https://github.com/Azure/azure-sdk-for-python/pull/41976)) ## 1.7.0 (2025-08-21) ### Features Added - Updated README to specify the python version supported by the distro. ([#42464](https://github.com/Azure/azure-sdk-for-python/pull/42464)) ### Bugs Fixed - Fixed issue #42337, removes warning messages for instrumentations that target multiple packages. The logic for dependency conflict detection has been enhanced by adding "instruments-any" feature. This feature is used when an instrumentation requires any of a set of dependencies rather than all. Follows upstream dependency conflict detection logic - https://github.com/open-telemetry/opentelemetry-python-contrib/blob/main/opentelemetry-instrumentation/src/opentelemetry/instrumentation/dependencies.py ([#42342](https://github.com/Azure/azure-sdk-for-python/pull/42342)) - Add error handling for diagnostic logging setup ([#42505](https://github.com/Azure/azure-sdk-for-python/pull/42505)) ## 1.6.13 (2025-07-30) ### Features Added - Update to latest OpenTelemetry version after instrumentation breaking change fix. Remove Python 3.8 support. ([#42247](https://github.com/Azure/azure-sdk-for-python/pull/42247)) ## 1.6.12 (2025-07-21) ### Bugs Fixed - Fix logging formatter breaking change ([#42122](https://github.com/Azure/azure-sdk-for-python/pull/42122)) ## 1.6.11 (2025-07-17) ### Features Added - Add configuring of logging format and logger name via environment variables ([#42035](https://github.com/Azure/azure-sdk-for-python/pull/42035)) ## 1.6.10 (2025-05-30) ### Features Added - Enabled diagnostics for AKS Attach ([#40988](https://github.com/Azure/azure-sdk-for-python/pull/40988)) ### Other Changes - Defensively import and vendor experimental components from OpenTelemetry and azure.core + upgrade dependencies to latest OpenTelemetry ([#41245](https://github.com/Azure/azure-sdk-for-python/pull/41245)) ## 1.6.9 (2025-05-12) ### Features Added - Enable Azure AI Agents instrumentation for azure-ai-agents ([#40866](https://github.com/Azure/azure-sdk-for-python/pull/40866)) ## 1.6.8 (2025-04-17) ### Bugs Fixed - Pin OTel before breaking change. ([#40529](https://github.com/Azure/azure-sdk-for-python/pull/40529)) ## 1.6.7 (2025-04-10) ### Bugs Fixed ### Other Changes ## 1.6.6 (2025-04-07) ### Features Added - Add `logging_format` as configuration option in api ([#40057](https://github.com/Azure/azure-sdk-for-python/pull/40057)) - Enable Azure AI Agents instrumentation ([#40043](https://github.com/Azure/azure-sdk-for-python/pull/40043)) ## 1.6.5 (2025-02-14) ### Features Added - Add more diagnostic log options ([#39701](https://github.com/Azure/azure-sdk-for-python/pull/39701)) - Only add OpenTelemetry LoggingHandler if current logger does not have it ([#38549](https://github.com/Azure/azure-sdk-for-python/pull/38549)) - Distro to automatically configure event logger provider ([#38543](https://github.com/Azure/azure-sdk-for-python/pull/38543)) - Configure live metrics first in pipeline to detect statsbeat usage ([#38556](https://github.com/Azure/azure-sdk-for-python/pull/38556)) - Ignore backoff warning from distro if in functions environment ([#38787](https://github.com/Azure/azure-sdk-for-python/pull/38787)) ## 1.6.4 (2024-11-06) ### Bugs Fixed - Fixed bug caused by migration from pkg_resources to importlib-metadata ([#38371](https://github.com/Azure/azure-sdk-for-python/pull/38371)) ## 1.6.3 (2024-11-04) ### Features Added - Enable Azure AI Inference instrumentation ([#38071](https://github.com/Azure/azure-sdk-for-python/pull/38071)) ### Other Changes - Added AAD auth samples to distro ([#37352](https://github.com/Azure/azure-sdk-for-python/pull/37352)) ## 1.6.2 (2024-09-05) ### Bugs Fixed - 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) ### Other Changes - Support for Python 3.12 ([#36482](https://github.com/Azure/azure-sdk-for-python/pull/36482)) ## 1.6.0 (2024-06-06) ### Features Added - Enable views configuration ([#35932](https://github.com/Azure/azure-sdk-for-python/pull/35932)) - Rework autoinstrumentation: Configure exporters and samplers directly ([#35890](https://github.com/Azure/azure-sdk-for-python/pull/35890)) ## 1.5.0 (2024-05-31) ### Features Added - Enable live metrics feature ([#35566](https://github.com/Azure/azure-sdk-for-python/pull/35566)) ## 1.4.2 (2024-05-20) ### Features Added - Add diagnostics for sdk detection and backoff ([#35610](https://github.com/Azure/azure-sdk-for-python/pull/35610)) ### Breaking Changes ### Bugs Fixed ### Other Changes ## 1.4.1 (2024-04-25) ### Features Added - Enable sampling for attach ([#35218](https://github.com/Azure/azure-sdk-for-python/pull/35218)) ## 1.4.0 (2024-04-09) ### Features Added - Adding diagnostic warning when distro detects RP attach ([#34971](https://github.com/Azure/azure-sdk-for-python/pull/34971)) - Added `resource` parameter ([#34900](https://github.com/Azure/azure-sdk-for-python/pull/34900)) ### Other Changes - Updated FastAPI sample ([#34738](https://github.com/Azure/azure-sdk-for-python/pull/34738)) - Refactored constants and utils ([#35066](https://github.com/Azure/azure-sdk-for-python/pull/35066)) ## 1.3.0 (2024-02-29) ### Features Added - Add custom span processors configuration option ([#34326](https://github.com/Azure/azure-sdk-for-python/pull/34326)) ### Other Changes - Update configure_azure_monitor signature and Django sample ([#33834](https://github.com/Azure/azure-sdk-for-python/pull/33834)) - Remove support for Python 3.7 ([#34252](https://github.com/Azure/azure-sdk-for-python/pull/34252)) ## 1.2.0 (2024-01-18) ### Other Changes - Implement distro detection for statsbeat feature ([#33761](https://github.com/Azure/azure-sdk-for-python/pull/33761)) - Fix siteName in diagnostic logging ([#33808](https://github.com/Azure/azure-sdk-for-python/pull/33808)) - Update min dependency versions opentelemetry-resource-detector-azure~=0.1.1, exporter~=1.0.0b21, OTel SDK/API~= 1.21 ([#33866](https://github.com/Azure/azure-sdk-for-python/pull/33866)) - Update configure_azure_monitor signature and Django sample ([#33834](https://github.com/Azure/azure-sdk-for-python/pull/33834)) ## 1.1.1 (2023-12-04) ### Features Added - Add App Service Resource Detector to Auto-Instrumentation. ([#33340](https://github.com/Azure/azure-sdk-for-python/pull/33340)) - Default Resource Detector environment variable to enable configuration. ([#33305](https://github.com/Azure/azure-sdk-for-python/pull/33305)) ([#33373](https://github.com/Azure/azure-sdk-for-python/pull/33373)) ([#33390](https://github.com/Azure/azure-sdk-for-python/pull/33390)) ## 1.1.0 (2023-11-08) ### Features Added - Add ability to specify which logger to export telemetry for via `logger_name` configuration ([#32192](https://github.com/Azure/azure-sdk-for-python/pull/32192)) - Add message ids for AppLens ([#32195](https://github.com/Azure/azure-sdk-for-python/pull/32195)) - Allow OTEL_PYTHON_DISABLED_INSTRUMENTATIONS functionality for Azure Core Tracing in Auto-instrumentation ([#32331](https://github.com/Azure/azure-sdk-for-python/pull/32331)) - Add instrumentation_options ([#31793](https://github.com/Azure/azure-sdk-for-python/pull/31793)) ### Bugs Fixed - Updated django samples with clearly artificial secret key ([#32698](https://github.com/Azure/azure-sdk-for-python/pull/32698)) ## 1.0.0 (2023-09-12) ### Features Added - Add Azure resource detectors ([#32087](https://github.com/Azure/azure-sdk-for-python/pull/32087)) ### Other Changes - The `autoinstrumentation', 'diagnostics' and 'util' subnamespaces have been made internal. ([#31931](https://github.com/Azure/azure-sdk-for-python/pull/31931)) ## 1.0.0b16 (2023-08-28) ### Features Added - Unpin OTel SDK/API version ([#310](https://github.com/microsoft/ApplicationInsights-Python/pull/310)) - Replace explicit log processor exporter interval env var with OT SDK env var ([#31740](https://github.com/Azure/azure-sdk-for-python/pull/31740)) - Un-vendoring instrumentations ([#31744](https://github.com/Azure/azure-sdk-for-python/pull/31740)) - Add preview warning for Autoinstrumentation entry points ([#31767](https://github.com/Azure/azure-sdk-for-python/pull/31767)) - Bandit and pylint ([#31881](https://github.com/Azure/azure-sdk-for-python/pull/31881)) ## 1.0.0b15 (2023-07-17) ### Features Added - Upgrade to exporter 1.0.0b15 and OTel 1.19 ([#308](https://github.com/microsoft/ApplicationInsights-Python/pull/308)) ## 1.0.0b14 (2023-07-12) ### Features Added - Upgrade to exporter 1.0.0b14 and OTel 1.18 ([#295](https://github.com/microsoft/ApplicationInsights-Python/pull/295)) - Enable Azure Core Tracing OpenTelemetry plugin ([#269](https://github.com/microsoft/ApplicationInsights-Python/pull/269)) - Fix connection string environment variable bug for manual instrumentation ([#302](https://github.com/microsoft/ApplicationInsights-Python/pull/302)) - Update Azure Core Tracing OpenTelemetry plugin ([#306](https://github.com/microsoft/ApplicationInsights-Python/pull/306)) ## 1.0.0b13 (2023-06-14) ### Features Added - Vendor Instrumentations ([#280](https://github.com/microsoft/ApplicationInsights-Python/pull/280)) - Support OTEL_PYTHON_DISABLED_INSTRUMENTATIONS ([#294](https://github.com/microsoft/ApplicationInsights-Python/pull/294)) ### Other Changes - Update samples ([#281](https://github.com/microsoft/ApplicationInsights-Python/pull/281)) - Fixed spelling ([#291](https://github.com/microsoft/ApplicationInsights-Python/pull/291)) - Fixing formatting issues for azure sdk ([#292](https://github.com/microsoft/ApplicationInsights-Python/pull/292)) ## 1.0.0b12 (2023-05-05) ### Features Added - Remove most configuration for Public Preview ([#277](https://github.com/microsoft/ApplicationInsights-Python/pull/277)) - Infer telemetry category disablement from exporter environment variables ([#278](https://github.com/microsoft/ApplicationInsights-Python/pull/278)) ## 1.0.0b11 (2023-04-12) ### Features Added - Reverse default behavior of instrumentations and implement configuration for exclusion ([#253](https://github.com/microsoft/ApplicationInsights-Python/pull/253)) - Use entrypoints instead of importlib to load instrumentations ([#254](https://github.com/microsoft/ApplicationInsights-Python/pull/254)) - Add support for FastAPI instrumentation ([#255](https://github.com/microsoft/ApplicationInsights-Python/pull/255)) - Add support for Urllib3/Urllib instrumentation ([#256](https://github.com/microsoft/ApplicationInsights-Python/pull/256)) - Change instrumentation config to use TypedDict InstrumentationConfig ([#259](https://github.com/microsoft/ApplicationInsights-Python/pull/259)) - Change interval params to use `_ms` as suffix ([#260](https://github.com/microsoft/ApplicationInsights-Python/pull/260)) - Update exporter version to 1.0.0b13 and OTel sdk/api to 1.17 ([#270](https://github.com/microsoft/ApplicationInsights-Python/pull/270)) ## 1.0.0b10 (2023-02-23) ### Features Added - Fix source and wheel distribution, include MANIFEST.in and use `pkgutils` style `__init__.py` ([#250](https://github.com/microsoft/ApplicationInsights-Python/pull/250)) ## 1.0.0b9 (2023-02-22) ### Features Added - Made build.sh script executable from publish workflow ([#213](https://github.com/microsoft/ApplicationInsights-Python/pull/213)) - Updated main and distro READMEs ([#205](https://github.com/microsoft/ApplicationInsights-Python/pull/205)) - Update CONTRIBUTING.md, support Py3.11 ([#210](https://github.com/microsoft/ApplicationInsights-Python/pull/210)) - Added Diagnostic Logging for App Service ([#212](https://github.com/microsoft/ApplicationInsights-Python/pull/212)) - Updated setup.py, directory structure ([#214](https://github.com/microsoft/ApplicationInsights-Python/pull/214)) - Introduce Distro API ([#215](https://github.com/microsoft/ApplicationInsights-Python/pull/215)) - Rename to `configure_azure_monitor`, add sampler to config ([#216](https://github.com/microsoft/ApplicationInsights-Python/pull/216)) - Added Status Logger ([#217](https://github.com/microsoft/ApplicationInsights-Python/pull/217)) - Add Logging configuration to Distro API ([#218](https://github.com/microsoft/ApplicationInsights-Python/pull/218)) - Add instrumentation selection config ([#228](https://github.com/microsoft/ApplicationInsights-Python/pull/228)) - Removing diagnostic logging from its module's logger. ([#225](https://github.com/microsoft/ApplicationInsights-Python/pull/225)) - Add ability to specify logger for logging configuration ([#227](https://github.com/microsoft/ApplicationInsights-Python/pull/227)) - Add metric configuration to distro api ([#232](https://github.com/microsoft/ApplicationInsights-Python/pull/232)) - Add ability to pass custom configuration into instrumentations ([#235](https://github.com/microsoft/ApplicationInsights-Python/pull/235)) - Fix export interval bug ([#237](https://github.com/microsoft/ApplicationInsights-Python/pull/237)) - Add ability to specify custom metric readers ([#241](https://github.com/microsoft/ApplicationInsights-Python/pull/241)) - Defaulting logging env var for auto-instrumentation. Added logging samples. ([#240](https://github.com/microsoft/ApplicationInsights-Python/pull/240)) - Removed old log_diagnostic_error calls from configurator ([#242](https://github.com/microsoft/ApplicationInsights-Python/pull/242)) - Update to azure-monitor-opentelemetry-exporter 1.0.0b12 ([#243](https://github.com/microsoft/ApplicationInsights-Python/pull/243)) - Move symbols to protected, add docstring for api, pin opentelemetry-api/sdk versions ([#244](https://github.com/microsoft/ApplicationInsights-Python/pull/244)) - Replace service.X configurations with Resource ([#246](https://github.com/microsoft/ApplicationInsights-Python/pull/246)) - Change namespace to `azure.monitor.opentelemetry` ([#247](https://github.com/microsoft/ApplicationInsights-Python/pull/247)) - Updating documents for new namespace ([#249](https://github.com/microsoft/ApplicationInsights-Python/pull/249)) - Configuration via env vars and argument validation. ([#262](https://github.com/microsoft/ApplicationInsights-Python/pull/262)) ## 1.0.0b8 (2022-09-26) ### Features Added - Changing instrumentation dependencies to ~=0.33b0 ([#203](https://github.com/microsoft/ApplicationInsights-Python/pull/203)) ## 1.0.0b7 (2022-09-26) ### Features Added - Moved and updated README ([#201](https://github.com/microsoft/ApplicationInsights-Python/pull/201)) - Adding requests, flask, and psycopg2 instrumentations ([#199](https://github.com/microsoft/ApplicationInsights-Python/pull/199)) - Added publishing action ([#193](https://github.com/microsoft/ApplicationInsights-Python/pull/193)) ## 1.0.0b6 (2022-08-30) ### Features Added - Drop support for Python 3.6 ([#190](https://github.com/microsoft/ApplicationInsights-Python/pull/190)) - Changed repository structure to use submodules ([#190](https://github.com/microsoft/ApplicationInsights-Python/pull/190)) - Added OpenTelemetry Distro and Configurator ([#187](https://github.com/microsoft/ApplicationInsights-Python/pull/187)) - Initial commit