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

apmotel: disallow closing spans twice #1512

Merged
merged 1 commit into from Sep 22, 2023
Merged

apmotel: disallow closing spans twice #1512

merged 1 commit into from Sep 22, 2023

Conversation

dmathieu
Copy link
Member

Currently, if we try closing a span twice, we will handle the close both times. However, the agent deletes SpanData on the first close, so we cannot set span data anymore.

Closes #1490.

@dmathieu dmathieu requested a review from a team as a code owner September 22, 2023 14:55
@dmathieu dmathieu merged commit 5580a9a into main Sep 22, 2023
13 checks passed
@dmathieu dmathieu deleted the no-double-close branch September 22, 2023 17:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

module/apmotel: setSpanAttributes may panic
2 participants