fix(sentry): Deprecate sentry.trace.parent_span_id - #287
Conversation
Semver Impact of This PR🟢 Patch (bug fixes) 📋 Changelog PreviewThis is how your changes will appear in the changelog. New Features ✨Attributes
Other
Bug Fixes 🐛
Documentation 📚
Internal Changes 🔧Deps
Deps Dev
Other
🤖 This preview updates automatically when you update the PR. |
This attribute was replaced with log's top level `span_id` field and should no longer be used. Because it was replaced with a field rather than a different attribute, I don't think there's a way to express the new attribute in the attribute JSON.
3c972c0 to
c9b6ce1
Compare
Lms24
left a comment
There was a problem hiding this comment.
Thanks, makes sense to me! Two minor comments, otherwise LGTM.
| "is_in_otel": false, | ||
| "example": "b0e6f15b45c36b12", | ||
| "deprecation": { | ||
| "_status": null |
There was a problem hiding this comment.
just to confirm: Since nothing in the product relies on this, null is the correct status here?
There was a problem hiding this comment.
Yes, I believe so. We also don't have another attribute to backfill or migrate to, since the new value is a field instead.
| "_status": null | ||
| }, | ||
| "changelog": [ | ||
| { |
There was a problem hiding this comment.
l: We should add a "version": "next" entry to the changelog and mention this PR plus the deprecation.
There was a problem hiding this comment.
@Lms24 Good catch, thanks! Would you mind confirming that I got the change right? It's my first time using the attribute changelog property. 7e47a3f#diff-ec824ae2ecf3522dfc5515d7d669b843cbf51c51c1ce9c4365cc89cbde3e78e2
eaa0223 to
3c4270b
Compare
3c4270b to
7e47a3f
Compare
| "_status": null | ||
| }, | ||
| "changelog": [ | ||
| { |
Description
This attribute was replaced with log's top level
span_idfield and should no longer be used. Because it was replaced with a field rather than a different attribute, I don't think there's a way to express the new location for this data in the attribute JSON.PR Checklist
yarn testand verified that the tests pass.yarn generate && yarn formatto generate and format code and docs.If an attribute was deprecated: