getsentry / getsentry/sentry-python
Set database operation attribute in asyncpg
未关闭
Feature
Integration: asyncpg
Python
Spans
- 主要语言
- Python
- 星标
- 2.2k
- 派生
- 669
- 平均合并
- 1 天 40 分钟
- 30 天内合并 PR
- 212
描述
### Problem Statement
Attach attributes to spans for SQL statements according to https://github.com/getsentry/sentry-docs/pull/15194.
### Solution Brainstorm
Filter on the operation and add the attribute value.
贡献指南
调研方向
首先定位 asyncpg instrumentation 的入口点以及现有的 SQL 语句 span 处理逻辑。检查操作如何被过滤,并通过验证预期属性是否出现在受支持操作的相关 span 上来确认完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- postgresql, python
- 领域
- databases, observability
- Issue 类型
- 功能
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 35/100