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

Implement traceID-ratio and parent-based samplers in eBPF #1150

Merged
merged 8 commits into from
Oct 19, 2024

Conversation

RonFed
Copy link
Contributor

@RonFed RonFed commented Oct 5, 2024

Add the eBPF side of basic samplers implementation: traceIDRatio, ParentBased, AlwaysOn and AlwasyOff.

Basic testing I did with the httpPlusDb example:
I used a test script that calls the endpoint of the application 1000 times.

Using OTEL_TRACES_SAMPLER=always_on
always_on

Using OTEL_TRACES_SAMPLER=parentbased_traceidratio, OTEL_TRACES_SAMPLER_ARG=0.1
parentBased-traceIDRatio-0 1

Using OTEL_TRACES_SAMPLER=parentbased_traceidratio, OTEL_TRACES_SAMPLER_ARG=0.01
parentBased-traceIDRatio-0 01

Split from #971
Part of #953

@RonFed RonFed changed the title Implements traceID-ratio and parent-based samplers in eBPF Implement traceID-ratio and parent-based samplers in eBPF Oct 5, 2024
@RonFed RonFed marked this pull request as ready for review October 5, 2024 14:25
@RonFed RonFed requested a review from a team as a code owner October 5, 2024 14:25
Makefile Show resolved Hide resolved
Copy link
Contributor

@MrAlias MrAlias left a comment

Choose a reason for hiding this comment

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

Outside of the Makefile question, this looks good to go.

@RonFed RonFed mentioned this pull request Oct 13, 2024
7 tasks
@RonFed RonFed merged commit 83f7338 into open-telemetry:main Oct 19, 2024
26 checks passed
@RonFed RonFed deleted the sampling_impl branch October 19, 2024 18:14
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