| 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:48abdbca-ba4b-131a-ecd2-1579367f5c8b |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | C390:EE4AB:4A82FA:6661F5:6B046FE7 |
| html-safe-nonce | ebaeee0e6ecc7db77ef59d6ab708b757747b3e817e70594306ad8735fdad7092 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMzkwOkVFNEFCOjRBODJGQTo2NjYxRjU6NkIwNDZGRTciLCJ2aXNpdG9yX2lkIjoiNDE3NjMyMjkzNjUyNzE1NTE3NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 9cb29a59e2fa66ae70015e7cb484f9aaeda43e78a377f7580d27b92b4c6bdcc8 |
| hovercard-subject-tag | pull_request:982799522 |
| 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-java/pull/2145/files |
| twitter:image | https://avatars.githubusercontent.com/u/2542832?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/2542832?s=400&v=4 |
| og:image:alt | 📜 Description
💡 Motivation and Context
userid is considered PII and now hidden behind sendDefaultPii.
💚 How did you test it?
Unit tests
📝 Checklist
I reviewed the submitted code
I added test... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | ae8802492f12d3ba4f6b0d814054e617a2a5616b6327bf8555c10cd5b0dc2a6f |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/getsentry/sentry-java git https://github.com/getsentry/sentry-java.git |
| octolytics-dimension-user_id | 1396951 |
| octolytics-dimension-user_login | getsentry |
| octolytics-dimension-repository_id | 3368190 |
| octolytics-dimension-repository_nwo | getsentry/sentry-java |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 3368190 |
| octolytics-dimension-repository_network_root_nwo | getsentry/sentry-java |
| 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 | cfb5f24c6e01d85f70804652a5107e5cac03a161 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/getsentry/sentry-java/pull/2145/files#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-java%2Fpull%2F2145%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-java%2Fpull%2F2145%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-java |
| Reload | https://github.com/getsentry/sentry-java/pull/2145/files |
| Reload | https://github.com/getsentry/sentry-java/pull/2145/files |
| Reload | https://github.com/getsentry/sentry-java/pull/2145/files |
| getsentry | https://github.com/getsentry |
| sentry-java | https://github.com/getsentry/sentry-java |
| Code | https://github.com/getsentry/sentry-java |
| Issues266 (266) | https://github.com/getsentry/sentry-java/issues |
| Pull requests57 (57) | https://github.com/getsentry/sentry-java/pulls |
| Discussions | https://github.com/getsentry/sentry-java/discussions |
| Actions | https://github.com/getsentry/sentry-java/actions |
| Projects | https://github.com/getsentry/sentry-java/projects |
| Security and quality2 (2) | https://github.com/getsentry/sentry-java/security |
| Insights | https://github.com/getsentry/sentry-java/insights |
| Sign up for GitHub
| https://github.com/signup?return_to=%2Fgetsentry%2Fsentry-java%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-java%2Fissues%2Fnew%2Fchoose |
| adinauer | https://github.com/adinauer |
| feat/add-sample-rate-to-baggage | https://github.com/getsentry/sentry-java/tree/feat/add-sample-rate-to-baggage |
| feat/skip-userid-in-baggage-if-not-sending-pii | https://github.com/getsentry/sentry-java/tree/feat/skip-userid-in-baggage-if-not-sending-pii |
|
Conversation
5
| https://github.com/getsentry/sentry-java/pull/2145 |
|
Commits
11
| https://github.com/getsentry/sentry-java/pull/2145/commits |
|
Checks
0
| https://github.com/getsentry/sentry-java/pull/2145/checks |
|
Files changed
| https://github.com/getsentry/sentry-java/pull/2145/files |
| Please reload this page | https://github.com/getsentry/sentry-java/pull/2145/files |
|
Only send userid in baggage if sendDefaultPii is true
| https://github.com/getsentry/sentry-java/pull/2145/files#top |
|
Show all changes
11 commits
| https://github.com/getsentry/sentry-java/pull/2145/files |
|
0163e53
Add sample rate from traces sampler to DSC
adinauer Jun 28, 2022
| https://github.com/getsentry/sentry-java/pull/2145/commits/0163e53ad55eb02cdb19eb1e10bfb63f1ca44890 |
|
59d32d8
Do not replace null with true/false
adinauer Jun 28, 2022
| https://github.com/getsentry/sentry-java/pull/2145/commits/59d32d88940611e2c561c4d80905803fbd899ab6 |
|
2f95fd1
Restore sample rate in OutboxSender
adinauer Jun 29, 2022
| https://github.com/getsentry/sentry-java/pull/2145/commits/2f95fd15955a7b7dfebbd3b1e9e791d77d381b6d |
|
eaf947e
Remove fallback for sampling decision from TraceContext
adinauer Jun 29, 2022
| https://github.com/getsentry/sentry-java/pull/2145/commits/eaf947e85972fc436be77c25ca6da8ddd7bff511 |
|
0f9bbda
Remove sample rate fallback from TracesSamplingDecision
adinauer Jun 29, 2022
| https://github.com/getsentry/sentry-java/pull/2145/commits/0f9bbdaf8292bafef20a30972f327907c9409b33 |
|
755b63f
Test more envelope header trace fields for OutboxSender
adinauer Jun 29, 2022
| https://github.com/getsentry/sentry-java/pull/2145/commits/755b63f655885caa88d2a435abb716998745d332 |
|
a8a8479
Skip sending userId in baggage if send default pii is off
adinauer Jun 29, 2022
| https://github.com/getsentry/sentry-java/pull/2145/commits/a8a84790156e0f1f3618789e61f65032c9dc3a94 |
|
63d71ad
Add changelog
adinauer Jun 29, 2022
| https://github.com/getsentry/sentry-java/pull/2145/commits/63d71ad892165c3655ed51cba96c1b44c71a8f15 |
|
87f91f8
CR changes
adinauer Jun 30, 2022
| https://github.com/getsentry/sentry-java/pull/2145/commits/87f91f8bd2cffee2e87acadca7dcbff585c9cb93 |
|
a0a0720
Merge branch 'feat/traces-sampler-into-sample-rate' into feat/skip-us…
adinauer Jun 30, 2022
| https://github.com/getsentry/sentry-java/pull/2145/commits/a0a07204691bede9652f94e863862462887ff1af |
|
8df67ba
Merge branch 'feat/add-sample-rate-to-baggage' into feat/skip-userid-…
adinauer Jun 30, 2022
| https://github.com/getsentry/sentry-java/pull/2145/commits/8df67ba145b7ee77a7144e00f35bdebae4c5961a |
|
Clear filters
| https://github.com/getsentry/sentry-java/pull/2145/files |
| Please reload this page | https://github.com/getsentry/sentry-java/pull/2145/files |
| Please reload this page | https://github.com/getsentry/sentry-java/pull/2145/files |
|
CHANGELOG.md
| https://github.com/getsentry/sentry-java/pull/2145/files#diff-06572a96a58dc510037d5efa622f9bec8519bc1beab13c9f251e97e657a9d4ed |
|
sentry.api
| https://github.com/getsentry/sentry-java/pull/2145/files#diff-0a6c9bc9e5dcbca3f56e636e12226cb87ddd6f0c7c8ec6df4257417393be2df8 |
|
Baggage.java
| https://github.com/getsentry/sentry-java/pull/2145/files#diff-f9db183dc9b5255ff806e4598c125ade39a26fdee02bc535c254721c30de5237 |
|
SentryTracer.java
| https://github.com/getsentry/sentry-java/pull/2145/files#diff-8bb325ca6fc9666c24826415b357d8e76a34cb455edc5709dd962bdcd34c6f16 |
|
TraceContext.java
| https://github.com/getsentry/sentry-java/pull/2145/files#diff-9049646d5de9245eead3115d46537579192044823590d4e9ef02eb221a9ae43c |
|
BaggageTest.kt
| https://github.com/getsentry/sentry-java/pull/2145/files#diff-f89848d872b9dc5527ea8cf6480ce01bfa720eb2267ea649ac340dd8aff4f5a5 |
|
SentryTracerTest.kt
| https://github.com/getsentry/sentry-java/pull/2145/files#diff-097b1c77856fca6ec825c407a31bfe5685e4084f3a7b2b92206056e8f294c8ba |
| CHANGELOG.md | https://github.com/getsentry/sentry-java/pull/2145/files#diff-06572a96a58dc510037d5efa622f9bec8519bc1beab13c9f251e97e657a9d4ed |
|
View file
| https://github.com/getsentry/sentry-java/blob/8df67ba145b7ee77a7144e00f35bdebae4c5961a/CHANGELOG.md |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/getsentry/sentry-java/pull/2145/{{ revealButtonHref }} |
|
| https://github.com/getsentry/sentry-java/pull/2145/files#diff-06572a96a58dc510037d5efa622f9bec8519bc1beab13c9f251e97e657a9d4ed |
|
| https://github.com/getsentry/sentry-java/pull/2145/files#diff-06572a96a58dc510037d5efa622f9bec8519bc1beab13c9f251e97e657a9d4ed |
| sentry/api/sentry.api | https://github.com/getsentry/sentry-java/pull/2145/files#diff-0a6c9bc9e5dcbca3f56e636e12226cb87ddd6f0c7c8ec6df4257417393be2df8 |
|
View file
| https://github.com/getsentry/sentry-java/blob/8df67ba145b7ee77a7144e00f35bdebae4c5961a/sentry/api/sentry.api |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/getsentry/sentry-java/pull/2145/{{ revealButtonHref }} |
|
| https://github.com/getsentry/sentry-java/pull/2145/files#diff-0a6c9bc9e5dcbca3f56e636e12226cb87ddd6f0c7c8ec6df4257417393be2df8 |
|
| https://github.com/getsentry/sentry-java/pull/2145/files#diff-0a6c9bc9e5dcbca3f56e636e12226cb87ddd6f0c7c8ec6df4257417393be2df8 |
|
| https://github.com/getsentry/sentry-java/pull/2145/files#diff-0a6c9bc9e5dcbca3f56e636e12226cb87ddd6f0c7c8ec6df4257417393be2df8 |
|
| https://github.com/getsentry/sentry-java/pull/2145/files#diff-0a6c9bc9e5dcbca3f56e636e12226cb87ddd6f0c7c8ec6df4257417393be2df8 |
| sentry/src/main/java/io/sentry/Baggage.java | https://github.com/getsentry/sentry-java/pull/2145/files#diff-f9db183dc9b5255ff806e4598c125ade39a26fdee02bc535c254721c30de5237 |
|
View file
| https://github.com/getsentry/sentry-java/blob/8df67ba145b7ee77a7144e00f35bdebae4c5961a/sentry/src/main/java/io/sentry/Baggage.java |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/getsentry/sentry-java/pull/2145/{{ revealButtonHref }} |
|
| https://github.com/getsentry/sentry-java/pull/2145/files#diff-f9db183dc9b5255ff806e4598c125ade39a26fdee02bc535c254721c30de5237 |
|
| https://github.com/getsentry/sentry-java/pull/2145/files#diff-f9db183dc9b5255ff806e4598c125ade39a26fdee02bc535c254721c30de5237 |
|
| https://github.com/getsentry/sentry-java/pull/2145/files#diff-f9db183dc9b5255ff806e4598c125ade39a26fdee02bc535c254721c30de5237 |
|
| https://github.com/getsentry/sentry-java/pull/2145/files#diff-f9db183dc9b5255ff806e4598c125ade39a26fdee02bc535c254721c30de5237 |
|
| https://github.com/getsentry/sentry-java/pull/2145/files#diff-f9db183dc9b5255ff806e4598c125ade39a26fdee02bc535c254721c30de5237 |
|
| https://github.com/getsentry/sentry-java/pull/2145/files#diff-f9db183dc9b5255ff806e4598c125ade39a26fdee02bc535c254721c30de5237 |
|
| https://github.com/getsentry/sentry-java/pull/2145/files#diff-f9db183dc9b5255ff806e4598c125ade39a26fdee02bc535c254721c30de5237 |
| sentry/src/main/java/io/sentry/SentryTracer.java | https://github.com/getsentry/sentry-java/pull/2145/files#diff-8bb325ca6fc9666c24826415b357d8e76a34cb455edc5709dd962bdcd34c6f16 |
|
View file
| https://github.com/getsentry/sentry-java/blob/8df67ba145b7ee77a7144e00f35bdebae4c5961a/sentry/src/main/java/io/sentry/SentryTracer.java |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/getsentry/sentry-java/pull/2145/{{ revealButtonHref }} |
|
| https://github.com/getsentry/sentry-java/pull/2145/files#diff-8bb325ca6fc9666c24826415b357d8e76a34cb455edc5709dd962bdcd34c6f16 |
|
| https://github.com/getsentry/sentry-java/pull/2145/files#diff-8bb325ca6fc9666c24826415b357d8e76a34cb455edc5709dd962bdcd34c6f16 |
| sentry/src/main/java/io/sentry/TraceContext.java | https://github.com/getsentry/sentry-java/pull/2145/files#diff-9049646d5de9245eead3115d46537579192044823590d4e9ef02eb221a9ae43c |
|
View file
| https://github.com/getsentry/sentry-java/blob/8df67ba145b7ee77a7144e00f35bdebae4c5961a/sentry/src/main/java/io/sentry/TraceContext.java |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/getsentry/sentry-java/pull/2145/{{ revealButtonHref }} |
|
| https://github.com/getsentry/sentry-java/pull/2145/files#diff-9049646d5de9245eead3115d46537579192044823590d4e9ef02eb221a9ae43c |
|
| https://github.com/getsentry/sentry-java/pull/2145/files#diff-9049646d5de9245eead3115d46537579192044823590d4e9ef02eb221a9ae43c |
| Please reload this page | https://github.com/getsentry/sentry-java/pull/2145/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 |