This project has been deprecated, for further information on how to use Redis and Grafana: https://github.com/RedisTimeSeries/grafana-redis-datasource.
Grafana Datasource for RedisTimeSeries
You can tryout the Grafana Datasource for RedisTimeSeries with RedisTimeSeries and Grafana in a single docker compose
cd compose
docker-compose upGrafana can be accessed on port 3000 (admin:admin)
A HTTP Server to serve metrics to Grafana via the simple-json-datasource
- 
install SimpleJson data source: https://grafana.net/plugins/grafana-simple-json-datasource/installation
 - 
in Grafana UI, go to Data Sources
 - 
Click
Add data source3.1 choose Name 3.2 Type:SimpleJson3.3 URL: point to the URL for your GrafanaDatastoreServer.py 3.4 Access: direct (unless you are using a proxy) - 
Query the datasource by a specific key, or * for a wildcard, for example:
stats_counts.http.* 
To install the needed dependencies just run: pip install -r requirements.txt
usage: GrafanaDatastoreServer.py [-h] [--host HOST] [--port PORT]
                                 [--redis-server REDIS_SERVER]
                                 [--redis-port REDIS_PORT]
optional arguments:
  -h, --help            show this help message and exit
  --host HOST           server address to listen to
  --port PORT           port number to listen to
  --redis-server REDIS_SERVER
                        redis server address
  --redis-port REDIS_PORT
                        redis server port
Grafana uses UTC timestamps to query its datastores. This datastore will use the same timestamps to query Redis, which means that it assumes all timestamps are UTC based.