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

Support X-Ray locally

未关闭
#56 0 条评论 6 个 reaction 已指派 0 人 在 GitHub 查看
enhancement
主要语言
Go
星标
1.1k
派生
118
平均合并
42 分钟
30 天内合并 PR
2

描述

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

贡献指南

打开贡献指南

调研方向

先从 README 中关于本地 X-Ray 集成和其他 Lambda 集成不受支持的说明开始,然后阅读链接的 SAM CLI issue #217,了解之前的背景和所要求的行为。定义本地 X-Ray 集成的范围,并使用采用 AWSXRay.captureAWSv3Client 的 SAM CLI 函数对其进行验证;完成的标准是该函数无需条件式导入 X-Ray SDK 即可在本地运行。

由索引模型根据 Issue 内容生成。

评估

技术栈
aws, go
领域
backend, cloud, observability
Issue 类型
功能
难度
5/5
预计耗时
一周以上
活跃度
停滞
描述清晰度
需要澄清
新手友好度
25/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。