aws-samples / aws-samples/opentelemetry-lambda-container
Adding Python+Bedrock example?
- Langage dominant
- Rust
- Étoiles
- 12
- Forks
- 1
- Métriques de merge des PR
- Aucune PR mergée en 30 j
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?
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
Commencez par comparer l’exemple de fonction Rust existant avec la structure du dépôt et l’approche Dockerfile décrites dans l’issue. Déterminez où placer un exemple Lambda Python conteneurisé côte à côte, puis vérifiez l’exemple à l’aide du fichier aws-otel-python-instrumentation layer.zip référencé ; c’est terminé lorsque l’exemple Python est publié à côté de l’exemple Rust et démontre la configuration de tracing demandée.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- aws, docker, python
- Domaine
- backend, cloud
- Type d'issue
- Fonctionnalité
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 35/100