elastic / elastic/apm-agent-python

Support for motor (async pymongo)

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

説明

**Is your feature request related to a problem? Please describe.**
The Python Elastic APM agent does not automatically instrument async calls to mongodb using motor

**Describe the solution you'd like**
Support for automatic instrumentation of motor similar to the way pymongo is instrumented

**Describe alternatives you've considered**
For now we have lived without instrumentation, although it looks like it should be possible to adapt the pymongo wrappers

**Additional context**
This is the motor project: https://github.com/mongodb/motor
It should be similar to pymongo

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

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

調査の方向性

既存の PyMongo インストルメンテーションを確認し、そのラッパーを Motor の async API と比較します。動作の詳細については、リンクされている Motor プロジェクトを使用してください。現在の PyMongo 実装から、インストルメンテーションのエントリポイントとテストを特定します。Motor を介した非同期 MongoDB 呼び出しが、PyMongo の対応する呼び出しと同様に自動的にトレースされれば完了です。

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

評価

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

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

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