chore(sampling): track knuth sampling in distributed trace#3954
Conversation
BenchmarksBenchmark execution time: 2025-09-11 14:43:56 Comparing candidate commit 1ec7deb in PR branch Found 0 performance improvements and 5 performance regressions! Performance is the same for 1 metrics, 0 unstable metrics. scenario:BenchmarkOTelApiWithCustomTags/datadog_otel_api-24
scenario:BenchmarkOTelApiWithCustomTags/otel_api-24
|
|
I imagine that those 2 new allocations are coming from the formatting function, right? Have we confirmed that? |
|
@darccio Yes, I think the issue is that we're calling the formatting function on every span that goes through sampling, even when the rate might be the same (like 1.0 or 0.0). |
|
/merge |
|
View all feedbacks in Devflow UI.
The expected merge time in
|
What does this PR do?
Motivation
Reviewer's Checklist
./scripts/lint.shlocally.Unsure? Have a question? Request a review!