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

Adding Python+Bedrock example?

Abierto
#8 0 comentarios 1 reacción 0 asignados Ver en GitHub
Lenguaje dominante
Rust
Estrellas
12
Forks
1
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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?

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

Comienza comparando el ejemplo de función existente en Rust con la estructura del repositorio y el enfoque de Dockerfile descritos en el issue. Determina dónde debería ubicarse un ejemplo de Lambda en Python, contenedorizado y dispuesto junto al otro, y verifica el ejemplo utilizando el archivo aws-otel-python-instrumentation layer.zip mencionado; se considera completado cuando el ejemplo de Python se publique junto al ejemplo de Rust y demuestre la configuración de tracing solicitada.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
aws, docker, python
Área
backend, cloud
Tipo de issue
Nueva funcionalidad
Dificultad
3/5
Tiempo estimado
1-2 días
Estado de actividad
Estancado
Claridad
Bastante claro
Aptitud para principiantes
35/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.