| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:8ef6c85a-b15e-2853-c17a-5ce19e5a9708 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | C11C:1F98:993A:D13A:6B00D284 |
| html-safe-nonce | 4f1f62ca33da473b3ac578abd36b344785c3fc9cc9b70f347f8dc26a76c1b388 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMTFDOjFGOTg6OTkzQTpEMTNBOjZCMDBEMjg0IiwidmlzaXRvcl9pZCI6IjYwODEwNzI2NjgwOTI3MTU2NTIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 4ec7ba2a48ff59b685a391272596bf9ba8140dead3c1ce3d4d253a0fe1e648ce |
| hovercard-subject-tag | pull_request:2176817206 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/getsentry/sentry-python/pull/3767/files |
| twitter:image | https://avatars.githubusercontent.com/u/131587164?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/131587164?s=400&v=4 |
| og:image:alt | for spans that have a local parent (i.e., non-root spans/transactions), just inherit the sampling decision from the parent
update some tests
Closes #3766 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 85bbdfe2b6ba16e234513bc6ceff5d848ef8449820c900692a2b4e67061931e5 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/getsentry/sentry-python git https://github.com/getsentry/sentry-python.git |
| octolytics-dimension-user_id | 1396951 |
| octolytics-dimension-user_login | getsentry |
| octolytics-dimension-repository_id | 137814779 |
| octolytics-dimension-repository_nwo | getsentry/sentry-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 137814779 |
| octolytics-dimension-repository_network_root_nwo | getsentry/sentry-python |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 4943239a6d2c591325dad6e5c313e1cafda877f6 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/getsentry/sentry-python/pull/3767/files#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-python%2Fpull%2F3767%2Ffiles |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-python%2Fpull%2F3767%2Ffiles |
| Sign up | https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=getsentry%2Fsentry-python |
| Reload | https://github.com/getsentry/sentry-python/pull/3767/files |
| Reload | https://github.com/getsentry/sentry-python/pull/3767/files |
| Reload | https://github.com/getsentry/sentry-python/pull/3767/files |
| getsentry | https://github.com/getsentry |
| sentry-python | https://github.com/getsentry/sentry-python |
| Code | https://github.com/getsentry/sentry-python |
| Issues345 (345) | https://github.com/getsentry/sentry-python/issues |
| Pull requests42 (42) | https://github.com/getsentry/sentry-python/pulls |
| Discussions | https://github.com/getsentry/sentry-python/discussions |
| Actions | https://github.com/getsentry/sentry-python/actions |
| Security and quality2 (2) | https://github.com/getsentry/sentry-python/security |
| Insights | https://github.com/getsentry/sentry-python/insights |
| Sign up for GitHub
| https://github.com/signup?return_to=%2Fgetsentry%2Fsentry-python%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Fgetsentry%2Fsentry-python%2Fissues%2Fnew%2Fchoose |
| sentrivana | https://github.com/sentrivana |
| potel-base | https://github.com/getsentry/sentry-python/tree/potel-base |
| ivana/potel/fix-sampler | https://github.com/getsentry/sentry-python/tree/ivana/potel/fix-sampler |
|
Conversation
8
| https://github.com/getsentry/sentry-python/pull/3767 |
|
Commits
13
| https://github.com/getsentry/sentry-python/pull/3767/commits |
|
Checks
0
| https://github.com/getsentry/sentry-python/pull/3767/checks |
|
Files changed
| https://github.com/getsentry/sentry-python/pull/3767/files |
| Please reload this page | https://github.com/getsentry/sentry-python/pull/3767/files |
|
Sample on root span level
| https://github.com/getsentry/sentry-python/pull/3767/files#top |
|
Show all changes
13 commits
| https://github.com/getsentry/sentry-python/pull/3767/files |
|
c017b01
Sample on root span level
sentrivana Nov 13, 2024
| https://github.com/getsentry/sentry-python/pull/3767/commits/c017b015f33ed28ed5d9842eea28f16f757ed6da |
|
b47bc70
note
sentrivana Nov 13, 2024
| https://github.com/getsentry/sentry-python/pull/3767/commits/b47bc70b814f078b870ccc8c3fc4f7809e6473e7 |
|
1d77484
better wording
sentrivana Nov 13, 2024
| https://github.com/getsentry/sentry-python/pull/3767/commits/1d77484ea093b080bd13a72d5f533b0d6da11ec6 |
|
cefb27c
reword and support parent_sampled
sentrivana Nov 13, 2024
| https://github.com/getsentry/sentry-python/pull/3767/commits/cefb27ca9af9e7cefc47e5d17c8101f0936389a2 |
|
3fcbf65
tests
sentrivana Nov 13, 2024
| https://github.com/getsentry/sentry-python/pull/3767/commits/3fcbf65005ab2344928099f2644746025eba8474 |
|
9600484
.
sentrivana Nov 13, 2024
| https://github.com/getsentry/sentry-python/pull/3767/commits/9600484725c330697609c5eb722f8058fe3f3cf5 |
|
69dfe92
remove, this is not a change afait
sentrivana Nov 13, 2024
| https://github.com/getsentry/sentry-python/pull/3767/commits/69dfe92ce655636ac0ca5ef173f06a3d32a19c45 |
|
1b8521b
simplify
sentrivana Nov 13, 2024
| https://github.com/getsentry/sentry-python/pull/3767/commits/1b8521b66a6de4f26c0e3e57765864f6aed34fad |
|
d9b7f71
remove parent_sampled
sentrivana Nov 13, 2024
| https://github.com/getsentry/sentry-python/pull/3767/commits/d9b7f7178344a45f635353e42748902591e46a26 |
|
8ae99c0
fix tests
sentrivana Nov 13, 2024
| https://github.com/getsentry/sentry-python/pull/3767/commits/8ae99c087874024b755c58ac39386f09602c5b9c |
|
a11ff46
remove all parent_sampled stuff
sentrivana Nov 13, 2024
| https://github.com/getsentry/sentry-python/pull/3767/commits/a11ff463cdce702abfbdb8fc7b6969fcd9cbbf19 |
|
e6d1421
Merge branch 'potel-base' into ivana/potel/fix-sampler
sentrivana Nov 13, 2024
| https://github.com/getsentry/sentry-python/pull/3767/commits/e6d1421b3fe489670c8d83bcaa3953f428f7db5b |
|
032a6c4
fix test
sentrivana Nov 14, 2024
| https://github.com/getsentry/sentry-python/pull/3767/commits/032a6c4fe4ede48d4d9b495001ca32df7bcc91a3 |
|
Clear filters
| https://github.com/getsentry/sentry-python/pull/3767/files |
| Please reload this page | https://github.com/getsentry/sentry-python/pull/3767/files |
| Please reload this page | https://github.com/getsentry/sentry-python/pull/3767/files |
|
MIGRATION_GUIDE.md
| https://github.com/getsentry/sentry-python/pull/3767/files#diff-45651f4c3460b0f20be048556615842a07ec86d262fe5d3d346b5e4a9ce56d6a |
|
sampler.py
| https://github.com/getsentry/sentry-python/pull/3767/files#diff-59aa7195d955e153b5cdd730f888994996a72eaf5e9ea174335ce961841584a9 |
|
test_sampling.py
| https://github.com/getsentry/sentry-python/pull/3767/files#diff-b51eab357bbfb00b250fe03b91239ec6bb40d7f11d4c0f22944f1b23d3d24fcc |
|
| https://github.com/getsentry/sentry-python/blob/potel-base/.github/CODEOWNERS#L1 |
| MIGRATION_GUIDE.md | https://github.com/getsentry/sentry-python/pull/3767/files#diff-45651f4c3460b0f20be048556615842a07ec86d262fe5d3d346b5e4a9ce56d6a |
|
View file
| https://github.com/getsentry/sentry-python/blob/032a6c4fe4ede48d4d9b495001ca32df7bcc91a3/MIGRATION_GUIDE.md |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/getsentry/sentry-python/pull/3767/{{ revealButtonHref }} |
|
| https://github.com/getsentry/sentry-python/pull/3767/files#diff-45651f4c3460b0f20be048556615842a07ec86d262fe5d3d346b5e4a9ce56d6a |
|
| https://github.com/getsentry/sentry-python/pull/3767/files#diff-45651f4c3460b0f20be048556615842a07ec86d262fe5d3d346b5e4a9ce56d6a |
|
| https://github.com/getsentry/sentry-python/blob/potel-base/.github/CODEOWNERS#L1 |
| sentry_sdk/integrations/opentelemetry/sampler.py | https://github.com/getsentry/sentry-python/pull/3767/files#diff-59aa7195d955e153b5cdd730f888994996a72eaf5e9ea174335ce961841584a9 |
|
View file
| https://github.com/getsentry/sentry-python/blob/032a6c4fe4ede48d4d9b495001ca32df7bcc91a3/sentry_sdk/integrations/opentelemetry/sampler.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/getsentry/sentry-python/pull/3767/{{ revealButtonHref }} |
|
| https://github.com/getsentry/sentry-python/pull/3767/files#diff-59aa7195d955e153b5cdd730f888994996a72eaf5e9ea174335ce961841584a9 |
|
| https://github.com/getsentry/sentry-python/pull/3767/files#diff-59aa7195d955e153b5cdd730f888994996a72eaf5e9ea174335ce961841584a9 |
|
| https://github.com/getsentry/sentry-python/pull/3767/files#diff-59aa7195d955e153b5cdd730f888994996a72eaf5e9ea174335ce961841584a9 |
|
| https://github.com/getsentry/sentry-python/pull/3767/files#diff-59aa7195d955e153b5cdd730f888994996a72eaf5e9ea174335ce961841584a9 |
|
| https://github.com/getsentry/sentry-python/blob/potel-base/.github/CODEOWNERS#L1 |
| tests/tracing/test_sampling.py | https://github.com/getsentry/sentry-python/pull/3767/files#diff-b51eab357bbfb00b250fe03b91239ec6bb40d7f11d4c0f22944f1b23d3d24fcc |
|
View file
| https://github.com/getsentry/sentry-python/blob/032a6c4fe4ede48d4d9b495001ca32df7bcc91a3/tests/tracing/test_sampling.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/getsentry/sentry-python/pull/3767/{{ revealButtonHref }} |
|
| https://github.com/getsentry/sentry-python/pull/3767/files#diff-b51eab357bbfb00b250fe03b91239ec6bb40d7f11d4c0f22944f1b23d3d24fcc |
|
| https://github.com/getsentry/sentry-python/pull/3767/files#diff-b51eab357bbfb00b250fe03b91239ec6bb40d7f11d4c0f22944f1b23d3d24fcc |
|
| https://github.com/getsentry/sentry-python/pull/3767/files#diff-b51eab357bbfb00b250fe03b91239ec6bb40d7f11d4c0f22944f1b23d3d24fcc |
|
| https://github.com/getsentry/sentry-python/pull/3767/files#diff-b51eab357bbfb00b250fe03b91239ec6bb40d7f11d4c0f22944f1b23d3d24fcc |
|
| https://github.com/getsentry/sentry-python/pull/3767/files#diff-b51eab357bbfb00b250fe03b91239ec6bb40d7f11d4c0f22944f1b23d3d24fcc |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |