getsentry / getsentry/sentry-python
Capture task name in asyncio integration
Đang mở
Feature
Integration: Asyncio
Python
Spans
- Ngôn ngữ chính
- Python
- Star
- 2.2k
- Fork
- 669
- Merge trung bình
- 1 ngày 1 giờ
- Pull request đã merge (30 ngày)
- 213
Mô tả
### 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.
Hướng dẫn đóng góp
Đánh giá
Issue này chưa được đánh giá.