ref: Set PII to maybe for most non sentry.* attributes#127
Merged
Conversation
cleptric
reviewed
Sep 9, 2025
cleptric
reviewed
Sep 9, 2025
cleptric
reviewed
Sep 9, 2025
cleptric
reviewed
Sep 9, 2025
sentry.* attributessentry.* attributes
loewenheim
reviewed
Sep 9, 2025
Contributor
loewenheim
left a comment
There was a problem hiding this comment.
One thing I noticed: http.client_ip was changed to true but its alias (and replacement) http.client.address was changed to maybe. We should probably make sure that all aliases of an attribute have the same PII value.
Member
Author
Good point. I've handled this manually for now, but we should add this property to the lints. |
cleptric
approved these changes
Sep 9, 2025
loewenheim
added a commit
to getsentry/relay
that referenced
this pull request
Sep 9, 2025
This updates the `sentry-conventions` submodule to 8cc17b95c560aa3efa5537cb5e40a5734e34c6c8 to get access to getsentry/sentry-conventions#127.
github-merge-queue bot
pushed a commit
to getsentry/relay
that referenced
this pull request
Sep 9, 2025
This updates the `sentry-conventions` submodule from getsentry/sentry-conventions@a57b7e3 to [8cc17b95c560aa3efa5537cb5e40a5734e34c6c8](getsentry/sentry-conventions@8cc17b9) to get access to getsentry/sentry-conventions#127. As of getsentry/sentry-conventions@844fe66, `deprecation.replacement` is no longer required, so we need to make the field optional. Fixes INGEST-542.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary of changes
Set to
pii = "true":http.client_ipclient.addressLeft to
pii: "false"or things could break:Notable attributes changed to
pii: "maybe":All of the remaining attributes have also been changed from PII
falsetomaybe.Some of these are not typed at all in Relay (which means
pii: true), others are typed and havepii: false/maybe. I document the current value in Relay for some of them below.Note that all of the
pii: "true"cases are due to the fact that the attribute is not typed in Relay, explicitpii: "true"values are present only on SentryTags.