Skip to content

Developing Redis Explorer plugin

CI Docker codecov Language grade: JavaScript

Developing Explorer plugin involves setting up the development environment (which can be either Linux-based or macOS-based), building and running tests.

Install Grafana

Grafana can be used in Docker or installed locally:

Clone repository

git clone https://github.com/RedisGrafana/grafana-redis-explorer.git

Build Explorer

npm install yarn -g
  • Install dependencies
yarn install
  • Build frontend components
yarn build

Start Grafana

Prerequisite

Docker Compose should be pre-installed following documentation.

yarn start:dev

Move distribution to Grafana's plugins/ folder

mv dist/ /var/lib/grafana/plugins/redis-explorer

Add redis-explorer-app to allowed unsigned plugins

vi /etc/grafana/grafana.ini
[plugins]
;enable_alpha = false
;app_tls_skip_verify_insecure = false
# Enter a comma-separated list of plugin identifiers to identify plugins that are allowed to be loaded even if they lack a valid signature.
allow_loading_unsigned_plugins = redis-explorer-app

Restart Grafana and verify that plugin is registered

tail -100 /var/log/grafana/grafana.log

Configuration

The Overview page explains how to enable plugin and manage multiple Redis Enterprise Software data sources.

Contact Us

If you have questions, enhancement ideas or running into issues, please open an issue.