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

introduce Span Reporting delay #1026

Merged
merged 1 commit into from
May 27, 2021

Conversation

ivantopo
Copy link
Contributor

This PR introduces the kamon.trace.span-reporting-delay setting to allow users to keep Spans in memory for a period of time before reporting them, in case the they want to change a Trace's sampling decision programmatically.

The idea is to allow people to do tail-based sampling, at least at the local service level. The reporting delay is zero by default because it doesn't make sense to delay Spans in case folks explicitly want to change sampling decisions.

Copy link
Contributor

@SimunKaracic SimunKaracic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🚀

@SimunKaracic SimunKaracic merged commit 1a75ab2 into kamon-io:master May 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants