-
-
Notifications
You must be signed in to change notification settings - Fork 427
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
Add sample rate to baggage as well as trace in envelope header and flatten user #2135
Changes from 2 commits
fb4c0c9
135798b
076ba00
96ac28f
db695a4
e4d7fb5
1a88d77
685c725
30e4ed6
1170cc7
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 | ||||
---|---|---|---|---|---|---|
|
@@ -180,6 +180,10 @@ public void setTransaction(final @Nullable String transaction) { | |||||
set("sentry-transaction", transaction); | ||||||
} | ||||||
|
||||||
public void setSampleRate(final @Nullable String sampleRate) { | ||||||
set("sentry-samplerate", sampleRate); | ||||||
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. We decided to make baggage and envelope header key names identical (except for the Therefore, we should change the snake case keys to underscores (like in the example below)
Suggested change
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. Does that also mean
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. Yes, exactly 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.
It becomes 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. OK thanks, will update. |
||||||
} | ||||||
|
||||||
public void set(final @NotNull String key, final @Nullable String value) { | ||||||
this.keyValues.put(key, value); | ||||||
} | ||||||
|
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.
Merge main into the branch to fix the changelog.