aws-samples / aws-samples/opentelemetry-lambda-container
Adding Python+Bedrock example?
- Vorherrschende Sprache
- Rust
- Sterne
- 12
- Forks
- 1
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
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?
Beitragsleitfaden
Rechercherichtung
Beginne damit, das vorhandene Rust-Funktionsbeispiel mit der im Issue beschriebenen Repository-Struktur und dem Dockerfile-Ansatz zu vergleichen. Ermittle, wo ein nebeneinanderstehendes containerisiertes Python-Lambda-Beispiel hingehört, und verifiziere das Beispiel mithilfe der referenzierten aws-otel-python-instrumentation layer.zip; abgeschlossen ist dies, wenn das Python-Beispiel neben dem Rust-Beispiel veröffentlicht ist und die angeforderte Tracing-Konfiguration demonstriert.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- aws, docker, python
- Bereich
- backend, cloud
- Issue-Typ
- Feature
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 35/100