-
Notifications
You must be signed in to change notification settings - Fork 10
feat(trace sampler): implement error tracking standalone mode #1314
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
gh-worker-dd-mergequeue-cf854d
merged 17 commits into
main
from
thieman/error-tracking-standalone
Apr 13, 2026
Merged
Changes from all commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
4d240fe
feat(trace sampler): implement error tracking standalone mode
thieman b89f546
fix(trace sampler): wire ETS config to YAML and env var
thieman 8f945b7
perf(trace sampler): pre-build ETS header at construction time, avoid…
thieman 75eb2f2
refactor(trace sampler): remove ets_error from TraceSampling, drive c…
thieman 9031068
chore(trace sampler): replace branch refs with commit-hash permalinks…
thieman e998f23
chore(trace sampler): revert permalink change on pre-existing comment…
thieman 9b106e4
perf(trace sampler): cache error_tracking_standalone flag on encoder …
thieman 4f0ec0c
test(trace sampler): add encoder tests for ETS chunk tag and HTTP header
thieman 2d5cb62
fix(trace sampler): use correct config key apm_error_tracking_standal…
thieman b936190
fix(trace sampler): update encoder test helper to use renamed ETS env…
thieman e965ce4
fix(trace sampler): forward dropped ETS traces with DroppedTrace=true…
thieman d942a88
test(correctness): add otlp-traces-ets correctness test for Error Tra…
thieman 61beda3
fix(trace-sampler): apply OTLP pre-sampling before ETS early return
thieman 1443e4b
docs(apm-config): standardize bool method docstrings to "Returns `tru…
thieman a716ee8
refactor(trace-sampler): hoist OTLP pre-sampling before ETS block
thieman 7201cd5
refactor(trace-sampler): collapse keep/ETS forward into single branch
thieman b22e492
refactor(trace-sampler): extract otlp_pre_sample into a method
thieman 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -19,6 +19,10 @@ pub const KEY_ALIASES: &[(&str, &str)] = &[ | |
| ("proxy.https", "proxy_https"), | ||
| ("proxy.no_proxy", "proxy_no_proxy"), | ||
| ("apm_config.enable_rare_sampler", "apm_enable_rare_sampler"), | ||
| ( | ||
| "apm_config.error_tracking_standalone.enabled", | ||
| "apm_error_tracking_standalone_enabled", | ||
| ), | ||
|
Contributor
Author
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. |
||
| ]; | ||
|
|
||
| /// Remappings from environment variable names to canonical config keys. | ||
|
|
||
Oops, something went wrong.
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.