newrelic-quickstarts icon indicating copy to clipboard operation
newrelic-quickstarts copied to clipboard

[Repository][Monitoring] Improve monitoring for graphql errors, debugging

Open moonlight-komorebi opened this issue 2 years ago • 1 comments

Summary

This ticket was spawned from https://github.com/newrelic/newrelic-quickstarts/issues/892#issuecomment-1083483561.

In this workflow failure, the error returned is:

ERROR: The following errors occurred while validating: quickstarts/aws/aws-dynamodb/config.yml
- An error occurred resolving this field

which is not a lot to gone on. For this specific case, and probably other cases, it would be useful to see the full response body we got from graphql (not just the error message), as well as the request body we sent so that we can reproduce the request.

Additionally, if we have responses & requests, we can then use that data in tests when needing to mock out responses, or make requests.

Acceptance Criteria

  • [ ] add logging output for request body & response body on graphql errors

moonlight-komorebi avatar Apr 08 '22 00:04 moonlight-komorebi

Old issues will be closed after 105 days of inactivity. This issue has been quiet for 90 days and is being marked as stale. Reply here to keep this issue open.

github-actions[bot] avatar Jul 13 '22 02:07 github-actions[bot]

This issue is being closed due to inactivity. Is this a mistake? Please re-open this issue or create a new one.

github-actions[bot] avatar Oct 27 '22 02:10 github-actions[bot]