Skip to content
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

make request body available for logging #391

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

islue
Copy link

@islue islue commented Mar 10, 2023

No description provided.

@islue
Copy link
Author

islue commented Jul 4, 2023

Any feedback?

seanpdoyle added a commit to seanpdoyle/activeresource that referenced this pull request Jan 5, 2025
Closes rails#391

Expand the data broadcast by the `request.active_resource` Active
Support Notification instrumentation event.

For `GET` and `OPTION` requests, omit the `:body` value from the
payload. For all other requests, include the `:body`.
@seanpdoyle
Copy link

As a complement to this proposal, I've also opened #413. It includes both body and headers, as well as test coverage for the broadcasted events.

seanpdoyle added a commit to seanpdoyle/activeresource that referenced this pull request Jan 5, 2025
Closes rails#391

Expand the data broadcast by the `request.active_resource` Active
Support Notification instrumentation event.

For `GET` and `OPTION` requests, omit the `:body` value from the
payload. For all other requests, include the `:body`.
seanpdoyle added a commit to seanpdoyle/activeresource that referenced this pull request Jan 5, 2025
Closes rails#391

Expand the data broadcast by the `request.active_resource` Active
Support Notification instrumentation event.

For `GET` and `OPTION` requests, omit the `:body` value from the
payload. For all other requests, include the `:body`.
@islue
Copy link
Author

islue commented Jan 5, 2025

cc @byroot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants