-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
feat: Pass parentSampleRate
to tracesSampler
#15024
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
Merged
Merged
Changes from 1 commit
Commits
Show all changes
53 commits
Select commit
Hold shift + click to select a range
ebcf7bf
Remove unused function
a83a511
Merge remote-tracking branch 'origin/develop' into lforst-sample-rand
1646f0b
Write and use sample rand on propagation context
7fbba52
Implement propagating sampling decision properly
0b12615
Inject sample rand
1eac9af
Merge remote-tracking branch 'origin/develop' into lforst-sample-rand
38fe823
format
4fb937f
put onto initial dsc
6c27931
Add tests for `tracesSampleRate` behavior
8d6984f
mv
9b394c3
todo comment
1d4a641
unit tests
2d35988
node integration tests
957bc09
browser integration tests
e1c531f
Fix test
1fbbf82
Merge remote-tracking branch 'origin/develop' into lforst-sample-rand
a1d5dd3
test fix
83ac885
feat: Pass `parentSampleRate` to `tracesSampler`
045b41f
always apply root span sample rate to dsc
52ea3d2
e l a b o r a t e
631ed1b
Dont reinvent util we already have
37b6ca2
beep boop actually do what I am supposed to beep boop
5e3f706
don't leak attribute into actual data
8c83fb9
Merge branch 'lforst-sample-rand' into lforst-parent-sampling-decision
c4282b8
.
4a2a7ae
.
5b81700
.
9b2afff
tests
2c0910a
Merge remote-tracking branch 'origin/develop' into lforst-parent-samp…
6c6febf
something's off
4092e09
pain
72c3a64
Merge remote-tracking branch 'origin/develop' into lforst-parent-samp…
d835de7
otel side of things
c96c706
help
fdf0fa7
.
e9471eb
bless
2b491f2
beep boop
a96e9c6
lint
063984b
fix and test 0% sample rate
8607cc8
apply before emit
51526ec
Merge branch 'develop' into lforst-parent-sampling-decision
08b6561
fix merge mistake
bceb9f3
Refactor again
e2ffc52
lint
feb43ee
update tests
2a127b2
.
70c3fd9
fix crap
0ca98e3
update tests
812e750
more tests
2882ca4
e2e tests
f5a8220
.
fbee088
Merge remote-tracking branch 'origin/develop' into lforst-parent-samp…
f683884
.
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
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
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
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
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
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
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
Oops, something went wrong.
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.
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.
I think we can drop this check (
span.data &&
), as span data is not optional anymore? 🤔