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 setting OTel span status on required situations #896

Merged
merged 1 commit into from
Dec 6, 2024

Conversation

GFriedrich
Copy link
Contributor

This will fix setting the OTel span status when:

  • the span ends and is not yet set
  • the error state for a span is set

Fixes #890

@GFriedrich GFriedrich changed the title Fix setting OTel status on required situations Fix setting OTel span status on required situations Nov 24, 2024
@jonatan-ivanov jonatan-ivanov force-pushed the 890-fix-status branch 2 times, most recently from 794d9f9 to b53253f Compare December 6, 2024 23:19
This will fix setting the OTel span status when:
* the span ends and status is not yet set
* the error state for a span is set

Closes micrometer-metricsgh-890
@jonatan-ivanov jonatan-ivanov merged commit e0d199d into micrometer-metrics:main Dec 6, 2024
5 checks passed
@jonatan-ivanov
Copy link
Member

Thank you!

@GFriedrich GFriedrich deleted the 890-fix-status branch December 8, 2024 17:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

OTel Span is not set to status "ok" when ends successfully
2 participants