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

Change how the relay application AWS Lambda layers logs its own activities. #1961

Closed
DM1145 opened this issue Mar 16, 2023 · 4 comments
Closed

Comments

@DM1145
Copy link

DM1145 commented Mar 16, 2023

Problem Statement

The provided AWS Lambda layer uses a relay extension to catch and distribute data to Sentry.

This relay extension writes a significant number of entries to Cloudwatch upon start and termination, which clutters logs with unneeded entries.

The requested functionality duplicates that requested in the Sentry-Javascript ticket 6921.

Solution Brainstorm

Please change the default behavior of the relay process to only write cloudwatch logs on unexpected behavior.

@micah-redwood
Copy link

+1 to this! We're hoping to get our team to adopt Sentry and this is a major pain point. When log level is set to debug, CloudWatch is pretty much unusable.

@antonpirker
Copy link
Member

We are currently working on removing relay from the lambda layers: #2068

It did not bring the benefits we where hoping for, so with the next release of the lambda layers, the logs should be clean again.

@antonpirker
Copy link
Member

With our new Lambda layers we do not run relay in the layer anymore, so all the log messages are gone. If you upgrade to the newest lambda layer @DM1145 and @micah-redwood and your logs are only yours and nothing from relay will be in there!

@micah-redwood
Copy link

Thanks @antonpirker !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants