opentelemetry-lambda icon indicating copy to clipboard operation
opentelemetry-lambda copied to clipboard

[Feature Request]: Support for provided.al2

Open disfluxly opened this issue 3 years ago • 1 comments

Hello,

Are there any technical hurdles in adding in support for provided.al2 lambda runtimes? These would be needed for lambdas written in go, where the current runtime support is recommended to use provided.al2 as the AL1 go1.x runtime ended support in Dec 2020.

Is it as simple as just adding provided.al2 to the Makefile here for supported runtimes: https://github.com/open-telemetry/opentelemetry-lambda/blob/main/collector/Makefile#L33

Or are there technical challenges that prevent the collector from working in this kind of scenario?

disfluxly avatar May 19 '22 14:05 disfluxly

I'm looking for this also, is there any technical problem that there is no Go extension?

Looking at the AWS Lambda Extensions repo, there seems to be lots of Go samples for lambda extensions, they don't look special.

If someone can point me to the right direction, I can try to implement and contribute this.

RangelReale avatar Aug 12 '22 19:08 RangelReale

I don't believe any changes are required to support provided.al2. The current Go sample applications use that runtime. The ADOT distribution provides a layer that can be used with provided.al2 for Go-based functions.

Aneurysm9 avatar Aug 30 '22 15:08 Aneurysm9

I tested with provided.al2, and it worked without any changes, so I think this can be closed.

RangelReale avatar Aug 30 '22 15:08 RangelReale