aws / aws/aws-lambda-runtime-interface-emulator

Support X-Ray locally

Aberta
#56 0 comentários 6 reações 0 responsáveis Ver no GitHub
enhancement
Linguagem predominante
Go
Estrelas
1.1k
Forks
118
Merge médio
42min
PRs com merge (30d)
2

Descrição

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. 😅

Guia de contribuição

Abrir o guia de contribuição

Direção de pesquisa

Comece pela declaração no README de que as integrações locais do X-Ray e outras integrações do Lambda não são compatíveis e, em seguida, leia o SAM CLI issue #217 vinculado para entender o contexto anterior e o comportamento solicitado. Defina o escopo da integração local do X-Ray e valide-o usando uma função do SAM CLI que utilize AWSXRay.captureAWSv3Client; considera-se concluído quando essa função puder ser executada localmente sem imports condicionais do X-Ray SDK.

Escrita pelo modelo de indexação a partir do texto da issue.

Avaliação

Stack de tecnologia
aws, go
Domínio
backend, cloud, observability
Tipo de issue
Funcionalidade
Dificuldade
5/5
Tempo estimado
Mais de uma semana
Status de atividade
Estagnada
Clareza
Precisa de esclarecimento
Facilidade para iniciantes
25/100

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.