-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add RequestData
integration
#5674
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Made a small suggestion, otherwise, this looks great :)
|
||
_Import name: `Sentry.Integrations.RequestData`_ | ||
|
||
This integration adds data from the current incoming request (if any) to events. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This integration adds data from the current incoming request (if any) to events. | |
This integration adds data from an incoming request, (if one is in progress), to events. |
Would like to simplify to just say "incoming request" unless it's commonly expected to call it "current incoming request" :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay, tried again. LMK what you think.
UPDATE: Given that this feature has now been released, I'm going to go ahead and merge this, and we can always come back to the specific wording later.
0c1a6ab
to
79349b0
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This adds documentation for the new
RequestData
integration in the node SDK, which adds request data to events. For frameworks where we don't have wrappers in the SDK, and merely tell people how to use sentry in the docs, this also adds storing the request in scope metadata to our boilerplate.