forked from getsentry/sentry-java
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove userId from baggage due to PII (getsentry#2157) Rnemae jose dependency config name
- Loading branch information
1 parent
c96fb1d
commit 7064417
Showing
5 changed files
with
11 additions
and
5 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -496,7 +496,7 @@ class SentryTracerTest { | |
assertEquals("environment", it.environment) | ||
assertEquals("[email protected]", it.release) | ||
assertEquals(transaction.name, it.transaction) | ||
assertEquals("user-id", it.userId) | ||
// assertEquals("user-id", it.userId) | ||
assertEquals("pro", it.userSegment) | ||
} | ||
} | ||
|
@@ -569,7 +569,7 @@ class SentryTracerTest { | |
assertTrue(it.value.contains("sentry-release=1.0.99-rc.7,")) | ||
assertTrue(it.value.contains("sentry-environment=production,")) | ||
assertTrue(it.value.contains("sentry-transaction=name,")) | ||
assertTrue(it.value.contains("sentry-user_id=userId12345,")) | ||
// assertTrue(it.value.contains("sentry-user_id=userId12345,")) | ||
assertTrue(it.value.contains("sentry-user_segment=pro$".toRegex())) | ||
} | ||
} | ||
|