Repository navigation
feat(attributes): Add http.response.delivery_type and deprecate http.response_delivery_type - #825
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Semver Impact of This PR🟡 Minor (new features) 📋 Changelog PreviewThis is how your changes will appear in the changelog. New Features ✨Attributes
🤖 This preview updates automatically when you update the PR. |
alexander-alderman-webb
left a comment
There was a problem hiding this comment.
Wait 2 days before merging for others to take a look
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 18645ab. Configure here.
Lms24
left a comment
There was a problem hiding this comment.
I think we should deprecate this in favor of http.response.delivery_type (and swap the attribute in v12 of the JS SDK). Would you mind making that change?
|
@Lms24 done in b5cc99b. |
Co-Authored-By: Martin Sonnberger <[email protected]>
Co-Authored-By: Martin Sonnberger <[email protected]>
…response_delivery_type Co-Authored-By: Martin Sonnberger <[email protected]>
2639592 to
c89c5b9
Compare

The JavaScript SDK already sets
http.response_delivery_typeon browser resource spans, copied fromPerformanceResourceTiming.deliveryType(seepackages/browser-utils/src/performance/entries.tsin getsentry/sentry-javascript), but the attribute was never defined here.This adds
http.response.delivery_typeas the canonical attribute, in line with the otherhttp.response.*attributes. It also defineshttp.response_delivery_type, the name the SDK sends today, as deprecated in favor of it with_status: backfill, so data the SDK already sends gets copied to the new name. The JS SDK can switch to the new name in v12.is_in_otelisfalse.cache,navigational-prefetch, or"") and are listed inenum_values. They carry no PII.apply_scrubbingismanual, matching the other resource timing attributes such asresource.render_blocking_status.HTTP_RESPONSE_DELIVERY_TYPEis the new dotted key and_HTTP_RESPONSE_DELIVERY_TYPEis the deprecated one. Neither has been released yet.via @msonnb.
--
View Session [Sentry]