django-elasticsearch-debug-toolbar
django-elasticsearch-debug-toolbar copied to clipboard
A Django Debug Toolbar panel for Elasticsearch
Fix for #20
I believe elasticsearch refactored some of their internals and so this doesn't work any more. I don't have a fix, unfortunately, but here's the traceback. ```python-traceback Exception in thread django-main-thread:...
When I upgrade `django-debug-toolbar` to version 4.2.0 I got following error: ``` Exception in thread django-main-thread: Traceback (most recent call last): File "/usr/lib/python3.11/threading.py", line 1038, in _bootstrap_inner self.run() File "/home/petr/.cache/pypoetry/virtualenvs/blenderkit-server-eqrfB9dY-py3.11/lib/python3.11/site-packages/sentry_sdk/integrations/threading.py",...
Since this package now requires Python 3.8+, we can drop the deprecated `pkg_resources` in favor of `importlib.metadata`.
Using Elasticsearch debug toolbar causes memory leak and thus crash when elasticsearch is extensively used. Not sure if this is general debug-toolbar problem or specific for elasticsearch-debug-toolbar but I did...