-
Notifications
You must be signed in to change notification settings - Fork 541
Configuration for dropping non-sampled transactions #3702
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
Conversation
💚 Build SucceededExpand to view the summary
Build stats
Test stats 🧪
Steps errorsExpand to view the steps failures
|
Add a publisher.Reporter middleware, which drops non-sampled transactions.
jalvz
left a comment
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.
Maybe its just me, but I find unsampled (a valid English word afaik) easier to read than non sampled.
AFAICT (checked a couple of dictionaries :)), unsampled is not a real word. However, it is reasonably common in this space, so I'll change to it. |
* beater/config: add Config.Sampling * Handle "apm-server.sampling.keep_non_sampled" Add a publisher.Reporter middleware, which drops non-sampled transactions. * tests/system: test sampling.keep_non_sampled * Add changelog entry * Non-sampled => unsampled * Rename approvals
* beater/config: add Config.Sampling * Handle "apm-server.sampling.keep_non_sampled" Add a publisher.Reporter middleware, which drops non-sampled transactions. * tests/system: test sampling.keep_non_sampled * Add changelog entry * Non-sampled => unsampled * Rename approvals
Motivation/summary
Introduce configuration to drop non-sampled transactions. Typically this should only be used in conjunction with transaction aggregation. Off by default for backwards compatibility.
TODO:
- [ ] Docs(will document later, when we have UI support)Checklist
make check-fullfor static code checks and linting)- [ ] I have made corresponding changes to the documentationHow to test these changes
apm-server.sampling.keep_non_sampled=falseRelated issues
Relates to #3485