Open
Description
After updating autodynatrace
to version 2.0.0
the database instrumentations is not working, one AssertionError()
was launched from sdk.trace_sql_database_request
oneagent.
trace_sql_database_request from oneagent
Assert error from oneagent.sdk
I think this issue can fix changing the self.db_info = f"{db_info}"
to self.db_info = db_info
changed in this PR
How to reproduce:
- run the test project with this version installed (
cd dynatrace-instrumentation && docker compose up app
) - You can see in console logs the error
Error instrument database: AssertionError
Stack:
- python - 3.11
- django - 4.1.9
- psycopg2 - 2.9.6