aws / aws/aws-lambda-runtime-interface-emulator
Support X-Ray locally
- Lingua principale
- Go
- Stelle
- 1.1k
- Fork
- 118
- Merge medio
- 42m
- PR unite (30g)
- 2
Descrizione
According to the README:
> The component does _not_ support X-ray and other Lambda integrations locally.
So...how hard would it be to add this support for local X-Ray integration?
I think the primary use case for this would be to allow functions built with the SAM CLI that utilize X-Ray (e.g., with `AWSXRay.captureAWSv3Client`) to run locally. Not having this integration requires annoying hacks to import or not import the X-Ray SDK based on where the function is deployed. For more info, and to add some support to my request, please have a look at [this issue](https://github.com/aws/aws-sam-cli/issues/217) in the SAM CLI repo, where people have been ranting about this feature since 2017. 😅
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Inizia dalla dichiarazione nel README secondo cui le integrazioni locali di X-Ray e le altre integrazioni Lambda non sono supportate, quindi leggi il SAM CLI issue #217 collegato per il contesto precedente e il comportamento richiesto. Definisci l'ambito dell'integrazione locale di X-Ray e convalidalo usando una funzione SAM CLI che impiega AWSXRay.captureAWSv3Client; il lavoro è completato quando quella funzione può essere eseguita localmente senza import condizionali dell'X-Ray SDK.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- aws, go
- Ambito
- backend, cloud, observability
- Tipo di issue
- Funzionalità
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 25/100