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 摘要。