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

Add GraphQL request body in network request monitoring. #403

Open
ahoseinian opened this issue Feb 12, 2024 · 1 comment
Open

Add GraphQL request body in network request monitoring. #403

ahoseinian opened this issue Feb 12, 2024 · 1 comment
Labels
backlog We hope to fix this feature/bug in the future feature request Request for a new feature

Comments

@ahoseinian
Copy link

Description

currently there is no way to distinguish different GraphQL requests in request monitoring section. Requests all come with the same url which is the base behaviour of GraphQL and request body is not tracked or accessible to be able to distinguish between request.

image

Also the configuration option networkRequestCallback does not allow the user to somehow access the body and include it with the request info:

BugsnagPerformance.start({
  apiKey: 'YOUR_API_KEY',
  networkRequestCallback: (requestInfo) => {
    /// requestInfo is only consist of { type, url } the body is not accessible. 
  

    return requestInfo
  }
})

Describe the solution you'd like
I would be nice if we could distinguish requests by GraphQL query names for example.

Describe alternatives you've considered
instead of automatically tracking network requests add a manual option so we can send the requests with their query names.

@clr182
Copy link

clr182 commented Mar 8, 2024

Hi @ahoseinian

Thank you for reaching out. We do have an item on our backlog aimed at adding this support in the future. We do not have a clear ETA on the release of this functionality but we will be sure to keep you posted via this thread once we have more information or an update to share.

@clr182 clr182 added feature request Request for a new feature backlog We hope to fix this feature/bug in the future labels Mar 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backlog We hope to fix this feature/bug in the future feature request Request for a new feature
Projects
None yet
Development

No branches or pull requests

2 participants