python - NewRelic sqlite instrumentation error -
newrelic showing instrumentation errors in logs. don't affect server, seems impossible rid of them.
[2015-05-11 14:13:48,236] newrelic.config:764 error instrumentation error [2015-05-11 14:13:48,236] newrelic.config:765 error type = import-hook [2015-05-11 14:13:48,237] newrelic.config:766 error locals = {'function': 'instrument_sqlite3', 'instrumented': set([('newrelic.hooks.database_sqlite', 'instrument_sqlite3')]), 'target': <module 'pysqlite2' '[......]/virtualenv/lib/python2.7/site-packages/pysqlite2/__init__.pyc'>, 'module': 'newrelic.hooks.database_sqlite'} [2015-05-11 14:13:48,237] newrelic.config:767 error exception details traceback (most recent call last): file "[......]/virtualenv/lib/python2.7/site-packages/newrelic-2.50.0.39/newrelic/config.py", line 801, in _instrument function)(target) file "[......]/virtualenv/lib/python2.7/site-packages/newrelic-2.50.0.39/newrelic/hooks/database_sqlite.py", line 98, in instrument_sqlite3 if not isinstance(module.connect, connectionfactory): attributeerror: 'module' object has no attribute 'connect' looks shows whenever sqlite database opened. ideas on this?
Comments
Post a Comment