Use aws resource detector in python layer

Abierto
#2,742 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 2 días

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
55/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
aws, python

Línea de trabajo

Start by locating the Python layer code that injects Lambda information into OpenTelemetry environment variables, then check how the AWS resource detector is configured and loaded in the OpenTelemetry Python SDK. Update the layer to use that detector, and confirm Lambda resource attributes are provided through it instead of the current injection path.

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

Descripción

enhancement python

Is your feature request related to a problem? Please describe.

Currently the python layer is injecting the lambda info into otel environment variables rather than using the aws detector.

Describe the solution you'd like

I want the python layer to be using the aws resource detector.

Describe alternatives you've considered

N/a

Additional context

https://github.com/open-telemetry/opentelemetry-python/blob/main/opentelemetry-sdk/src/opentelemetry/sdk/resources/__init__.py shows loading based on environment variables

Tip: React with 👍 to help prioritize this issue. Please use comments to provide useful context, avoiding +1 or me too, to help us triage it. Learn more here.

Lenguaje dominante
Go
Estrellas
433
Forks
249
Merge medio
1 d 12 h
PR fusionados (30 d)
39

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de open-telemetry/opentelemetry-lambda

Todos los issues de open-telemetry/opentelemetry-lambda

Issues similares

Más issues de Go

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.