elastic / elastic/apm-agent-python

Add instrumentation for AWS Redshift databases

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

説明

I followed the basic steps described on the documentation to connect my Flask application. My application connects with a MySql database and with Redshift database. On Kibana web page, when analyzing the data I can see the query statement for the MySql querys, but I can't see the Redshift query statement. On my application, both database connection are made with SQLAlchemy. So is just a question, does it work with Redshift? Maybe I have to check some of my settings, read some advanced topics.

I tried to create a span (`@elasticapm.capture_span()`) on the Redshift method that execute the query to be more specific and visualize what was happening, but still on kibana it show my Redshift span but no query statement.

**Environment **
- OS: Ubuntu 22.04
- Python version: 3.11
- Framework and version: Flask 2.2
- APM Server version:
- Agent version: 6.16.2

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

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

調査の方向性

まず、Flask、SQLAlchemy、Redshift接続を使って報告されたセットアップを再現し、次に、そのスパンを、Kibanaですでにクエリステートメントを表示しているMySQLのスパンと比較します。RedshiftのクエリステートメントがKibanaに表示され、その動作が回帰テストでカバーされれば、Issueは完了です。

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

評価

技術スタック
aws, flask, mysql, python, sqlalchemy
領域
backend, databases, observability
issue の種類
機能追加
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
35/100

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

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