-
Notifications
You must be signed in to change notification settings - Fork 8
[AGNTLOG-468] chore(datadog): add trace sampling #1110
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 all commits
Commits
Show all changes
59 commits
Select commit
Hold shift + click to select a range
47f9942
modify the Trace event to include a TraceSampling field, which stores…
andrewqian2001datadog 704d1b1
add the probabilistic sampler
andrewqian2001datadog b3979ab
add the error sampler
andrewqian2001datadog 55cdb76
add the core sampler
andrewqian2001datadog e921c3a
add the score sampler
andrewqian2001datadog b6dac83
add setter for trace spans
andrewqian2001datadog de45c6d
add trace_sampler to mod.rs
andrewqian2001datadog 30b0625
checks for user set sampling in the translator
andrewqian2001datadog 8017f4c
add the trace sampler transform component
andrewqian2001datadog a32499f
add helper class to compute signature
andrewqian2001datadog df45987
modified the trace encoder to use sampling info from the transform
andrewqian2001datadog f5b45ed
make check clippy + fmt
andrewqian2001datadog 76ab423
wire up component
andrewqian2001datadog 321b7f7
remove default macro which sets probablistic sampling to false
andrewqian2001datadog df98d8f
from tag from span which is already added to trace chunk
andrewqian2001datadog 740b8f7
make fmt
andrewqian2001datadog ecdb386
remove tag added during translation process
andrewqian2001datadog 91254c7
disable tag when probalistic sampler isn't being used
andrewqian2001datadog 43a889d
revert change
andrewqian2001datadog cd1d216
use apm config
andrewqian2001datadog 67c2985
make check-clippy
andrewqian2001datadog d17c04f
address comments
andrewqian2001datadog 633b43a
fix missing doc, fix bugs
andrewqian2001datadog 9c20678
address comments part two
andrewqian2001datadog 34f0114
remove dead code, move code only used in test
andrewqian2001datadog 934411a
remove more dead code
andrewqian2001datadog fdc04fd
formatting
andrewqian2001datadog 731883c
Merge remote-tracking branch 'origin/main' into andrewq/add-trace-sam…
andrewqian2001datadog 2a77b75
move missing functionality to docs of trace_sampler
andrewqian2001datadog bce63b0
set probilistic sampler to false by default
andrewqian2001datadog 9f9449e
make error_tps configurable
andrewqian2001datadog 97e1701
turn off error sampling by default (the agent has this on by default)
andrewqian2001datadog 6c2b039
make fmt
andrewqian2001datadog 3aa3e31
oops remove print
andrewqian2001datadog f16ccf8
nvm change it back to true
andrewqian2001datadog 8cde3f8
move constant to shared folder
andrewqian2001datadog 4f07191
Merge remote-tracking branch 'origin/main' into andrewq/add-trace-sam…
andrewqian2001datadog 96f28a9
add unit tests for errors sampler
andrewqian2001datadog 7a8f540
make check clippy and fmt
andrewqian2001datadog 5fce437
change probabilistic sampling to on by default
andrewqian2001datadog 6b3dc7d
make fmt
andrewqian2001datadog be2ddd8
Merge remote-tracking branch 'origin/main' into andrewq/add-trace-sam…
andrewqian2001datadog c529497
make fmt
andrewqian2001datadog e37b5f5
change probabilistic back to false
andrewqian2001datadog e7ec247
add no priority sampler
andrewqian2001datadog 7d0e8cc
????
andrewqian2001datadog 0e7373a
remove testing code
andrewqian2001datadog e76278f
make fmt
andrewqian2001datadog 0ee5cf2
move constants to shared file
andrewqian2001datadog 61401fb
remove test covered by correctness test
andrewqian2001datadog 24c0678
Merge remote-tracking branch 'origin/main' into andrewq/add-trace-sam…
andrewqian2001datadog b3d4856
add comment
andrewqian2001datadog 8b28ef4
move duplicate code to shared folder
andrewqian2001datadog 664c399
make fmt
andrewqian2001datadog 7b9a38f
add comment
andrewqian2001datadog 57c5208
remove unecessary code
andrewqian2001datadog e2794aa
remove potentially??? unecessary code
andrewqian2001datadog 1186241
Merge remote-tracking branch 'origin/main' into andrewq/add-trace-sam…
andrewqian2001datadog b0ba6d8
Merge branch 'main' into andrewq/add-trace-sampling
andrewqian2001datadog 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
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.
Uh oh!
There was an error while loading. Please reload this page.