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

Update exemplar random seleection #695

Open
tsloughter opened this issue Feb 21, 2024 · 0 comments
Open

Update exemplar random seleection #695

tsloughter opened this issue Feb 21, 2024 · 0 comments
Labels
enhancement New feature or request metrics

Comments

@tsloughter
Copy link
Member

Can see better performance for simple exemplars when finding what the next seen number that will result in an insertion will be before hand and when a new exemplar is offered we do nothing but increment the seen count.

See the Go code for more explanation: https://github.com/open-telemetry/opentelemetry-go/blob/main/sdk/metric/internal/exemplar/rand.go

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request metrics
Projects
Status: 🆕 New
Development

No branches or pull requests

1 participant