aws / aws/amazon-codeguru-profiler-python-agent
Profiling decorator overrides decorated function's name.
- 主要語言
- Python
- 星號
- 16
- 分支
- 12
- PR 合併指標
- 30 天內沒有已合併 PR
描述
Hi all,
Found a small issue that has been bothering me for a while, so finally took the time to create an issue + PR.
When you use the `with_lambda_profiler` decorator, it overrides the name of the function with `profiler_decorate`. Normally this isn't very visible, but if you are using XRay as well, it becomes painfully obvious, as per this screenshot:

The fix is minor, so I'll just create a PR for it here now.
Thanks
貢獻指南
研究方向
從 with_lambda_profiler 裝飾器開始,檢查它如何包裝被裝飾的函式。確認原始函式名稱獲得保留,然後執行相關的專案測試,並驗證 profiling 和回報的函式名稱仍如預期運作。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- aws, python
- 領域
- observability
- Issue 類型
- 缺陷
- 難度
- 2/5
- 預估耗時
- 1-3 小時
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 45/100