Skip to content

Conversation

@leghadjeu-christian
Copy link
Contributor

@leghadjeu-christian leghadjeu-christian commented Dec 5, 2025

Fixes #3221
Design discussion issue (if applicable) #

Changes

Add experimental experimental_span_attributes feature to enrich log records with attributes from active tracing spans.
When enabled, span attributes are automatically included in log records. Event attributes take precedence on conflicts.

Merge requirement checklist

  • CONTRIBUTING guidelines followed
  • Unit tests added/updated (if applicable)
  • Appropriate CHANGELOG.md files updated for non-trivial, user-facing changes
  • Changes in public API reviewed (if applicable)

@leghadjeu-christian leghadjeu-christian requested a review from a team as a code owner December 5, 2025 21:24
@leghadjeu-christian leghadjeu-christian marked this pull request as draft December 5, 2025 21:26
@codecov
Copy link

codecov bot commented Dec 5, 2025

Codecov Report

❌ Patch coverage is 86.28571% with 24 lines in your changes missing coverage. Please review.
✅ Project coverage is 80.8%. Comparing base (65969fd) to head (613954f).

Files with missing lines Patch % Lines
opentelemetry-appender-tracing/src/layer.rs 86.2% 24 Missing ⚠️
Additional details and impacted files
@@          Coverage Diff           @@
##            main   #3282    +/-   ##
======================================
  Coverage   80.7%   80.8%            
======================================
  Files        129     129            
  Lines      23210   23380   +170     
======================================
+ Hits       18748   18894   +146     
- Misses      4462    4486    +24     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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.

Add tracing span support to tracing events in opentelemetry-appender-tracing

1 participant