Skip to content

fix(tracing): skip missing span attributes - #917

Merged
yaozheng-fang merged 1 commit into
volcengine:mainfrom
evanlowe:fix/tracing-none-attributes
Aug 17, 2026
Merged

fix(tracing): skip missing span attributes#917
yaozheng-fang merged 1 commit into
volcengine:mainfrom
evanlowe:fix/tracing-none-attributes

Conversation

@evanlowe

Copy link
Copy Markdown
Contributor

Summary

  • skip None values before writing OpenTelemetry span attributes
  • preserve valid falsy values such as 0 and False
  • cover missing output token counts and mapped attributes with regression tests

Testing

  • pre-commit run --all-files
  • python -m pytest -q (2032 passed, 5 skipped, 6 subtests passed)

@yaozheng-fang
yaozheng-fang merged commit cbc0444 into volcengine:main Aug 17, 2026
7 checks passed
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.

2 participants