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, HDX-2595

Copy link

changeset-bot bot commented Oct 10, 2025

🦋 Changeset detected

Latest commit: 24b036a

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
@wrn14897 wrn14897 force-pushed the warren/fix-pino-trace-linking-issue branch from c9c7928 to d717045 Compare October 14, 2025 01:40
@wrn14897 wrn14897 changed the title fix: otel logger trace linking issue (pino) fix+feat: otel logger trace linking issue (pino) + support gRPC protocol Oct 14, 2025
Copy link

@pulpdrew pulpdrew left a comment

Choose a reason for hiding this comment

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

LGTM

@kodiakhq kodiakhq bot merged commit aee67bc into main Oct 14, 2025
3 checks passed
@kodiakhq kodiakhq bot deleted the warren/fix-pino-trace-linking-issue branch October 14, 2025 20:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants