elastic / elastic/apm-agent-python

aioodbc support

オープン
#2,597 コメント 3 件 リアクション 0 件 担当者 0 名 GitHub で見る
agent-python community triage
主要言語
Python
スター
431
フォーク
239
平均マージ
5日 10時間
マージ済み PR(30日)
7

説明

**Is your feature request related to a problem? Please describe.**

I am using [aioodbc](https://github.com/aio-libs/aioodbc) to connect to mssql asynchronously. However, eventhough `aioodbc` runs on top of pyodbc spans are not automatically captured.

**Describe the solution you'd like**

Native instrumentation for `aioodbc` similar to the existing support for `aiopg` and `aiomysql`.

**Describe alternatives you've considered**

/

**Additional context**

I am happy to create a PR if desired.

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

まず、既存の aiopg と aiomysql の計装エントリポイントを、aioodbc における pyodbc の使用方法と比較します。非同期データベース呼び出しがどのように計装されているかを追跡し、期待される span を定義する前に、関連するテストを特定します。aioodbc の操作が既存の統合と比較可能なネイティブ span を生成し、その動作をテストでカバーできれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
python
領域
backend, databases
issue の種類
機能追加
難易度
4/5
見積もり時間
3〜5日
活発さ
静か
明瞭さ
おおむね明確
初心者へのやさしさ
52/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。