open-telemetry / opentelemetry-lambda

Create your own Lambda Layer in each OTel language using this starter code. Add the Lambda Layer to your Lamdba Function to get tracing with OpenTelemetry.
https://opentelemetry.io
Apache License 2.0
272 stars 166 forks source link

Adjust collector extension log level #108

Open wangzlei opened 3 years ago

wangzlei commented 3 years ago

All logs in AWS Lambda output to one CloudWatch log group, the collector extension logs will mess up with user's Lambda application logs.

Collector extension should support adjust collector log level. So, user can enable/disable collector log by configuration.

vasireddy99 commented 2 years ago

Hi @wangzlei,I would like to contribute to this issue, can you please provide more Information on expected solution, should it be something similar to using this library / zap and produce logs based on the level such as info , error .

wangzlei commented 2 years ago

@vasireddy99 Also refer to issue https://github.com/open-telemetry/opentelemetry-lambda/issues/230. The otel Lambda extension was originally copied from lambda's sample, it contains some meaningless prints for layer user.

goyatparmod commented 2 years ago

We are facing same issue.. Is their anything being done about it..

vasireddy99 commented 2 years ago

Implementation to address this issue is currently in progress. Any information regarding that will be updated here in this issue. Thanks for following up.

vasireddy99 commented 2 years ago

This is tracked at https://github.com/open-telemetry/opentelemetry-lambda/issues/230

github-actions[bot] commented 1 month ago

This issue was marked stale. It will be closed in 30 days without additional activity.