Redis Data Source for Grafana
- Getting Started
- Supported commands
- Template variables
- Learn more
What is the Redis Data Source for Grafana?
If you’re not familiar with Grafana, it’s a very popular tool used to build dashboards to monitor applications, infrastructures, and software components. The Redis Data Source for Grafana is a plug-in that allows users to connect to the Redis database and build dashboards in Grafana to easily monitor Redis and application data. It provides an out-of-the-box predefined dashboard, but also lets you build customized dashboards tuned to your specific needs.
What Grafana version is supported?
Grafana 7.1 and later with a new plug-in platform supported.
Does this Data Source require anything special configured on the Redis databases?
Data Source can connect to any Redis database. No special configuration is required.
Does this Data Source support Redis Cluster and Sentinel?
Redis Cluster and Sentinel supported since version 1.2.
Does this Data Source support Redis modules?
Data Source supports RedisTimeSeries. We are working on supporting additional modules.
How to connect to Redis logical database
?db=db-number in the Data Source URL to specify the database number as defined in the Schema.
How to build Data Source
To learn how to build Redis Data Source from scratch and register in new or existing Grafana please take a look at BUILD instructions.
grafana-cli tool to install from the commandline:
grafana-cli plugins install redis-datasource
docker run -d -p 3000:3000 --name=grafana -e "GF_INSTALL_PLUGINS=redis-datasource" grafana/grafana
docker-compose.yml to start Redis with RedisTimeSeries module and Grafana.
Open Grafana in your browser and configure Redis Data Source. You can add as many data sources as you want to support multiple Redis databases.
There are certain settings that can be configured based on your own setup:
- Grafana port
- Data Source URL
Configure Grafana port in
If standard port 3000 is occupied by another application update the port to bind Grafana to
ports: - '3000:3000'
Configure Data Source URL in
If Redis is running and listening on localhost:6379 no changes are required
If Redis is running as Docker container on MacOS, please update host to
docker-compose for development
Data Source have to be built following BUILD instructions before starting using
docker-compose -f docker-compose-dev.yml up
Data Source supports various Redis commands using custom components and provides a unified interface to query any command.
Template variables can query any command and use other variables as parameters.
- Introducing the Redis Data Source Plug-in for Grafana
- How to Use the New Redis Data Source for Grafana Plug-in
- 3 Real-Life Apps Built with Redis Data Source for Grafana
We love to hear from users, developers and the whole community interested by this plugin. These are various ways to get in touch with us:
- Ask a question, request a new feature and file a bug with GitHub issues.
- Star the repository to show your support.
- Fork the repository.
- Find an issue to work on and submit a pull request.
- Could not find an issue? Look for documentation, bugs, typos, and missing features.
- Apache License Version 2.0, see LICENSE.