Skip to content

Add dynamic updateable consistent threshold sampler #2016

@jackshirazi

Description

@jackshirazi

Component(s)

consistent-sampling

Is your feature request related to a problem? Please describe.

static ratio sampling is too restrictive, I need dynamic updateable ratio

Describe the solution you'd like

I already have the solution working in https://github.com/jackshirazi/elastic-otel-java/tree/dynamic-sampling , it's basically an additional sampler. But it's cleaner to refactor the existing samplers to make it a subclass

Describe alternatives you've considered

No response

Additional context

I'll refactor and add the class in multiple steps since that makes the PRs easier to review unless one big PR is really preferred

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions