Daniel 70b63c3959 Add support for db cursors and connections in context managers (#1028)
Here is an example snippet that will not report tracing without this patch:

with psycopg2.connect(...) as conn, conn.cursor() as cursor:
    cursor.execute("select 1;")

Co-authored-by: Carl Bordum Hansen <carl@bordum.dk>
2020-09-02 11:26:16 -07:00
Description
OpenTelemetry instrumentation for Python modules
Apache-2.0 54 MiB
Languages
Python 99.7%
Shell 0.3%