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

Enable API Gateway logs when creating a GuApiLambda #1935

Open
emdash-ie opened this issue Jul 12, 2023 · 0 comments
Open

Enable API Gateway logs when creating a GuApiLambda #1935

emdash-ie opened this issue Jul 12, 2023 · 0 comments

Comments

@emdash-ie
Copy link
Contributor

I spent a while today debugging an alert for a large percentage of 5XX responses from a cdk-configured GuApiLambda. It turned out the lambda is taking longer than 30 seconds on each invocation, and so the API Gateway is timing out. However, this was a little hard to debug, because the API Gateway logs (as distinct from the lambda logs) were disabled – I was able to turn them on in the web UI, but had to be shown that that was possible.

Would it be possible for those logs to be enabled by default if using the GuApiLambda (and ideally sent to the same log group as the lambda’s logs)? I think it would be helpful for people debugging errors like these in the future.

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

No branches or pull requests

1 participant