getsentry / getsentry/sentry-python

Capture task name in asyncio integration

Ouverte
#4,851 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub
Feature Integration: Asyncio Python Spans
Langage dominant
Python
Étoiles
2.2k
Forks
669
Merge moyen
1 j 1 h
PR mergées (30 j)
213

Description

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

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.