aws-otel-lambda icon indicating copy to clipboard operation
aws-otel-lambda copied to clipboard

Auto-instrumentation Agent only in Lambda

Open Talgat777 opened this issue 1 year ago • 4 comments

We have a collector running as a separate app collecting x-ray data from ECS instances. We are now planning to run some Java apps (docker images) on Lambdas as helpers to our main apps. How do we enable Auto-instrumentation Agent in our lambdas (sending data to our collector) and how to do it with docker images?

I see in the doc that it can be achieved through the layer but it's not supported with docker image? And also it looks like it comes with a bundle with the collector and we only need an agent.

Talgat777 avatar Jul 11 '23 19:07 Talgat777

We currently do not support running the lambda layers as container images. We will keep this issue open to track interest.

bryan-aguilar avatar Jul 17 '23 18:07 bryan-aguilar

So there's no way to include the otel collector lambda layer in lambda functions that are packaged as docker images? This article https://aws.amazon.com/blogs/compute/working-with-lambda-layers-and-extensions-in-container-images/ makes it seem like we just copy the contents of the otel lambda layer into a /opts directory in the docker file for the function?

james-gibbons-lark avatar Oct 10 '23 19:10 james-gibbons-lark

Is there any update on the above?

fhuthmacher avatar Jan 05 '24 03:01 fhuthmacher

This issue is stale because it has been open 90 days with no activity. If you want to keep this issue open, please just leave a comment below and auto-close will be canceled

github-actions[bot] avatar Apr 07 '24 20:04 github-actions[bot]

This issue was closed because it has been marked as stale for 30 days with no activity.

github-actions[bot] avatar May 12 '24 20:05 github-actions[bot]

not stale, this feature is important

b0lle avatar Jul 12 '24 10:07 b0lle