-
Notifications
You must be signed in to change notification settings - Fork 117
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
Consider not recommending AWS Distro for OpenTelemetry (ADOT)? #372
Comments
Hi @a-h, Thanks for raising this. We are tracking the cold-start issues and considering modifying the wording on our documentation, stay tuned! Are all of the durations in your screenshot cold-start durations (both before and after OTel)? Do you have any warm invocations for comparison between before & after OTel? |
Hi @willarmiros, yes, the screenshot above is just showing cold starts. I've included warm invocations below. I filtered out invocations of > 10 seconds because they were just tests I was doing of running the Otel collector without the Lambda layer. The docs don't make it clear whether the Lambda layer is required - but I found that it is - without the Lambda layer, the function hangs.
The drop of billed duration on the 17th corresponds with updating the Go build flags to set The average billed duration increases from around 2ms to 13ms from the 23rd July, which is when I started replacing X-Ray with Otel. |
Hi @a-h - we have updated the README to have a more neutral tone & be aligned with our other documentation, and have surfaced this latency issue in our developer guide as well. We are actively investigating the latency issue, and will post updates as we progress on it here: aws-observability/aws-otel-lambda#228 |
I tried out migrating, and the Lambda layer appears to add a significant amount to cold start time. Of course, it probably only matters to people that use Lambda, but that's a lot of people.
I don't see any docs on the potential downsides of migrating. Maybe it's a bit too early to be recommending it?
There was no documentation on migrating, but here's the commit where I migrated from AWS X-Ray SDK: a-h/awsapigatewayv2handler@c45b98e
Here's the issue in AWS Otel Lambda, with my comments about the Go behaviour: aws-observability/aws-otel-lambda#228 (comment)
Here's the test data, for reference here.
The text was updated successfully, but these errors were encountered: