-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
response
context not set on Node SDKs
#14619
Comments
It seems we are generally not setting this context so far, we'll adjust this accordingly! |
Side note: Just to bring this up here, we should probably look to also look at the transaction (root span) attributes (today in trace context |
response
context not set on Node SDKs
…4634) This implements the `response` context for http.server spans (https://develop.sentry.dev/sdk/data-model/event-payloads/contexts/#response-context). I opted to not implement this for the browser, as we do not really expect server spans there. I added a test there anyhow to show the shape of the transaction event, so we can adjust this easier if we want in the future. Closes #14619 Closes #14634
A PR closing this issue has just been released 🚀This issue was referenced by PR #14634, which was included in the 8.44.0 release. |
Description
Related to: getsentry/sentry#81418
User is not able to search/aggregate on http status code. This is because discover reads this value from the response context and it seems like that's not being set on their events (nextjs SDK, same case on our docs project).
Example event from our docs project https://sentry.sentry.io/api/0/projects/sentry/docs/events/df769fee6ff14658be47ab545dc717bc/json/
Or docs project is on
sentry.javascript.nextjs
version8.36.0
The text was updated successfully, but these errors were encountered: