fix(ddtrace/tracer): prevent applying rate to finished spans and add test coverage for this finishing code path (#3474 backport)#3476
Merged
darccio merged 1 commit intoApr 30, 2025
Conversation
felixge
reviewed
Apr 30, 2025
|
|
||
| // AddEvent attaches a new event to the current span. | ||
| func (s *span) AddEvent(name string, opts ...ddtrace.SpanEventOption) { | ||
| func (s *Span) AddEvent(name string, opts ...SpanEventOption) { |
Member
There was a problem hiding this comment.
I don't think this will compile 🙈
Datadog ReportBranch report: ✅ 0 Failed, 5510 Passed, 72 Skipped, 11m 14.1s Total Time |
…test coverage for this finishing code path (#3474)
darccio
force-pushed
the
dario.castane/finished-check-applyrate-v1
branch
from
April 30, 2025 12:09
befd35d to
6cdd070
Compare
genesor
approved these changes
Apr 30, 2025
felixge
approved these changes
Apr 30, 2025
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?
Backports #3474.
Reviewer's Checklist
golangci-lint runlocally.Unsure? Have a question? Request a review!