Skip to content

Conversation

@kinyoklion
Copy link
Member

Summary

Add trace based sampling for go plugin.

Most of the code change is for testing.

How did you test this change?

Are there any deployment considerations?

sdktrace.WithResource(resources),
}, opts...)
// Only configure a sampler when there is a sampling configuration.
if sampler != nil {
Copy link
Member Author

Choose a reason for hiding this comment

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

This is different than the highlight SDK that always had a sampler with defaults.

@kinyoklion kinyoklion force-pushed the rlamb/o11y-384/trace-based-sampling-go branch from 31c4a01 to b2e2f24 Compare August 11, 2025 18:00
@kinyoklion kinyoklion force-pushed the rlamb/o11y-384/trace-based-sampling-go branch from b2e2f24 to 77bf7df Compare August 11, 2025 18:01
@kinyoklion kinyoklion closed this Aug 11, 2025
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