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

Include HyP3 API response body in our CloudWatch logs #2056

Open
jtherrmann opened this issue Jan 31, 2024 · 0 comments
Open

Include HyP3 API response body in our CloudWatch logs #2056

jtherrmann opened this issue Jan 31, 2024 · 0 comments
Labels
Jira Task Create a Jira Task for this issue

Comments

@jtherrmann
Copy link
Contributor

jtherrmann commented Jan 31, 2024

Jira: https://asfdaac.atlassian.net/browse/TOOL-2568

Note: The above link is accessible only to members of ASF.


It would be nice if the body of each API response was logged in the CloudWatch log group for the API. Currently, we just log something like:

{"sourceIp":"foo","httpMethod":"POST","path":"/jobs","status":"400","responseLength":"139","responseLatency":"3296","requestTime":"29/Jan/2024:19:04:57 +0000","protocol":"HTTP/1.1","userAgent":"hyp3_sdk/5.0.0","requestId":"0741918d-f9b1-4219-a264-476a2669f111"}

I would like to be able to easily query the logs for specific 400 error messages.

@jtherrmann jtherrmann added the Jira Task Create a Jira Task for this issue label Jan 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Jira Task Create a Jira Task for this issue
Projects
None yet
Development

No branches or pull requests

1 participant