René's URL Explorer Experiment


Title: opentelemetry-test-utils: add CapturingSampler for instrumentation tests by ghdtjdwn · Pull Request #5681 · open-telemetry/opentelemetry-python · GitHub

Open Graph Title: opentelemetry-test-utils: add CapturingSampler for instrumentation tests by ghdtjdwn · Pull Request #5681 · open-telemetry/opentelemetry-python

X Title: opentelemetry-test-utils: add CapturingSampler for instrumentation tests by ghdtjdwn · Pull Request #5681 · open-telemetry/opentelemetry-python

Description: OpenTelemetry Python API and SDK . Contribute to open-telemetry/opentelemetry-python development by creating an account on GitHub.

Open Graph Description: Description Adds opentelemetry.test.samplertestutil.CapturingSampler to opentelemetry-test-utils. Instrumentation tests that verify what a sampler receives at span start (for example captured reque...

X Description: Description Adds opentelemetry.test.samplertestutil.CapturingSampler to opentelemetry-test-utils. Instrumentation tests that verify what a sampler receives at span start (for example captured reque...

Opengraph URL: https://github.com/open-telemetry/opentelemetry-python/pull/5681

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:39a1dafb-09fc-c30d-6e17-abce2116782d
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB128:230C30:62E383:848F92:6AEBEA10
html-safe-nonce3ca922bb7eee2ee0185986867cd3d68541e6f47033d66968e0b1686d8924ea01
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMTI4OjIzMEMzMDo2MkUzODM6ODQ4RjkyOjZBRUJFQTEwIiwidmlzaXRvcl9pZCI6IjU3NjE1OTkyNjUzMDk0NTI4MTYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac066adaf244231c40230dfe3ed4718160cc63cb336a4eab100ebc6abd94f6470b
hovercard-subject-tagpull_request:4597846233
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/open-telemetry/opentelemetry-python/5681/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/2065832da08338b1f2defcb4800bed7d1e1affa4fa6b7474eceb86fcdc60a6e7/open-telemetry/opentelemetry-python/pull/5681
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/2065832da08338b1f2defcb4800bed7d1e1affa4fa6b7474eceb86fcdc60a6e7/open-telemetry/opentelemetry-python/pull/5681
og:image:altDescription Adds opentelemetry.test.samplertestutil.CapturingSampler to opentelemetry-test-utils. Instrumentation tests that verify what a sampler receives at span start (for example captured reque...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameghdtjdwn
hostnamegithub.com
expected-hostnamegithub.com
Nonecb4fe414357cc0dbc2996fde3e4947524ebbb7f50a92a6e6934fee909acf2c00
turbo-cache-controlno-cache
go-importgithub.com/open-telemetry/opentelemetry-python git https://github.com/open-telemetry/opentelemetry-python.git
octolytics-dimension-user_id49998002
octolytics-dimension-user_loginopen-telemetry
octolytics-dimension-repository_id185478926
octolytics-dimension-repository_nwoopen-telemetry/opentelemetry-python
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id185478926
octolytics-dimension-repository_network_root_nwoopen-telemetry/opentelemetry-python
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release5295beeefa36b9ce5c704f35fdc483ebb6f2cb19
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/open-telemetry/opentelemetry-python/pull/5681#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopen-telemetry%2Fopentelemetry-python%2Fpull%2F5681
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopen-telemetry%2Fopentelemetry-python%2Fpull%2F5681
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=open-telemetry%2Fopentelemetry-python
Reloadhttps://github.com/open-telemetry/opentelemetry-python/pull/5681
Reloadhttps://github.com/open-telemetry/opentelemetry-python/pull/5681
Reloadhttps://github.com/open-telemetry/opentelemetry-python/pull/5681
open-telemetryhttps://github.com/open-telemetry
opentelemetry-pythonhttps://github.com/open-telemetry/opentelemetry-python
Codehttps://github.com/open-telemetry/opentelemetry-python
Issues336 (336)https://github.com/open-telemetry/opentelemetry-python/issues
Pull requests108 (108)https://github.com/open-telemetry/opentelemetry-python/pulls
Discussionshttps://github.com/open-telemetry/opentelemetry-python/discussions
Actionshttps://github.com/open-telemetry/opentelemetry-python/actions
Projectshttps://github.com/open-telemetry/opentelemetry-python/projects
Security and quality2 (2)https://github.com/open-telemetry/opentelemetry-python/security
Insightshttps://github.com/open-telemetry/opentelemetry-python/pulse
https://github.com/open-telemetry/opentelemetry-python
xrmxhttps://github.com/xrmx
open-telemetry:mainhttps://github.com/open-telemetry/opentelemetry-python/tree/main
ghdtjdwn:test-utils/capturing-samplerhttps://github.com/ghdtjdwn/opentelemetry-python/tree/test-utils/capturing-sampler
Conversationhttps://github.com/open-telemetry/opentelemetry-python/pull/5681
Commits5 (5)https://github.com/open-telemetry/opentelemetry-python/pull/5681/commits
Checkshttps://github.com/open-telemetry/opentelemetry-python/pull/5681/checks
Files changedhttps://github.com/open-telemetry/opentelemetry-python/pull/5681/files
opentelemetry-test-utils: add CapturingSampler for instrumentation testshttps://github.com/open-telemetry/opentelemetry-python/pull/5681#top
xrmxhttps://github.com/xrmx
open-telemetry:mainhttps://github.com/open-telemetry/opentelemetry-python/tree/main
ghdtjdwn:test-utils/capturing-samplerhttps://github.com/ghdtjdwn/opentelemetry-python/tree/test-utils/capturing-sampler
https://github.com/ghdtjdwn
ghdtjdwnhttps://github.com/ghdtjdwn
Sep 22, 2026https://github.com/open-telemetry/opentelemetry-python/pull/5681#issue-5534535219
Please reload this pagehttps://github.com/open-telemetry/opentelemetry-python/pull/5681
open-telemetry/opentelemetry-python-contrib#5032https://github.com/open-telemetry/opentelemetry-python-contrib/pull/5032
open-telemetry/opentelemetry-python-contrib#5073https://github.com/open-telemetry/opentelemetry-python-contrib/pull/5073
@xrmxhttps://github.com/xrmx
askedhttps://github.com/open-telemetry/opentelemetry-python-contrib/pull/5073#discussion_r4061037725
opentelemetry-instrumentation-wsgi: expose captured request headers to samplers opentelemetry-python-contrib#5032https://github.com/open-telemetry/opentelemetry-python-contrib/pull/5032
Please reload this pagehttps://github.com/open-telemetry/opentelemetry-python/pull/5681
https://github.com/ghdtjdwn
opentelemetry-test-utils: add CapturingSampler for instrumentation testshttps://github.com/open-telemetry/opentelemetry-python/pull/5681/commits/e7adaeace07f407bb47adbf5e7e9dbc5fe0189dd
e7adaeahttps://github.com/open-telemetry/opentelemetry-python/pull/5681/commits/e7adaeace07f407bb47adbf5e7e9dbc5fe0189dd
https://github.com/ghdtjdwn
ghdtjdwnhttps://github.com/ghdtjdwn
code ownerhttps://github.com/open-telemetry/opentelemetry-python/blob/b1f499beb552f7a3fbb4e07a2e436b7846a4e6b7/.github/CODEOWNERS#L5
September 22, 2026 02:17https://github.com/open-telemetry/opentelemetry-python/pull/5681#event-31571012231
https://github.com/ghdtjdwn
changelog: add fragment for CapturingSamplerhttps://github.com/open-telemetry/opentelemetry-python/pull/5681/commits/15191b97fd5ecc05d0f841e03ab96c948e53906e
15191b9https://github.com/open-telemetry/opentelemetry-python/pull/5681/commits/15191b97fd5ecc05d0f841e03ab96c948e53906e
https://github.com/apps/otelbot-python
otelbot-pythonhttps://github.com/apps/otelbot-python
Python PR digesthttps://github.com/orgs/open-telemetry/projects/88
Sep 22, 2026https://github.com/open-telemetry/opentelemetry-python/pull/5681#event-31571021815
https://github.com/apps/opentelemetry-pr-dashboard
opentelemetry-pr-dashboardhttps://github.com/apps/opentelemetry-pr-dashboard
Sep 22, 2026https://github.com/open-telemetry/opentelemetry-python/pull/5681#issuecomment-5770289196
Please reload this pagehttps://github.com/open-telemetry/opentelemetry-python/pull/5681
Report ithttps://github.com/open-telemetry/shared-workflows/issues/new?template=incorrect-pr-dashboard-result.md&title=PR+dashboard+result+looks+incorrect&body=PR%3A+https%3A%2F%2Fgithub.com%2Fopen-telemetry%2Fopentelemetry-python%2Fpull%2F5681%0A%0ACurrent+live+status+comment%3A%0A%3E+%3C%21--+pull-request-dashboard-status+--%3E%0A%3E+%3C%21--+pull-request-dashboard-status-revision%3A20+--%3E%0A%3E+%23%23+Pull+request+dashboard+status%0A%3E+%0A%3E+%2A%2AMerged%2A%2A+%C2%B7+refreshed+2026-09-25+10%3A01+UTC%0A%0AWhat+looks+incorrect%3A%0A
Please reload this pagehttps://github.com/open-telemetry/opentelemetry-python/pull/5681
https://github.com/apps/opentelemetry-pr-dashboard
opentelemetry-pr-dashboardhttps://github.com/apps/opentelemetry-pr-dashboard
Sep 22, 2026 https://github.com/open-telemetry/opentelemetry-python/pull/5681#ref-issue-5153889414
Pull Request Dashboard #5550 https://github.com/open-telemetry/opentelemetry-python/issues/5550
https://github.com/xrmx
xrmxhttps://github.com/xrmx
Sep 23, 2026 https://github.com/open-telemetry/opentelemetry-python/pull/5681#pullrequestreview-5289751358
View reviewed changes https://github.com/open-telemetry/opentelemetry-python/pull/5681/files/15191b97fd5ecc05d0f841e03ab96c948e53906e
tests/opentelemetry-test-utils/src/opentelemetry/test/samplertestutil.pyhttps://github.com/open-telemetry/opentelemetry-python/pull/5681/files/15191b97fd5ecc05d0f841e03ab96c948e53906e#diff-fda2499ee67082b570d06bfa387679f57bbd9c51911649fe6d498440b326b22f
Please reload this pagehttps://github.com/open-telemetry/opentelemetry-python/pull/5681
https://github.com/xrmx
xrmxhttps://github.com/xrmx
Copilothttps://github.com/apps/copilot-pull-request-reviewer
September 23, 2026 10:32https://github.com/open-telemetry/opentelemetry-python/pull/5681#event-31668364555
https://github.com/xrmx
xrmxhttps://github.com/xrmx
Python PR digesthttps://github.com/orgs/open-telemetry/projects/88
Sep 23, 2026https://github.com/open-telemetry/opentelemetry-python/pull/5681#event-31668370400
started reviewinghttps://github.com/open-telemetry/opentelemetry-python/sessions/f74b8387-069e-4755-99c6-8b19f174daf0
xrmxhttps://github.com/xrmx
September 23, 2026 10:33https://github.com/open-telemetry/opentelemetry-python/pull/5681#event-31668393501
View session https://github.com/open-telemetry/opentelemetry-python/sessions/f74b8387-069e-4755-99c6-8b19f174daf0
https://github.com/apps/copilot-pull-request-reviewer
Copilothttps://github.com/apps/copilot-pull-request-reviewer
Sep 23, 2026 https://github.com/open-telemetry/opentelemetry-python/pull/5681#pullrequestreview-5289848168
View reviewed changes https://github.com/open-telemetry/opentelemetry-python/pull/5681/files/15191b97fd5ecc05d0f841e03ab96c948e53906e
Copilothttps://github.com/apps/copilot-pull-request-reviewer
https://github.com/open-telemetry/opentelemetry-python/pull/5681#pullrequestreview-5289848168
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Missing required attributes incorrectly pass sampling checkhttps://github.com/open-telemetry/opentelemetry-python/pull/5681#discussion_r4081496515
Add a code-review agent skillhttps://github.com/open-telemetry/opentelemetry-python/new/main?filename=.github/skills/code-review/SKILL.md
Learn more in the docs.https://docs.github.com/copilot/how-tos/use-copilot-agents/request-a-code-review/use-code-review?tool=webui#mcp-servers-and-agent-skills
Please reload this pagehttps://github.com/open-telemetry/opentelemetry-python/pull/5681
tests/opentelemetry-test-utils/src/opentelemetry/test/samplertestutil.pyhttps://github.com/open-telemetry/opentelemetry-python/pull/5681/files/15191b97fd5ecc05d0f841e03ab96c948e53906e#diff-fda2499ee67082b570d06bfa387679f57bbd9c51911649fe6d498440b326b22f
Please reload this pagehttps://github.com/open-telemetry/opentelemetry-python/pull/5681
ghdtjdwnhttps://github.com/ghdtjdwn
September 23, 2026 23:49https://github.com/open-telemetry/opentelemetry-python/pull/5681#commits-pushed-63406b3
https://github.com/ghdtjdwn
Merge remote-tracking branch 'upstream/main' into test-utils/capturin…https://github.com/open-telemetry/opentelemetry-python/pull/5681/commits/63406b3d543dea8cf064260041809e385db5e45b
63406b3https://github.com/open-telemetry/opentelemetry-python/pull/5681/commits/63406b3d543dea8cf064260041809e385db5e45b
https://github.com/ghdtjdwn
opentelemetry-test-utils: check required attribute presence explicitlyhttps://github.com/open-telemetry/opentelemetry-python/pull/5681/commits/02be7a04456c2a95b8feecc8f8ddaf1265adfbdc
02be7a0https://github.com/open-telemetry/opentelemetry-python/pull/5681/commits/02be7a04456c2a95b8feecc8f8ddaf1265adfbdc
https://github.com/xrmx
Merge branch 'main' into test-utils/capturing-samplerhttps://github.com/open-telemetry/opentelemetry-python/pull/5681/commits/0c8f68c58a9fc7c84243e9bfc0d0a505f8aef79c
0c8f68chttps://github.com/open-telemetry/opentelemetry-python/pull/5681/commits/0c8f68c58a9fc7c84243e9bfc0d0a505f8aef79c
https://github.com/ghdtjdwn
ghdtjdwnhttps://github.com/ghdtjdwn
Sep 24, 2026 https://github.com/open-telemetry/opentelemetry-python/pull/5681#ref-pullrequest-5369542948
opentelemetry-instrumentation-wsgi: expose captured request headers to samplers open-telemetry/opentelemetry-python-contrib#5032 https://github.com/open-telemetry/opentelemetry-python-contrib/pull/5032
https://github.com/anuraaga
anuraagahttps://github.com/anuraaga
Sep 25, 2026 https://github.com/open-telemetry/opentelemetry-python/pull/5681#ref-pullrequest-5496716561
Capture headers before sampling in django instrumentation open-telemetry/opentelemetry-python-contrib#5073 https://github.com/open-telemetry/opentelemetry-python-contrib/pull/5073
https://github.com/xrmx
xrmxhttps://github.com/xrmx
merge queuehttps://github.com/open-telemetry/opentelemetry-python/queue/main
Sep 25, 2026https://github.com/open-telemetry/opentelemetry-python/pull/5681#event-31826373813
9406f34https://github.com/open-telemetry/opentelemetry-python/commit/9406f34ca29d78ad760658ccb9f37b7b6c8e58e9
Sep 25, 2026https://github.com/open-telemetry/opentelemetry-python/pull/5681#event-31826651526
Please reload this pagehttps://github.com/open-telemetry/opentelemetry-python/pull/5681
https://github.com/apps/github-project-automation
github-project-automationhttps://github.com/apps/github-project-automation
Python PR digesthttps://github.com/orgs/open-telemetry/projects/88
Sep 25, 2026https://github.com/open-telemetry/opentelemetry-python/pull/5681#event-32290374166
https://github.com/ghdtjdwn
ghdtjdwnhttps://github.com/ghdtjdwn
Sep 25, 2026 https://github.com/open-telemetry/opentelemetry-python/pull/5681#ref-pullrequest-5581327718
docs: add merged OpenTelemetry Python contribution ghdtjdwn/ghdtjdwn#46 https://github.com/ghdtjdwn/ghdtjdwn/pull/46
agosmouhttps://github.com/agosmou
Oct 7, 2026 https://github.com/open-telemetry/opentelemetry-python/pull/5681#ref-commit-886ae86
https://github.com/ghdtjdwn
https://github.com/herin049
https://github.com/xrmx
opentelemetry-instrumentation-wsgi: expose captured request headers t…https://github.com/agosmou/opentelemetry-python-contrib/commit/886ae865c01c837c1f3da61cb44521fa84c51c56
886ae86https://github.com/agosmou/opentelemetry-python-contrib/commit/886ae865c01c837c1f3da61cb44521fa84c51c56
open-telemetry#5032https://github.com/open-telemetry/opentelemetry-python-contrib/pull/5032
open-telemetry/opentelemetry-python#5681https://github.com/open-telemetry/opentelemetry-python/pull/5681
https://github.co/hiddenchars
https://github.com/open-telemetry/opentelemetry-python/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopen-telemetry%2Fopentelemetry-python%2Fpull%2F5681
https://github.com/xrmx
xrmx https://github.com/xrmx
https://github.com/open-telemetry/opentelemetry-python/pull/5681/files/15191b97fd5ecc05d0f841e03ab96c948e53906e
Copilot code review https://github.com/apps/copilot-pull-request-reviewer
Copilot https://github.com/apps/copilot-pull-request-reviewer
Learn more about Copilot code review.https://gh.io/copilot-code-review-docs
https://github.com/open-telemetry/opentelemetry-python/pull/5681/files/15191b97fd5ecc05d0f841e03ab96c948e53906e
Please reload this pagehttps://github.com/open-telemetry/opentelemetry-python/pull/5681
Python PR digest https://github.com/orgs/open-telemetry/projects/88
Please reload this pagehttps://github.com/open-telemetry/opentelemetry-python/pull/5681
https://github.com/ghdtjdwn
https://github.com/xrmx
https://github.com/apps/copilot-pull-request-reviewer
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.