Skip to content

Conversation

wrn14897
Copy link
Member

@wrn14897 wrn14897 commented Oct 10, 2025

For loggers like Pino, the span context is attached to LogAttributes instead of the logger’s context. This PR adds a loadContext method to load the context from the attributes and set it to logRecord.context

Ref: HDX-2584

Copy link

changeset-bot bot commented Oct 10, 2025

🦋 Changeset detected

Latest commit: 09435c5

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@hyperdx/node-opentelemetry Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@wrn14897 wrn14897 force-pushed the warren/fix-pino-trace-linking-issue branch from a9dcc2a to 51ec095 Compare October 10, 2025 23:38
@wrn14897 wrn14897 changed the title fix: pino trace linking issue fix: otel logger trace linking issue (pino) Oct 12, 2025
@wrn14897 wrn14897 force-pushed the warren/fix-pino-trace-linking-issue branch from 58cc6d9 to 84dc791 Compare October 13, 2025 04:16
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.

1 participant