Closed
Description
Describe the bug: ...
[pid: 32738|app: 0|req: 9507/17121] 10.15.203.202 () {38 vars in 644 bytes} [Wed Apr 3 16:02:05 2019] GET /api/v2/redisservice/isdocker?ip=10.14.132.95&port=6379 => generated 179 bytes in 536 msecs (HTTP/1.1 200) 2 headers in 88 bytes (1 switches on core 11)
ERROR 2019-04-03 16:02:06,163 __init__ 32738 139774123824896 Exception during timing of request
Traceback (most recent call last):
File "/var/www/cdportal/shared/venv/lib/python2.7/site-packages/elasticapm/contrib/django/middleware/__init__.py", line 170, in process_response
if self.client.config.django_transaction_name_from_route and hasattr(request.resolver_match, "route"):
AttributeError: 'Config' object has no attribute 'django_transaction_name_from_route'
Environment (please complete the following information)
- OS: [e.g. Linux]
- Python version: 2.7.5
- Framework and version [e.g. Django 2.1]: Django 1.9
- APM Server version: 4.1.0
- Agent version:
Linux version 3.10.0-327.36.3.el7.x86_64 (builder@kbuilder.dev.centos.org) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-4) (GCC) ) Update copyright in LICENSE #1 SMP Mon Oct 24 16:09:20 UTC 2016
Additional context
Here is my uwsgi.ini
[uwsgi]
uid = cdportal
gid = cdportal
pidfile = /var/run/uwsgi/uwsgi.pid
# stats = /var/run/uwsgi/stats.sock
cap = setgid, setuid
chdir = /var/www/cdportal/current/backend
module = cdportal.wsgi:application
master = True
vacuum = True
max-requests = 1000
daemonize = /var/log/uwsgi/cdportal.log
socket = 127.0.0.1:49152
workers = 8
threads = 30
listen = 1024
enable-threads = True
Metadata
Metadata
Assignees
Labels
No labels