Skip to content
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

Feature: tail-based sampling #4185

Closed
6 of 8 tasks
axw opened this issue Sep 10, 2020 · 1 comment
Closed
6 of 8 tasks

Feature: tail-based sampling #4185

axw opened this issue Sep 10, 2020 · 1 comment
Assignees

Comments

@axw
Copy link
Member

axw commented Sep 10, 2020

Add support to for tail-based sampling: sampling based on properties of the trace known only after the trace completes, such as the root transaction duration and outcome. This will enable users to retain traces based on how interesting they are, i.e. preferring to keep slower traces, or traces with a failure outcome.

The solution we plan to implement will be primarily based in apm-server, in order to avoid network transfer costs and adding significant load on Elasticsearch. Servers will individually reservoir-sample root transactions, and synchronise their sampling decisions in order to index any other events that are part of sampled traces.

@axw
Copy link
Member Author

axw commented Dec 24, 2020

Closing this meta issue, issues for remaining things have been opened and can be tracked independently.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant