aws-samples / aws-samples/opentelemetry-lambda-container

Adding Python+Bedrock example?

Open
#8 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
Rust
Stars
12
Forks
1
PR merge metrics
No merged PRs in 30d

Description

Hi folks, and thanks for your work on this repo!

My team recently spent some time getting OTel-based X-Ray tracing working for a Python-based containerized Lambda function for a customer.

We arrived at a slightly different solution from the one shown here, directly copying+installing the layer from https://github.com/aws-observability/aws-otel-python-instrumentation/releases/latest/download/layer.zip in the Dockerfile, rather than bringing in the Collector extension only.

I thought it might be interesting to publish the example here alongside your existing Rust function, because I see quite a few AI engineers working with container-based Lambdas in Python - since popular packages like LangChain/LangGraph often push them over the size limit for regular runtime-based Lambda functions.

If you'd be interested, maybe we could propose a PR to put the Rust & Python examples side-by-side in this repo?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.