-
Notifications
You must be signed in to change notification settings - Fork 89
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(server): Serialize the DSC into event payloads (#3811)
Serializes the full contents of the dynamic sampling context (DSC) into the event payload as a hidden `_dsc` field. This allows for debugging of dynamic sampling rules, sample rates, and all information passed along by SDKs. This runs exclusively in processing Relays at the very end of the processing stage. Note that this may include _inferred_ DSCs from the event payload under any of the following conditions: - The client did not send a DSC - The DSC originates from a different Sentry organization
- Loading branch information
Showing
8 changed files
with
91 additions
and
4 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -109,5 +109,6 @@ Event { | |
scraping_attempts: ~, | ||
_metrics: ~, | ||
_metrics_summary: ~, | ||
_dsc: ~, | ||
other: {}, | ||
} |
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 |
---|---|---|
|
@@ -109,5 +109,6 @@ Event { | |
scraping_attempts: ~, | ||
_metrics: ~, | ||
_metrics_summary: ~, | ||
_dsc: ~, | ||
other: {}, | ||
} |
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 |
---|---|---|
|
@@ -90,5 +90,6 @@ Event { | |
scraping_attempts: ~, | ||
_metrics: ~, | ||
_metrics_summary: ~, | ||
_dsc: ~, | ||
other: {}, | ||
} |
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 |
---|---|---|
|
@@ -122,5 +122,6 @@ Event { | |
scraping_attempts: ~, | ||
_metrics: ~, | ||
_metrics_summary: ~, | ||
_dsc: ~, | ||
other: {}, | ||
} |
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