From 1b58cee44425dce842d7578c7b0977afa095756b Mon Sep 17 00:00:00 2001 From: Riccardo Magliocchetti Date: Mon, 24 Nov 2025 11:07:54 +0100 Subject: [PATCH 1/2] opentelemetry-instrumentation: add support to skip all the available instrumentations Introduce support for skipping all the available instrumentation with a wildcard *. e.g. OTEL_PYTHON_DISABLED_INSTRUMENTATIONS="*" --- opentelemetry-instrumentation/README.rst | 2 + .../auto_instrumentation/_load.py | 5 ++ .../tests/auto_instrumentation/test_load.py | 51 +++++++++++++++++++ 3 files changed, 58 insertions(+) diff --git a/opentelemetry-instrumentation/README.rst b/opentelemetry-instrumentation/README.rst index a342aa188c..5664bccc1d 100644 --- a/opentelemetry-instrumentation/README.rst +++ b/opentelemetry-instrumentation/README.rst @@ -106,6 +106,8 @@ check `here Date: Mon, 24 Nov 2025 11:14:03 +0100 Subject: [PATCH 2/2] Add changelog --- CHANGELOG.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a364d4d958..82f0542566 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -29,7 +29,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ([#3916](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/3916)) - `opentelemetry-instrumentation-redis`: add support for `suppress_instrumentation` context manager for both sync and async Redis clients and pipelines - Update for Log SDK breaking changes. Rename InMemoryLogExporter to InMemoryLogRecordExporter in several tests - ([#3850](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/3589)) + ([#3589](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/3589)) +- opentelemetry-instrumentation: allow to skip all instrumentations loading with a wildcard + ([#3967](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/3967)) ### Fixed