getsentry / getsentry/sentry-python

Capture task name in asyncio integration

Aberta
#4,851 1 comentário 0 reações 0 responsáveis Ver no GitHub
Feature Integration: Asyncio Python Spans
Linguagem predominante
Python
Estrelas
2.2k
Forks
669
Merge médio
1d 40min
PRs com merge (30d)
212

Descrição

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

Guia de contribuição

Abrir o guia de contribuição

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.