django-elasticsearch-debug-toolbar icon indicating copy to clipboard operation
django-elasticsearch-debug-toolbar copied to clipboard

A Django Debug Toolbar panel for Elasticsearch

Django Elasticsearch Toolbar

A Django Debug Toolbar panel for Elasticsearch PyPI version

About

Breaking changes:

  • django-elasticsearch-debug-toolbar 3.x is compatible with Django Debug Toolbar 3.x (elasticsearch <8.0.0)
  • django-elasticsearch-debug-toolbar 2.x is compatible with Django Debug Toolbar 2.x
  • django-elasticsearch-debug-toolbar 1.x is compatible with Django Debug Toolbar 1.x

ElasticSearch queries using elasticsearch python official client.

You are more than welcome to participate

  • Any idea and no time to code send your idea here: https://github.com/Benoss/django-elasticsearch-debug-toolbar/issues
  • An idea and the code just send a pull request here: https://github.com/Benoss/django-elasticsearch-debug-toolbar/pulls

Installation

Install using pip::

pip install django-elasticsearch-debug-toolbar

or install the development version from source::

pip install [email protected]:Benoss/django-elasticsearch-debug-toolbar.git
  • Then add elastic_panel to your INSTALLED_APPS so that we can find the templates in the panel.
  • Also, add 'elastic_panel.panel.ElasticDebugPanel' to your DEBUG_TOOLBAR_PANELS.

Usage

Just click the link in the Django Debug toolbar:

elastic queries image

License

Uses the MIT license.

  • Django Debug Toolbar: https://github.com/django-debug-toolbar/django-debug-toolbar
  • MIT: http://opensource.org/licenses/MIT