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

fix(opentelemetry): close span even if no logs are sent #8367

Merged

Conversation

v1v
Copy link
Contributor

@v1v v1v commented May 15, 2024

SUMMARY

Fixes a regression caused by #6531

So spans were not closed when sending logs were disabled.

ISSUE TYPE
  • Bugfix Pull Request
COMPONENT NAME

opentelemetry

ADDITIONAL INFORMATION

@v1v v1v marked this pull request as ready for review May 15, 2024 08:54
@felixfontein felixfontein added check-before-release PR will be looked at again shortly before release and merged if possible. backport-7 backport-8 Automatically create a backport for the stable-8 branch labels May 15, 2024
Copy link
Collaborator

@felixfontein felixfontein left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your contribution!

@ansibullbot ansibullbot added bug This issue/PR relates to a bug callback callback plugin plugins plugin (any type) labels May 15, 2024
@felixfontein
Copy link
Collaborator

Looks good to me! If nobody objects, I'll merge this this weekend.

@felixfontein felixfontein removed the check-before-release PR will be looked at again shortly before release and merged if possible. label May 19, 2024
@felixfontein felixfontein merged commit 03240ad into ansible-collections:main May 19, 2024
132 of 133 checks passed
Copy link

patchback bot commented May 19, 2024

Backport to stable-7: 💚 backport PR created

✅ Backport PR branch: patchback/backports/stable-7/03240ad7dc57aefc14b1ceba3e08abec0c62500b/pr-8367

Backported as #8388

🤖 @patchback
I'm built with octomachinery and
my source is open — https://github.com/sanitizers/patchback-github-app.

@felixfontein
Copy link
Collaborator

@v1v thanks for your contribution!

patchback bot pushed a commit that referenced this pull request May 19, 2024
* fix(opentelemetry): close span even if no logs are sent

* changelog

(cherry picked from commit 03240ad)
Copy link

patchback bot commented May 19, 2024

Backport to stable-8: 💚 backport PR created

✅ Backport PR branch: patchback/backports/stable-8/03240ad7dc57aefc14b1ceba3e08abec0c62500b/pr-8367

Backported as #8389

🤖 @patchback
I'm built with octomachinery and
my source is open — https://github.com/sanitizers/patchback-github-app.

patchback bot pushed a commit that referenced this pull request May 19, 2024
* fix(opentelemetry): close span even if no logs are sent

* changelog

(cherry picked from commit 03240ad)
felixfontein pushed a commit that referenced this pull request May 19, 2024
… even if no logs are sent (#8388)

fix(opentelemetry): close span even if no logs are sent (#8367)

* fix(opentelemetry): close span even if no logs are sent

* changelog

(cherry picked from commit 03240ad)

Co-authored-by: Victor Martinez <[email protected]>
felixfontein pushed a commit that referenced this pull request May 19, 2024
… even if no logs are sent (#8389)

fix(opentelemetry): close span even if no logs are sent (#8367)

* fix(opentelemetry): close span even if no logs are sent

* changelog

(cherry picked from commit 03240ad)

Co-authored-by: Victor Martinez <[email protected]>
austinlucaslake pushed a commit to austinlucaslake/community.general that referenced this pull request May 25, 2024
…ections#8367)

* fix(opentelemetry): close span even if no logs are sent

* changelog
Massl123 pushed a commit to Massl123/community.general that referenced this pull request Feb 7, 2025
…ections#8367)

* fix(opentelemetry): close span even if no logs are sent

* changelog
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-8 Automatically create a backport for the stable-8 branch bug This issue/PR relates to a bug callback callback plugin plugins plugin (any type)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants