Use aws resource detector in python layer

Aperta
#2,742 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 2 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
55/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
aws, python
Ambito
observability

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
Go
Stelle
433
Fork
249
Merge medio
1g 12h
PR unite (30g)
39

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di open-telemetry/opentelemetry-lambda

Tutte le issue di open-telemetry/opentelemetry-lambda

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.