Repository navigation
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
Other
Bug Fixes 🐛
Internal Changes 🔧
🤖 This preview updates automatically when you update the PR. |
alexander-alderman-webb
left a comment
There was a problem hiding this comment.
I'd encourage you not to add attributes that are already defined in OTel, since I don't think there's a reason for introducing all the attributes here.
| "changelog": [ | ||
| { | ||
| "version": "next", | ||
| "description": "Added heroku.router.method attribute" |
There was a problem hiding this comment.
Some of the attributes you've added have OTel attributes that we should probably use instead.
In this case http.method.name (I believe?).
|
That's a good question, what we should do here, unfortunately we already have a precedent with vercel where the vendor attributes are added 1:1 even if another otel attribute already exists. @k-fish wdyt? |
|
My main argument for following OTel here is that maintaining aliases for attributes with similar semantics has proven to be a pain (sometimes semantics are slightly different, PII config doesn't match, etc .). |
|
If there is no reason to add external attributes we do not control, I would also not introduce new ones and instead try to make it work with existing attributes. |
|
I can't remember if there is a strong reason in vercels case, but I can't think of what one would be. Let's do OTel for these and fix it later for vercel. |
Write the router fields that are already defined in sentry-conventions or OTel under their generic names instead of `heroku.router.*`, as agreed in getsentry/sentry-conventions#762. Only Heroku-specific fields keep the `heroku` namespace. `at` no longer gets an attribute, it only sets the log level. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Description
Like #163 but for Heroku instead of Vercel.
Relay PR: getsentry/relay#6575
PR Checklist
yarn testand verified that the tests pass.yarn generateto generate and format code and docs.If an attribute was added:
nextjs.function_id, notfunction_id)apply_scrubbing(i.e.manualorauto. Useneveronly for values that should never be scrubbed such as IDs)If an attribute was deprecated: