internal/telemetry: fix telemetry metric submit datarace double pool insertion#3430
Merged
Conversation
…insertion Signed-off-by: Eliott Bouhana <[email protected]>
tonyredondo
approved these changes
Apr 15, 2025
Datadog ReportBranch report: ✅ 0 Failed, 4477 Passed, 64 Skipped, 3m 46.8s Total Time |
BenchmarksBenchmark execution time: 2025-04-15 11:35:44 Comparing candidate commit 2c4fddd in PR branch Found 0 performance improvements and 1 performance regressions! Performance is the same for 54 metrics, 1 unstable metrics. scenario:BenchmarkOTelApiWithCustomTags/otel_api-24
|
eliottness
marked this pull request as ready for review
April 15, 2025 10:57
Signed-off-by: Eliott Bouhana <[email protected]>
7 tasks
eliottness
enabled auto-merge (squash)
April 15, 2025 13:29
kakkoyun
approved these changes
Apr 15, 2025
7 tasks
darccio
pushed a commit
that referenced
this pull request
Apr 30, 2025
…insertion (#3430) Signed-off-by: Eliott Bouhana <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do?
This PR remove the sync.Pool usage in telemetry metrics because it created a data race
Motivation
Fixes #3413
Reviewer's Checklist
golangci-lint runlocally.Unsure? Have a question? Request a review!