Skip to content

Conversation

@adinauer
Copy link
Member

📜 Description

Replace sentry.trace.parent_span_id attribute with spanId property on SentryLogEvent

💡 Motivation and Context

Closes #4972

💚 How did you test it?

📝 Checklist

  • I added GH Issue ID & Linear ID
  • 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.

🔮 Next steps

@github-actions
Copy link
Contributor

github-actions bot commented Jan 20, 2026

Semver Impact of This PR

🟡 Minor (new features)

📋 Changelog Preview

This is how your changes will appear in the changelog.
Entries from this PR are highlighted with a left border (blockquote style).


New Features ✨

  • (logs) Replace sentry.trace.parent_span_id attribute with spanId property on SentryLogEvent by adinauer in #5040
  • Allow setting native SDK name in manifest by bitsandfoxes in #5027

Bug Fixes 🐛

  • (logs) Check sendDefaultPii before attaching user attributes by adinauer in #5036

Build / dependencies / internal 🔧

Deps

  • Bump JamesIves/github-pages-deploy-action from 4.7.6 to 4.8.0 by dependabot in #5015
  • Update Native SDK to v0.12.3 by github-actions in #5012
  • Bump github/codeql-action from 4.31.8 to 4.31.10 by dependabot in #5032

Other

  • (release) Switch from action-prepare-release to Craft by BYK in #5014
  • (repo) Add Claude Code settings with basic permissions by philipphofmann in #5038

🤖 This preview updates automatically when you update the PR.

@github-actions
Copy link
Contributor

github-actions bot commented Jan 20, 2026

Messages
📖 Do not forget to update Sentry-docs with your feature once the pull request gets approved.

Generated by 🚫 dangerJS against 45fab89

@github-actions
Copy link
Contributor

github-actions bot commented Jan 20, 2026

Performance metrics 🚀

  Plain With Sentry Diff
Startup time 337.46 ms 415.10 ms 77.64 ms
Size 1.58 MiB 2.20 MiB 635.32 KiB

Baseline results on branch: main

Startup times

Revision Plain With Sentry Diff
d217708 375.27 ms 415.68 ms 40.41 ms
d15471f 310.66 ms 368.19 ms 57.53 ms
27d7cf8 309.43 ms 364.27 ms 54.85 ms
d15471f 361.89 ms 378.07 ms 16.18 ms
27d7cf8 314.17 ms 347.00 ms 32.83 ms
cf708bd 434.73 ms 502.96 ms 68.22 ms
27d7cf8 306.76 ms 366.66 ms 59.90 ms
fc5ccaf 322.49 ms 405.25 ms 82.76 ms
fcec2f2 311.35 ms 384.94 ms 73.59 ms
dba088c 333.98 ms 381.16 ms 47.18 ms

App size

Revision Plain With Sentry Diff
d217708 1.58 MiB 2.10 MiB 532.97 KiB
d15471f 1.58 MiB 2.13 MiB 559.54 KiB
27d7cf8 1.58 MiB 2.12 MiB 549.42 KiB
d15471f 1.58 MiB 2.13 MiB 559.54 KiB
27d7cf8 1.58 MiB 2.12 MiB 549.42 KiB
cf708bd 1.58 MiB 2.11 MiB 539.71 KiB
27d7cf8 1.58 MiB 2.12 MiB 549.42 KiB
fc5ccaf 1.58 MiB 2.13 MiB 557.54 KiB
fcec2f2 1.58 MiB 2.12 MiB 551.51 KiB
dba088c 1.58 MiB 2.13 MiB 558.99 KiB

Previous results on branch: feat/promote-span-id-on-logs-to-property

Startup times

Revision Plain With Sentry Diff
8fe3703 338.30 ms 354.76 ms 16.46 ms

App size

Revision Plain With Sentry Diff
8fe3703 1.58 MiB 2.20 MiB 635.33 KiB

Copy link
Member

@markushi markushi left a comment

Choose a reason for hiding this comment

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

LGTM!

@adinauer adinauer enabled auto-merge (squash) January 20, 2026 13:56
@adinauer adinauer merged commit 8df0d02 into main Jan 20, 2026
61 of 63 checks passed
@adinauer adinauer deleted the feat/promote-span-id-on-logs-to-property branch January 20, 2026 14:31
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.

Logs should have spanId as a property on SentryLogEvent

3 participants