aws / aws/aws-lambda-runtime-interface-emulator
Support X-Ray locally
- Langage dominant
- Go
- Étoiles
- 1.1k
- Forks
- 118
- Merge moyen
- 42 min
- PR mergées (30 j)
- 2
Description
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. 😅
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
Start with the README statement that local X-Ray and other Lambda integrations are unsupported, then read the linked SAM CLI issue #217 for prior context and requested behavior. Define the scope of local X-Ray integration and validate it against a SAM CLI function using AWSXRay.captureAWSv3Client; done means that function can run locally without conditional X-Ray SDK imports.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- aws, go
- Domaine
- backend, cloud, observability
- Type d'issue
- Fonctionnalité
- Difficulté
- 5/5
- Temps estimé
- Plus d'une semaine
- Activité
- À l'abandon
- Clarté
- À clarifier
- Accessibilité débutants
- 25/100