getsentry / getsentry/sentry-python
Capture task name in asyncio integration
未關閉
Feature
Integration: Asyncio
Python
Spans
- 主要語言
- Python
- 星號
- 2.2k
- 分支
- 669
- 平均合併
- 1 天 40 分鐘
- 30 天內合併 PR
- 212
描述
### Problem Statement
We currently inspect the function name through `__name__` or `__qualname__` to determine the name attribute on the span in the asyncio task factory. We ignore the name users pass to `asyncio.create_task`. See https://docs.python.org/3/library/asyncio-task.html.
### Solution Brainstorm
Attach the name argument from `asyncio.create_task` to the span.
貢獻指南
研究方向
從 asyncio task factory 和 issue 中連結的 Python asyncio.create_task 文件開始。追蹤目前如何從 __name__ 或 __qualname__ 衍生 span 名稱,然後驗證如何觀察明確提供的工作名稱。完成的標準是擷取所提供的工作名稱,同時保留現有的 fallback 行為。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- python
- 領域
- observability-sre
- Issue 類型
- 缺陷
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 45/100