Skip to main content

A Django Debug Toolbar panel for Elasticsearch

Project description

A Django Debug Toolbar panel for Elasticsearch [![Build Status](https://travis-ci.org/Benoss/django-elasticsearch-debug-toolbar.svg?branch=master)](https://travis-ci.org/Benoss/django-elasticsearch-debug-toolbar) [![PyPI version](https://badge.fury.io/py/django-elasticsearch-debug-toolbar.svg)](https://badge.fury.io/py/django-elasticsearch-debug-toolbar)

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](https://github.com/elasticsearch/elasticsearch-py) 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 git+git@github.com: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](https://raw.github.com/Benoss/django-elasticsearch-debug-toolbar/master/doc/elastic_queries.png)

License

Uses the MIT license.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Built Distribution

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page