-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use sendDefaultPii=true
for Java SDK onboarding
#85141
Changes from all commits
428a1c8
f5923d6
4b5bf4a
ff55925
142959e
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -125,7 +125,10 @@ SENTRY_PROPERTIES_FILE=sentry.properties java -javaagent:sentry-opentelemetry-ag | |
`; | ||
|
||
const getSentryPropertiesSnippet = (params: Params) => ` | ||
dsn=${params.dsn.public}${ | ||
dsn=${params.dsn.public} | ||
# Add data like request headers and IP for users, | ||
# see https://docs.sentry.io/platforms/java/guides/log4j2/data-management/data-collected/ for more info | ||
send-default-pii=true${ | ||
params.isPerformanceSelected | ||
? ` | ||
traces-sample-rate=1.0` | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There's still a sample without |
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There's also the wizard where I couldn't find any trace of the PII setting being suggested / enabled.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep, probably we could add
send-default-pii=true
to thesentry.properties
created by the Wizard, commented out and with a comment above it that explains what it does (out of scope for this PR ofc).There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I opened an issue for the wizard changes: getsentry/sentry-wizard#790