getsentry / getsentry/sentry-python

Set database operation attribute in asyncpg

未關閉
#4,961 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
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

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。