René's URL Explorer Experiment


Title: Port `sample_rate` update to `potel-base` by sentrivana · Pull Request #4069 · getsentry/sentry-python · GitHub

Open Graph Title: Port `sample_rate` update to `potel-base` by sentrivana · Pull Request #4069 · getsentry/sentry-python

X Title: Port `sample_rate` update to `potel-base` by sentrivana · Pull Request #4069 · getsentry/sentry-python

Description: The official Python SDK for Sentry.io. Contribute to getsentry/sentry-python development by creating an account on GitHub.

Open Graph Description: If the SDK uses a specific sample rate for a trace, it needs to update it in the DSC for downstream SDKs. On an incoming trace, the DSC's sample_rate is updated if: an explicit sampling decis...

X Description: If the SDK uses a specific sample rate for a trace, it needs to update it in the DSC for downstream SDKs. On an incoming trace, the DSC's sample_rate is updated if: an explicit sampling d...

Opengraph URL: https://github.com/getsentry/sentry-python/pull/4069

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
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:adcd4b22-fbee-5718-d6d9-f93a1320bfb1
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id927E:16CED0:81CE12:AD4C61:6B00B2D5
html-safe-noncebe48bbfe4215d3f927b12f41d2daa5b881170b1d6a89867369c0926fdb4e7cb3
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MjdFOjE2Q0VEMDo4MUNFMTI6QUQ0QzYxOjZCMDBCMkQ1IiwidmlzaXRvcl9pZCI6IjIxODUzMjk0MzI3Mjg3NDQ2NjEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacb6f285c95ecc38248317bcbd248debeff082c0de25c3de26f777f82aa521ab14
hovercard-subject-tagpull_request:2339949892
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/getsentry/sentry-python/4069/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/6cf614a5d9fe5ad8b1e7a1fed0d09ae481a8ad9a5645431ab5d831cf1e59f5a2/getsentry/sentry-python/pull/4069
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/6cf614a5d9fe5ad8b1e7a1fed0d09ae481a8ad9a5645431ab5d831cf1e59f5a2/getsentry/sentry-python/pull/4069
og:image:altIf the SDK uses a specific sample rate for a trace, it needs to update it in the DSC for downstream SDKs. On an incoming trace, the DSC's sample_rate is updated if: an explicit sampling decis...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamesentrivana
hostnamegithub.com
expected-hostnamegithub.com
None1d07c25977adfc5ff6acb0a962a9bc168c07afbda6fef765f9761c350c2ae4a2
turbo-cache-controlno-cache
go-importgithub.com/getsentry/sentry-python git https://github.com/getsentry/sentry-python.git
octolytics-dimension-user_id1396951
octolytics-dimension-user_logingetsentry
octolytics-dimension-repository_id137814779
octolytics-dimension-repository_nwogetsentry/sentry-python
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id137814779
octolytics-dimension-repository_network_root_nwogetsentry/sentry-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
release5429cbfc6aca8c7b9a086a3c8f47400346f38cc9
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/getsentry/sentry-python/pull/4069#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-python%2Fpull%2F4069
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%2Fgetsentry%2Fsentry-python%2Fpull%2F4069
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=getsentry%2Fsentry-python
Reloadhttps://github.com/getsentry/sentry-python/pull/4069
Reloadhttps://github.com/getsentry/sentry-python/pull/4069
Reloadhttps://github.com/getsentry/sentry-python/pull/4069
getsentryhttps://github.com/getsentry
sentry-pythonhttps://github.com/getsentry/sentry-python
Codehttps://github.com/getsentry/sentry-python
Issues345 (345)https://github.com/getsentry/sentry-python/issues
Pull requests42 (42)https://github.com/getsentry/sentry-python/pulls
Discussionshttps://github.com/getsentry/sentry-python/discussions
Actionshttps://github.com/getsentry/sentry-python/actions
Security and quality2 (2)https://github.com/getsentry/sentry-python/security
Insightshttps://github.com/getsentry/sentry-python/insights
https://github.com/getsentry/sentry-python
antonpirkerhttps://github.com/antonpirker
potel-basehttps://github.com/getsentry/sentry-python/tree/potel-base
ivana/potel/port-sample-rate-updatehttps://github.com/getsentry/sentry-python/tree/ivana/potel/port-sample-rate-update
Conversationhttps://github.com/getsentry/sentry-python/pull/4069
Commits17 (17)https://github.com/getsentry/sentry-python/pull/4069/commits
Checkshttps://github.com/getsentry/sentry-python/pull/4069/checks
Files changedhttps://github.com/getsentry/sentry-python/pull/4069/files
Port sample_rate update to potel-basehttps://github.com/getsentry/sentry-python/pull/4069#top
antonpirkerhttps://github.com/antonpirker
potel-basehttps://github.com/getsentry/sentry-python/tree/potel-base
ivana/potel/port-sample-rate-updatehttps://github.com/getsentry/sentry-python/tree/ivana/potel/port-sample-rate-update
https://github.com/sentrivana
sentrivanahttps://github.com/sentrivana
Feb 17, 2025https://github.com/getsentry/sentry-python/pull/4069#issue-2858070692
Please reload this pagehttps://github.com/getsentry/sentry-python/pull/4069
#4028https://github.com/getsentry/sentry-python/issues/4028
Please reload this pagehttps://github.com/getsentry/sentry-python/pull/4069
https://github.com/apps/codecov
codecovhttps://github.com/apps/codecov
Feb 17, 2025https://github.com/getsentry/sentry-python/pull/4069#issuecomment-2663347745
Please reload this pagehttps://github.com/getsentry/sentry-python/pull/4069
Test Analytics Dashboardhttps://app.codecov.io/gh/getsentry/sentry-python/tests/ivana%2Fpotel%2Fport-sample-rate-update
Take this short surveyhttps://forms.gle/BpocVj23nhr2Y45G7
Please reload this pagehttps://github.com/getsentry/sentry-python/pull/4069
https://github.com/sentrivana
sentrivanahttps://github.com/sentrivana
force-pushedhttps://github.com/getsentry/sentry-python/compare/8d3bfce4ab09283f6f2242c0d1f0268c3ee611ec..784223607e4df2830f9932b6dccb9c9bbdd459d7
8d3bfcehttps://github.com/getsentry/sentry-python/commit/8d3bfce4ab09283f6f2242c0d1f0268c3ee611ec
7842236https://github.com/getsentry/sentry-python/commit/784223607e4df2830f9932b6dccb9c9bbdd459d7
Compare https://github.com/getsentry/sentry-python/compare/8d3bfce4ab09283f6f2242c0d1f0268c3ee611ec..784223607e4df2830f9932b6dccb9c9bbdd459d7
February 24, 2025 09:40https://github.com/getsentry/sentry-python/pull/4069#event-16427694558
https://github.com/sentrivana
sentrivanahttps://github.com/sentrivana
February 24, 2025 11:29https://github.com/getsentry/sentry-python/pull/4069#event-16429285363
https://github.com/sentrivana
sentrivanahttps://github.com/sentrivana
antonpirkerhttps://github.com/antonpirker
February 24, 2025 11:29https://github.com/getsentry/sentry-python/pull/4069#event-16429297464
https://github.com/sentrivana
Port traces_sample_rate update to potel-basehttps://github.com/getsentry/sentry-python/pull/4069/commits/3061f57a00e9153c917bcd22c71a7724f136eaf6
3061f57https://github.com/getsentry/sentry-python/pull/4069/commits/3061f57a00e9153c917bcd22c71a7724f136eaf6
https://github.com/sentrivana
sentrivanahttps://github.com/sentrivana
force-pushedhttps://github.com/getsentry/sentry-python/compare/f22283d409a62bd847268a0255b72c9f46660a4c..3061f57a00e9153c917bcd22c71a7724f136eaf6
f22283dhttps://github.com/getsentry/sentry-python/commit/f22283d409a62bd847268a0255b72c9f46660a4c
3061f57https://github.com/getsentry/sentry-python/commit/3061f57a00e9153c917bcd22c71a7724f136eaf6
Compare https://github.com/getsentry/sentry-python/compare/f22283d409a62bd847268a0255b72c9f46660a4c..3061f57a00e9153c917bcd22c71a7724f136eaf6
February 24, 2025 15:38https://github.com/getsentry/sentry-python/pull/4069#event-16433395071
sentrivanahttps://github.com/sentrivana
February 27, 2025 09:31https://github.com/getsentry/sentry-python/pull/4069#commits-pushed-9968358
https://github.com/sentrivana
Merge branch 'potel-base' into ivana/potel/port-sample-rate-updatehttps://github.com/getsentry/sentry-python/pull/4069/commits/9968358e59c29c16e3462d599d940ec8fd955ddb
9968358https://github.com/getsentry/sentry-python/pull/4069/commits/9968358e59c29c16e3462d599d940ec8fd955ddb
https://github.com/antonpirker
Added one more testhttps://github.com/getsentry/sentry-python/pull/4069/commits/d2351e7fe21692f226c6d7ee3a5ae919531ffae2
d2351e7https://github.com/getsentry/sentry-python/pull/4069/commits/d2351e7fe21692f226c6d7ee3a5ae919531ffae2
https://github.com/antonpirker
Merge branch 'ivana/potel/port-sample-rate-update' of github.com:gets…https://github.com/getsentry/sentry-python/pull/4069/commits/73c0543471029a7751009ab8d786f37b638f8940
73c0543https://github.com/getsentry/sentry-python/pull/4069/commits/73c0543471029a7751009ab8d786f37b638f8940
https://github.com/cleptric
cleptrichttps://github.com/cleptric
Feb 27, 2025 https://github.com/getsentry/sentry-python/pull/4069#pullrequestreview-2647826542
View reviewed changes https://github.com/getsentry/sentry-python/pull/4069/files/73c0543471029a7751009ab8d786f37b638f8940
tests/test_dsc.pyhttps://github.com/getsentry/sentry-python/pull/4069/files/73c0543471029a7751009ab8d786f37b638f8940#diff-4ccc44cfe7610948614ea068a66823fa445c345466d6b4fd7982c3b8981b1432
Please reload this pagehttps://github.com/getsentry/sentry-python/pull/4069
sentrivanahttps://github.com/sentrivana
February 27, 2025 15:16https://github.com/getsentry/sentry-python/pull/4069#commits-pushed-d6fae76
https://github.com/sentrivana
update testhttps://github.com/getsentry/sentry-python/pull/4069/commits/d6fae76e7a601478400835b45b73d751b1379f6f
d6fae76https://github.com/getsentry/sentry-python/pull/4069/commits/d6fae76e7a601478400835b45b73d751b1379f6f
https://github.com/antonpirker
Test case to try to override incoming with traces_sample_ratehttps://github.com/getsentry/sentry-python/pull/4069/commits/7649f34253c5106306b05680d7ae83b29ab153fb
7649f34https://github.com/getsentry/sentry-python/pull/4069/commits/7649f34253c5106306b05680d7ae83b29ab153fb
https://github.com/antonpirker
Merge branch 'ivana/potel/port-sample-rate-update' of github.com:gets…https://github.com/getsentry/sentry-python/pull/4069/commits/7f95458a64cf96b1d506d3eeed91a80e6b7af95d
7f95458https://github.com/getsentry/sentry-python/pull/4069/commits/7f95458a64cf96b1d506d3eeed91a80e6b7af95d
https://github.com/antonpirker
updated testhttps://github.com/getsentry/sentry-python/pull/4069/commits/1a09fc586a11196961f29cd485b13d95891dfbb6
1a09fc5https://github.com/getsentry/sentry-python/pull/4069/commits/1a09fc586a11196961f29cd485b13d95891dfbb6
https://github.com/antonpirker
Updated testhttps://github.com/getsentry/sentry-python/pull/4069/commits/0064118a5bb4da07109a8d2860e5ad831f3b4656
0064118https://github.com/getsentry/sentry-python/pull/4069/commits/0064118a5bb4da07109a8d2860e5ad831f3b4656
https://github.com/antonpirker
In case the sentry-trace says we defer the sampling descission, overr…https://github.com/getsentry/sentry-python/pull/4069/commits/0f566829c736dd816b5cd61dc5218de66f01bcfd
0f56682https://github.com/getsentry/sentry-python/pull/4069/commits/0f566829c736dd816b5cd61dc5218de66f01bcfd
https://github.com/antonpirker
antonpirkerhttps://github.com/antonpirker
Feb 28, 2025 https://github.com/getsentry/sentry-python/pull/4069#pullrequestreview-2650112070
View reviewed changes https://github.com/getsentry/sentry-python/pull/4069/files/0f566829c736dd816b5cd61dc5218de66f01bcfd
antonpirkerhttps://github.com/antonpirker
https://github.com/getsentry/sentry-python/pull/4069#pullrequestreview-2650112070
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-python/pull/4069
https://github.com/antonpirker
antonpirkerhttps://github.com/antonpirker
Feb 28, 2025 https://github.com/getsentry/sentry-python/pull/4069#pullrequestreview-2650118499
View reviewed changes https://github.com/getsentry/sentry-python/pull/4069/files/0f566829c736dd816b5cd61dc5218de66f01bcfd
sentry_sdk/integrations/opentelemetry/scope.pyhttps://github.com/getsentry/sentry-python/pull/4069/files/0f566829c736dd816b5cd61dc5218de66f01bcfd#diff-528174229863f3f53150a8c104e36ce6ec54a655e67cba4fcc7be6a8793eda53
antonpirkerhttps://github.com/antonpirker
Feb 28, 2025https://github.com/getsentry/sentry-python/pull/4069#discussion_r1975033591
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-python/pull/4069
sentrivanahttps://github.com/sentrivana
February 28, 2025 09:56https://github.com/getsentry/sentry-python/pull/4069#commits-pushed-56a9eae
https://github.com/sentrivana
simplifyhttps://github.com/getsentry/sentry-python/pull/4069/commits/56a9eae92f5a969a92ff2465c330f3b84b8996b5
56a9eaehttps://github.com/getsentry/sentry-python/pull/4069/commits/56a9eae92f5a969a92ff2465c330f3b84b8996b5
https://github.com/sentrivana
fix testhttps://github.com/getsentry/sentry-python/pull/4069/commits/f60670c0d29f05c4bed0671b4a0bd09f0e258351
f60670chttps://github.com/getsentry/sentry-python/pull/4069/commits/f60670c0d29f05c4bed0671b4a0bd09f0e258351
https://github.com/antonpirker
cleanuphttps://github.com/getsentry/sentry-python/pull/4069/commits/e434be17ca9f680a13d0b2073db4304a1a4d368d
e434be1https://github.com/getsentry/sentry-python/pull/4069/commits/e434be17ca9f680a13d0b2073db4304a1a4d368d
https://github.com/antonpirker
Merge branch 'ivana/potel/port-sample-rate-update' of github.com:gets…https://github.com/getsentry/sentry-python/pull/4069/commits/eb93d9c48d3fad538655cfd081b9ee49f263ba29
eb93d9chttps://github.com/getsentry/sentry-python/pull/4069/commits/eb93d9c48d3fad538655cfd081b9ee49f263ba29
https://github.com/sentrivana
...testing cihttps://github.com/getsentry/sentry-python/pull/4069/commits/01acd94da459a54138d86b138aed5291c55d5394
01acd94https://github.com/getsentry/sentry-python/pull/4069/commits/01acd94da459a54138d86b138aed5291c55d5394
https://github.com/sentrivana
try with monkeypatchhttps://github.com/getsentry/sentry-python/pull/4069/commits/62f312238e83535de20d833350d131d54a65f3a3
62f3122https://github.com/getsentry/sentry-python/pull/4069/commits/62f312238e83535de20d833350d131d54a65f3a3
https://github.com/sentrivana
Merge branch 'potel-base' into ivana/potel/port-sample-rate-updatehttps://github.com/getsentry/sentry-python/pull/4069/commits/d177d6e3d8fff0c2dc5061dff4e891d0aa7b3610
d177d6ehttps://github.com/getsentry/sentry-python/pull/4069/commits/d177d6e3d8fff0c2dc5061dff4e891d0aa7b3610
https://github.com/antonpirker
antonpirkerhttps://github.com/antonpirker
30e1071https://github.com/getsentry/sentry-python/commit/30e1071e171f7fb968187e6db879eba959e267ae
Feb 28, 2025https://github.com/getsentry/sentry-python/pull/4069#event-16509862627
https://github.com/antonpirker
antonpirkerhttps://github.com/antonpirker
February 28, 2025 09:54https://github.com/getsentry/sentry-python/pull/4069#event-16509863141
https://github.com/antonpirker
antonpirkerhttps://github.com/antonpirker
Feb 28, 2025 https://github.com/getsentry/sentry-python/pull/4069#ref-issue-2842258383
Port sample-rate update to POTel #4028 https://github.com/getsentry/sentry-python/issues/4028
https://github.com/sentrivana
sentrivanahttps://github.com/sentrivana
Feb 28, 2025 https://github.com/getsentry/sentry-python/pull/4069#ref-pullrequest-2344614538
POtel implementation base branch (aka SDK 3.0.0) #3152 https://github.com/getsentry/sentry-python/pull/3152
https://github.com/BYK
BYKhttps://github.com/BYK
Sep 3, 2025 https://github.com/getsentry/sentry-python/pull/4069#ref-pullrequest-3379689704
breaking: Remove Spotlight Django integration #4747 https://github.com/getsentry/sentry-python/pull/4747
https://github.co/hiddenchars
https://github.com/getsentry/sentry-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%2Fgetsentry%2Fsentry-python%2Fpull%2F4069
https://github.com/cleptric
cleptric https://github.com/cleptric
https://github.com/getsentry/sentry-python/pull/4069/files/73c0543471029a7751009ab8d786f37b638f8940
https://github.com/antonpirker
antonpirker https://github.com/antonpirker
https://github.com/getsentry/sentry-python/pull/4069/files/0f566829c736dd816b5cd61dc5218de66f01bcfd
Please reload this pagehttps://github.com/getsentry/sentry-python/pull/4069
Please reload this pagehttps://github.com/getsentry/sentry-python/pull/4069
https://github.com/sentrivana
https://github.com/antonpirker
https://github.com/cleptric
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.