pinpoint-apm / pinpoint-c-agent

Pinpoint C Agent helps your monitor your PHP/PYTHON applications into [pinpoint-apm](https://github.com/pinpoint-apm/pinpoint).
http://pinpoint-apm.github.io/pinpoint/
Apache License 2.0
262 stars 77 forks source link

[Support] About postgresql transaction #682

Open loy124 opened 5 hours ago

loy124 commented 5 hours ago

def monkey_patch_for_pinpoint(pymongo=True, PyMysql=True, pyRedis=True, requests=True, urllib=True, sqlalchemy=True, MySQLdb=True, MysqlConnector=True, pyscopg2=True): __monkey_patch(_pymongo=pymongo, _MySQLdb=MySQLdb, _PyMysql=PyMysql, _pyRedis=pyRedis, _requests=requests, _urllib=urllib, _sqlalchemy=sqlalchemy, _MysqlConnector=MysqlConnector, _psycopg2=pyscopg2)

https://github.com/pinpoint-apm/pinpoint-c-agent/blob/dev/plugins/PY/pinpointPy/libs/init.py

When looking at the code defined in that address, it is confirmed that there are no postgresql-related settings. It is confirmed that only mysql related settings are visible. pinpoint in django Is it impossible to look up postgresql transaction?

eeliu commented 4 hours ago

@loy124

hello, did you mean this library ?

https://postgres-py.readthedocs.io/en/latest/

if not, please share your postgresql client library.