Open MatheusGeiger opened 1 year ago
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.
autodynatrace
2.0.0
AssertionError()
sdk.trace_sql_database_request
db_api try except
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
self.db_info = f"{db_info}"
self.db_info = db_info
How to reproduce:
cd dynatrace-instrumentation && docker compose up app
Error instrument database: AssertionError
Stack:
After updating
autodynatrace
to version2.0.0
the database instrumentations is not working, oneAssertionError()
was launched fromsdk.trace_sql_database_request
oneagent.db_api try except
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}"
toself.db_info = db_info
changed in this PRHow to reproduce:
cd dynatrace-instrumentation && docker compose up app
)Error instrument database: AssertionError
Stack: