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

feat: api log #4366

Merged
merged 21 commits into from
Nov 11, 2024
Merged

feat: api log #4366

merged 21 commits into from
Nov 11, 2024

Conversation

brunozoric
Copy link
Contributor

Changes

This PR introduces a new package, api-log, which stores logs into the Log DynamoDB table.
Logs are getting flushed into a table N milliseconds after first log is added via logger, on manual flush or on the request end.

How Has This Been Tested?

Jest and manually.

Documentation

How can users list logs? How can users prune logs...?

Update

Needs a project upgrade, which will add logger to the context.

Cloudformation template

New DynamoDB table is added so we need to add it to the CF template.

@brunozoric
Copy link
Contributor Author

/cypress

Copy link

github-actions bot commented Nov 7, 2024

Cypress E2E tests have been initiated (for more information, click here). ✨

@brunozoric brunozoric marked this pull request as ready for review November 7, 2024 09:51
@brunozoric brunozoric self-assigned this Nov 8, 2024
@brunozoric brunozoric merged commit 3a25548 into next Nov 11, 2024
46 checks passed
@brunozoric brunozoric deleted the bruno/feat/api-log branch November 28, 2024 14:09
@brunozoric brunozoric added this to the 5.42.0 milestone Jan 9, 2025
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.

1 participant