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

Adds suggestions for monitoring and tuning the tail sampling processor to the README #32728

Merged

Conversation

swar8080
Copy link
Contributor

Description:
Hello, I had to read through the tailsampling processor source code to understand how to tune and monitor the component. Here's some possible documentation to help others do the same

@swar8080 swar8080 requested a review from jpkrohling as a code owner April 28, 2024 16:34
@swar8080 swar8080 requested a review from a team April 28, 2024 16:34
@github-actions github-actions bot added the processor/tailsampling Tail sampling processor label Apr 28, 2024
Copy link
Contributor

@tiffany76 tiffany76 left a comment

Choose a reason for hiding this comment

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

Docs reviewer here. Just a few very minor copy edit suggestions. Thanks!

processor/tailsamplingprocessor/README.md Outdated Show resolved Hide resolved
processor/tailsamplingprocessor/README.md Outdated Show resolved Hide resolved
processor/tailsamplingprocessor/README.md Outdated Show resolved Hide resolved
processor/tailsamplingprocessor/README.md Outdated Show resolved Hide resolved
@swar8080
Copy link
Contributor Author

Docs reviewer here. Just a few very minor copy edit suggestions. Thanks!

Thanks @tiffany76

Copy link
Member

@jpkrohling jpkrohling left a comment

Choose a reason for hiding this comment

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

That's a great contribution, thank you!

processor/tailsamplingprocessor/README.md Show resolved Hide resolved
This measures latency of sampling a batch of traces and passing sampled traces through the remainder of the collector pipeline. A latency exceeding 1 second can delay sampling decisions beyond `decision_wait`, increasing the chance of traces being dropped before sampling.

It's therefore recommended to consume this component's output with components that trigger an asynchronous or fast export, like the `batch` processor.
Copy link
Member

Choose a reason for hiding this comment

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

I wonder if we should name the batch processor specifically, given we know we'll deprecate it in favor of native batching on exporters.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

good to know, it no longer mentions batch processor specifically, just fast/asynchronous consumers in general

processor/tailsamplingprocessor/README.md Show resolved Hide resolved
@swar8080 swar8080 force-pushed the tail_sampling_monitoring_readme branch from 2098765 to 7429bf7 Compare May 9, 2024 02:52
@jpkrohling jpkrohling added the Skip Changelog PRs that do not require a CHANGELOG.md entry label May 15, 2024
@jpkrohling jpkrohling merged commit fec50f0 into open-telemetry:main May 15, 2024
144 of 145 checks passed
@github-actions github-actions bot added this to the next release milestone May 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
processor/tailsampling Tail sampling processor Skip Changelog PRs that do not require a CHANGELOG.md entry
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants