RedisGrafana / redis-coronavirus-map

Demo project to display RedisTimeSeries data on the map in Grafana
https://redisgrafana.github.io
Apache License 2.0
4 stars 2 forks source link
coronavirusapi grafana grafana-redis-datasource grafana-worldmap redis-datasource-plugin redistimeseries

Demo project to display RedisTimeSeries data on the Worldmap in Grafana

[![Grafana 7](https://img.shields.io/badge/Grafana-7-blue)](https://www.grafana.com) [![RedisTimeSeries](https://img.shields.io/badge/RedisTimeSeries-inspired-yellowgreen)](https://oss.redislabs.com/redistimeseries/) [![Grafana-Redis-Datasource plugin](https://img.shields.io/badge/GrafanaRedisDatasource-powered-red)](https://github.com/RedisTimeSeries/grafana-redis-datasource)

Introduction

Redis Coronavirus map demo is an example of the integration of RedisTimeSeries and Grafana Worldmap Panel using Redis Data Source. Redis Data Source plug-in is not officially supported by Grafana Worldmap, but there's a little workaround how to do it.

For this demo we are using United States coronavirus statistics from Coronavirus API website.

Besides standard graph representation, data are also drawn on the map. After you configure the Datasource and specify the query, you need to do the following:

  1. Apply the Transformation “Labels to fields” to TimeSeries output result.
  2. Change the map parameter “Location Data” to table mode and map the relevant fields accordingly, including the geohash field.

The Docker container runs the following applications

Run using docker-compose

The project provides docker-compose.yml to start Redis with RedisTimeSeries module, Grafana 7.0 and data exporter.

docker-compose up

Feedback

We love to hear from users, developers and the whole community interested by Redis Data Source plug-in. These are various ways to get in touch with us:

Other interesting resources

License