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

Modify the logging of the timeseries Lambda response object to reduce the log statement size #273

Open
nikki-t opened this issue Dec 11, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@nikki-t
Copy link
Collaborator

nikki-t commented Dec 11, 2024

I am working with the cloud metrics team to ingest the UAT CloudWatch logs into the cloud metrics platform to capture specific metrics. The timeseries Lambda logs the response it sends to the user and if the user requested a full geoJSON response, it logs all coordinates which is causing issues with ingestion as the log statement size is too large. We need to modify the response so that it does not display the full coordinates or displays less significant figures.

@nikki-t nikki-t self-assigned this Dec 11, 2024
@nikki-t nikki-t added the enhancement New feature or request label Dec 11, 2024
@nikki-t nikki-t moved this to 🏗 In progress in SOTO PI 24.4 Dec 11, 2024
@nikki-t
Copy link
Collaborator Author

nikki-t commented Dec 11, 2024

The error logging in the timeseries Lambda also needs to be modified so that it consistently logs all HTTP codes and error messages for each type of error encountered.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: 🏗 In progress
Development

No branches or pull requests

1 participant