Add missing OTEL_PYTHON_EXCLUDED_URLS documentation#3836
Merged
xrmx merged 8 commits intoopen-telemetry:mainfrom Nov 3, 2025
Merged
Add missing OTEL_PYTHON_EXCLUDED_URLS documentation#3836xrmx merged 8 commits intoopen-telemetry:mainfrom
xrmx merged 8 commits intoopen-telemetry:mainfrom
Conversation
ff2ee96 to
185c743
Compare
emdneto
approved these changes
Oct 31, 2025
And make the implementation testable
So they are testable
185c743 to
03480d9
Compare
xrmx
commented
Oct 31, 2025
.../opentelemetry-instrumentation-tornado/src/opentelemetry/instrumentation/tornado/__init__.py
Outdated
Show resolved
Hide resolved
…telemetry/instrumentation/tornado/__init__.py
sightseeker
added a commit
to sightseeker/opentelemetry-python-contrib
that referenced
this pull request
Mar 11, 2026
) * tornado: cite the instrumentation also handles OTEL_PYTHON_EXCLUDED_URLS * aiohttp-server: document OTEL_PYTHON_EXCLUDED_URLS configuration * Add test for aiohttp-server And make the implementation testable * Assert metrics in aiohttp-server tests * Please pylint * Initialize tracer, meter and excluded urls at instrument time So they are testable * Add changelog * Update instrumentation/opentelemetry-instrumentation-tornado/src/opentelemetry/instrumentation/tornado/__init__.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This updates tornado and aiohttp-server documentation for OTEL_PYTHON_EXCLUDED_URLS that are handled in both via
opentelemetry.util.http.get_excluded_urls.While at it this adds some tests in aiohttp-server for the checking that url exclusion works and rework the tracer and meter initialization so we can test them.
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
Does This PR Require a Core Repo Change?
Checklist:
See contributing.md for styleguide, changelog guidelines, and more.