open-telemetry / opentelemetry-python-contrib

OpenTelemetry instrumentation for Python modules
https://opentelemetry.io
Apache License 2.0
701 stars 584 forks source link

Give more info to redis/pymysql/pymongo #2337

Open huangzhw opened 6 months ago

huangzhw commented 6 months ago

Is your feature request related to a problem? The old OpenTracing provided more information to us to solve question. Redis only provides SET ? ?, it's not useful. pymysql lacks parameters. pymongo lacks command info and event.reply.

Describe the solution you'd like Maybe we can provide some options like verbose to control the output.

Kludex commented 1 month ago

I agree. PyMongo at least has capture_statement. I think Redis should receive the same parameter.

veritaspei commented 1 month ago

i agree, is there any solution?