dynatrace-oss / OneAgent-SDK-Python-AutoInstrumentation

autodynatrace, a python library that implements automatic instrumentation using the OneAgent SDK for Python
Other
62 stars 28 forks source link

Error instrumenting database message #86

Open CoolisdaRule opened 1 year ago

CoolisdaRule commented 1 year ago

Hello,

we are using latest dynatrace server, latest one agent and latest version of extension we collect purepaths but we are not getting DB calls.

pe_DB_fail

as you can see the screenshot, there error messages. This the first time we are using this extension so if you can help me we will be very hapy.

thank you, best regards.

sgluecker commented 9 months ago

We have the same problem and it appeared after updating from autodynatrace 1.0.82 to 2.0.0 and Django from 3.2 to 4.2. Python Version is 3.9

CoolisdaRule commented 9 months ago

Hello sgluecker, it seems 1.0.84 is the latest version: https://github.com/dynatrace-oss/OneAgent-SDK-Python-AutoInstrumentation/releases I downgraded autodynatrace 1 minor version and it worked. best regards.

sgluecker commented 9 months ago

Hello CoolisdaRule, for us it worked with version 1.1.1. 1.0.83 didn't work for us, We had other errors in combination with Django 4.2 (. Here in the master branch you can see, that in setup.py the version ist actual 2.0.1. which already should have the correction for the database instrumentation error. See; https://github.com/dynatrace-oss/OneAgent-SDK-Python-AutoInstrumentation/issues/82

But on pypi.org the actual last version is 2.0.0