Skip to content

Structured Logs: Add default attributes #5593

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

Merged
merged 102 commits into from
Jul 21, 2025

Conversation

denrase
Copy link
Collaborator

@denrase denrase commented Jul 9, 2025

#skip-changelog

📜 Description

  • Sets propagationContext.traceId on log
  • Adds default attributes to log

💡 Motivation and Context

Closes #5581

💚 How did you test it?

📝 Checklist

You have to check all boxes before merging:

  • I added tests to verify the changes.
  • No new PII added or SDK only sends newly added PII if sendDefaultPII is enabled.
  • I updated the docs if needed.
  • I updated the wizard if needed.
  • Review from the native team if needed.
  • No breaking change or entry added to the changelog.
  • No breaking change for hybrid SDKs or communicated to hybrid SDKs.

@denrase denrase requested a review from philipphofmann July 14, 2025 15:30
Copy link
Member

@philipphofmann philipphofmann left a comment

Choose a reason for hiding this comment

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

Thanks, LGTM

@denrase
Copy link
Collaborator Author

denrase commented Jul 18, 2025

@philipphofmann Will merge after CI passes, now that the timeouts in tests should be fixed.

@denrase denrase merged commit 99104c9 into main Jul 21, 2025
135 of 136 checks passed
@denrase denrase deleted the feat/structured-logs-default-attributes branch July 21, 2025 08:02
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.

Structured Logs: Add default attributes to logs
3 participants