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

Adding Python+Bedrock example?

オープン
#8 コメント 0 件 リアクション 1 件 担当者 0 名 GitHub で見る
主要言語
Rust
スター
12
フォーク
1
PR マージ指標
30日以内にマージされた PR はありません

説明

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?

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

まず、既存の Rust 関数の例を、issue で説明されているリポジトリ構成および Dockerfile のアプローチと比較します。Python のコンテナ化された Lambda の例を Rust の例と並べてどこに配置すべきかを特定し、参照されている aws-otel-python-instrumentation layer.zip を使用してその例を検証します。完了とは、Python の例が Rust の例と並べて公開され、要求された tracing のセットアップを示していることです。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
aws, docker, python
領域
backend, cloud
issue の種類
機能追加
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。