This issue is to track the creation of a new repository in the OpenTelemetry organization to house a Lambda extension that embeds an OpenTelemetry collector to support collecting telemetry data from Lambda functions.
The code for this new repository can be found here: https://github.com/lightstep/opentelemetry-lambda-extension
I'm curious: What is the advantage of going via a collector extension in AWS Lambda? Are you able to circumvent the "function might be suspended at any time" problem with this?
@Oberon00 it's probably worth reading this article https://aws.amazon.com/blogs/compute/building-extensions-for-aws-lambda-in-preview/ but the lambda extension get initialized before the lambda function and are also able to receive a shutdown signal, to perform any flushing of the data.
cc @alolita @dennisyuan98 @ntyrewalla
@codeboten Now if only the lambda itself could also get a callback for that... Then we wouldn't need another process 馃槂
Ideally we'd like to create a SIG around Lambda's as well.
@carlosalberto mind setting up the repo? I can add a SIG meeting to the calendar. I've discussed this with @ntyrewalla and AWS is interested, we just need to pick a time.
Thanks @tedsuo @carlosalberto - please let us know once the repo is set up. Also would like to get the time confirmed for the Sampling SIG - can we get a time on Tuesday or Thursday afternoons (APAC friendly - 4p or 5p PST) - many thanks.
@carlosalberto created the repo, there are still CLA and things needs to be enabled on it: https://github.com/open-telemetry/opentelemetry-lambda-extension/
It would be great for the new repositories to start with the understanding that we have a companies-diverse set of committed maintainers for all the code we host in this organization. It seems that all the right conversations are happening, thank you!
@alolita @tedsuo Please review the initial code import PR: https://github.com/open-telemetry/opentelemetry-lambda-extension/pull/1
@alolita Do you have an update on the time for this new SIG?
this is done correct? @alolita feel free to reopen if anything needed