| 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:bce97395-a92d-726a-faf5-55d984afd571 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | A2FE:21E3E7:36669A:49A4E7:6B00C5E5 |
| html-safe-nonce | 5e4a75716d8783ffdfb8ab2a740db638c82e69b08c44c70f127aa70b6de115a0 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMkZFOjIxRTNFNzozNjY2OUE6NDlBNEU3OjZCMDBDNUU1IiwidmlzaXRvcl9pZCI6IjI3OTUxMjUwNTQwMDkwMzQyMTQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 2cafee0723309e7edf6939902b8adc723d302b013639122723e8fbb0f46a5ff6 |
| hovercard-subject-tag | pull_request:2055463313 |
| 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/3501/files |
| twitter:image | https://avatars.githubusercontent.com/u/202325?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/202325?s=400&v=4 |
| og:image:alt | Add a new SentrySampler that is used for sampling OpenTelemetry spans the Sentry way (using Sentrys traces_sample_rate and traces_sampler config options)
Fixes #3318 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 98dc00e171c204462a6f367482a0f8c3c6b5dbca99cd7390e82d2df49ce096e4 |
| 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 | ef013399cf0a3c324bea644a685d7c1e0f06b5b7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/getsentry/sentry-python/pull/3501/files#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-python%2Fpull%2F3501%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%2F3501%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/3501/files |
| Reload | https://github.com/getsentry/sentry-python/pull/3501/files |
| Reload | https://github.com/getsentry/sentry-python/pull/3501/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 |
| antonpirker | https://github.com/antonpirker |
| potel-base | https://github.com/getsentry/sentry-python/tree/potel-base |
| antonpirker/potel/sampling | https://github.com/getsentry/sentry-python/tree/antonpirker/potel/sampling |
|
Conversation
22
| https://github.com/getsentry/sentry-python/pull/3501 |
|
Commits
21
| https://github.com/getsentry/sentry-python/pull/3501/commits |
|
Checks
0
| https://github.com/getsentry/sentry-python/pull/3501/checks |
|
Files changed
| https://github.com/getsentry/sentry-python/pull/3501/files |
| Please reload this page | https://github.com/getsentry/sentry-python/pull/3501/files |
|
Potel Sampling
| https://github.com/getsentry/sentry-python/pull/3501/files#top |
|
Show all changes
21 commits
| https://github.com/getsentry/sentry-python/pull/3501/files |
|
7acf5ae
First version of Sentry potel sampler
antonpirker Sep 5, 2024
| https://github.com/getsentry/sentry-python/pull/3501/commits/7acf5aef672927342ee978c698e613972531750f |
|
b9b42c6
Make traces_sampler work
antonpirker Sep 5, 2024
| https://github.com/getsentry/sentry-python/pull/3501/commits/b9b42c6a437b030544ffceff1543e693a06d8c7e |
|
352cfa8
One more test
antonpirker Sep 5, 2024
| https://github.com/getsentry/sentry-python/pull/3501/commits/352cfa8c327221bc77463c6f71d91abfc19af7f0 |
|
2edc217
wording
antonpirker Sep 5, 2024
| https://github.com/getsentry/sentry-python/pull/3501/commits/2edc2174a88a4d3b88bfcc884a2b12c963b4a433 |
|
e859aef
Made name not static
antonpirker Sep 5, 2024
| https://github.com/getsentry/sentry-python/pull/3501/commits/e859aefa67b349e51eaa1213ee6dbc0451a7988f |
|
1c6d1e7
Added tests for upstream sampling decision
antonpirker Sep 9, 2024
| https://github.com/getsentry/sentry-python/pull/3501/commits/1c6d1e7fe9c050b5234d1fbcab9ae72ca9e4979e |
|
b7fe11f
Merge branch 'potel-base' into antonpirker/potel/sampling
antonpirker Sep 9, 2024
| https://github.com/getsentry/sentry-python/pull/3501/commits/b7fe11fe5a17da73a7534b38f9aefbcf2ebaa7d0 |
|
6dc77b7
Use new continue_trace
antonpirker Sep 9, 2024
| https://github.com/getsentry/sentry-python/pull/3501/commits/6dc77b7189388d35e00d8cf77299218b7b9004a3 |
|
c7fd9b8
updated tests
antonpirker Sep 9, 2024
| https://github.com/getsentry/sentry-python/pull/3501/commits/c7fd9b8c5c154503799775cd2f036cbc06c127d2 |
|
c2049c4
Fixed tests
antonpirker Sep 9, 2024
| https://github.com/getsentry/sentry-python/pull/3501/commits/c2049c49ec6232cd0f43dba65c3ff8267a586e51 |
|
613c5d1
Improved tests
antonpirker Sep 9, 2024
| https://github.com/getsentry/sentry-python/pull/3501/commits/613c5d1822fa53f1fda1a0994fd829c0fd1f81fb |
|
a8fbb9d
Cleanup
antonpirker Sep 9, 2024
| https://github.com/getsentry/sentry-python/pull/3501/commits/a8fbb9da8f5275a7dd9aa7ef6683fb9241a54463 |
|
d3a2c2f
Cleanup
antonpirker Sep 9, 2024
| https://github.com/getsentry/sentry-python/pull/3501/commits/d3a2c2f102f319e7e6a97e331fdbd744cad42188 |
|
d2bd9e8
review feedback.
antonpirker Sep 10, 2024
| https://github.com/getsentry/sentry-python/pull/3501/commits/d2bd9e855f0ba03171e7e3b9f69b9584693a83ba |
|
e718736
Return update trace_state withing the SamplingResult
antonpirker Sep 10, 2024
| https://github.com/getsentry/sentry-python/pull/3501/commits/e7187360eac4ac1427a7ac6c328a0ed7f293cacd |
|
453ce29
Fixed trace_state
antonpirker Sep 10, 2024
| https://github.com/getsentry/sentry-python/pull/3501/commits/453ce2932a147ff32a75f592597c13d05d472bab |
|
daeb7de
Fix sample_rate code and some cleanup
antonpirker Sep 10, 2024
| https://github.com/getsentry/sentry-python/pull/3501/commits/daeb7de179a8bcd5802ff64446b900d0defe4f7f |
|
1c95db2
typing
antonpirker Sep 10, 2024
| https://github.com/getsentry/sentry-python/pull/3501/commits/1c95db26221eb92459623050c46f27c885a0fd78 |
|
8acb109
Removed default sample_rate because it is set in _get_options
antonpirker Sep 10, 2024
| https://github.com/getsentry/sentry-python/pull/3501/commits/8acb1096eb7f5e4be31429401e2306acb3852d44 |
|
8b27cd9
Cleanup
antonpirker Sep 10, 2024
| https://github.com/getsentry/sentry-python/pull/3501/commits/8b27cd9ac368e0c87b8fd6d9628d165015f0f6d1 |
|
f29b782
Nicer tests
antonpirker Sep 10, 2024
| https://github.com/getsentry/sentry-python/pull/3501/commits/f29b782d30de278228966151d707dd73dc32ad4b |
|
Clear filters
| https://github.com/getsentry/sentry-python/pull/3501/files |
| Please reload this page | https://github.com/getsentry/sentry-python/pull/3501/files |
| Please reload this page | https://github.com/getsentry/sentry-python/pull/3501/files |
|
consts.py
| https://github.com/getsentry/sentry-python/pull/3501/files#diff-ff5684ad94cd7ee6c4d7fe4a894d4ff073a7c37926cf071513e46c38afb1b076 |
|
integration.py
| https://github.com/getsentry/sentry-python/pull/3501/files#diff-32ee1bba5e03f34480a2f4ea095cd1e4a7b5ac2ed3082a88370dae835402ebbb |
|
sampler.py
| https://github.com/getsentry/sentry-python/pull/3501/files#diff-59aa7195d955e153b5cdd730f888994996a72eaf5e9ea174335ce961841584a9 |
|
scope.py
| https://github.com/getsentry/sentry-python/pull/3501/files#diff-528174229863f3f53150a8c104e36ce6ec54a655e67cba4fcc7be6a8793eda53 |
|
test_sampler.py
| https://github.com/getsentry/sentry-python/pull/3501/files#diff-086e9b3ee374d1dc6adf3f61a1703afb2c9faaebc56ccc48855546448398c9a8 |
|
| https://github.com/getsentry/sentry-python/blob/potel-base/.github/CODEOWNERS#L1 |
| sentry_sdk/integrations/opentelemetry/consts.py | https://github.com/getsentry/sentry-python/pull/3501/files#diff-ff5684ad94cd7ee6c4d7fe4a894d4ff073a7c37926cf071513e46c38afb1b076 |
|
View file
| https://github.com/getsentry/sentry-python/blob/f29b782d30de278228966151d707dd73dc32ad4b/sentry_sdk/integrations/opentelemetry/consts.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/getsentry/sentry-python/pull/3501/{{ revealButtonHref }} |
|
| https://github.com/getsentry/sentry-python/pull/3501/files#diff-ff5684ad94cd7ee6c4d7fe4a894d4ff073a7c37926cf071513e46c38afb1b076 |
|
| https://github.com/getsentry/sentry-python/pull/3501/files#diff-ff5684ad94cd7ee6c4d7fe4a894d4ff073a7c37926cf071513e46c38afb1b076 |
|
| https://github.com/getsentry/sentry-python/blob/potel-base/.github/CODEOWNERS#L1 |
| sentry_sdk/integrations/opentelemetry/integration.py | https://github.com/getsentry/sentry-python/pull/3501/files#diff-32ee1bba5e03f34480a2f4ea095cd1e4a7b5ac2ed3082a88370dae835402ebbb |
|
View file
| https://github.com/getsentry/sentry-python/blob/f29b782d30de278228966151d707dd73dc32ad4b/sentry_sdk/integrations/opentelemetry/integration.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/getsentry/sentry-python/pull/3501/{{ revealButtonHref }} |
|
| https://github.com/getsentry/sentry-python/pull/3501/files#diff-32ee1bba5e03f34480a2f4ea095cd1e4a7b5ac2ed3082a88370dae835402ebbb |
|
| https://github.com/getsentry/sentry-python/pull/3501/files#diff-32ee1bba5e03f34480a2f4ea095cd1e4a7b5ac2ed3082a88370dae835402ebbb |
|
| https://github.com/getsentry/sentry-python/pull/3501/files#diff-32ee1bba5e03f34480a2f4ea095cd1e4a7b5ac2ed3082a88370dae835402ebbb |
|
| https://github.com/getsentry/sentry-python/pull/3501/files#diff-32ee1bba5e03f34480a2f4ea095cd1e4a7b5ac2ed3082a88370dae835402ebbb |
|
| 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/3501/files#diff-59aa7195d955e153b5cdd730f888994996a72eaf5e9ea174335ce961841584a9 |
|
View file
| https://github.com/getsentry/sentry-python/blob/f29b782d30de278228966151d707dd73dc32ad4b/sentry_sdk/integrations/opentelemetry/sampler.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/getsentry/sentry-python/pull/3501/{{ revealButtonHref }} |
| Please reload this page | https://github.com/getsentry/sentry-python/pull/3501/files |
|
| https://github.com/getsentry/sentry-python/blob/potel-base/.github/CODEOWNERS#L1 |
| sentry_sdk/integrations/opentelemetry/scope.py | https://github.com/getsentry/sentry-python/pull/3501/files#diff-528174229863f3f53150a8c104e36ce6ec54a655e67cba4fcc7be6a8793eda53 |
|
View file
| https://github.com/getsentry/sentry-python/blob/f29b782d30de278228966151d707dd73dc32ad4b/sentry_sdk/integrations/opentelemetry/scope.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/getsentry/sentry-python/pull/3501/{{ revealButtonHref }} |
|
| https://github.com/getsentry/sentry-python/pull/3501/files#diff-528174229863f3f53150a8c104e36ce6ec54a655e67cba4fcc7be6a8793eda53 |
|
| https://github.com/getsentry/sentry-python/pull/3501/files#diff-528174229863f3f53150a8c104e36ce6ec54a655e67cba4fcc7be6a8793eda53 |
| Please reload this page | https://github.com/getsentry/sentry-python/pull/3501/files |
|
| 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 |