-
Notifications
You must be signed in to change notification settings - Fork 82
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't set session when send_session_data is false (#772)
Note: this is the same patch as 96c6036, but for session data. Currently, the send_session_data configuration option is checked in appsignal_plug, in Appsignal.Plug.set_session_data/2-3. Since session data is now also added from appsignal_phoenix, and because there's already a distinction between sample data and parameters in Appsignal.Span, Appsignal.Span.set_sample_data/3-4 now checks the send_session_data configuration if the passed key equals "session-data". The implementation in appsignal_plug can be removed when depending on the upcoming version of this library.
- Loading branch information
1 parent
96c6036
commit 65c5d71
Showing
3 changed files
with
58 additions
and
0 deletions.
There are no files selected for viewing
6 changes: 6 additions & 0 deletions
6
...'t-set-session-data-when-the-send_session_data-configuration-is-set-to-false.md
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
bump: "patch" | ||
type: "add" | ||
--- | ||
|
||
Don't set session data when the send_session_data configuration is set to false |
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