Skip to content

hmlatapie/grafana-redistimeseries

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

license CircleCI GitHub issues Codecov

RedisTimeSeries-Datasource

Forum Gitter

Grafana Datasource for RedisTimeSeries

QuickStart

You can tryout the Grafana Datasource for RedisTimeSeries with RedisTimeSeries and Grafana in a single docker compose

cd compose
docker-compose up

Grafana can be accessed on port 3000 (admin:admin)

Grafana Datastore API Server

Overview

A HTTP Server to serve metrics to Grafana via the simple-json-datasource

Grafana configuration

  1. install SimpleJson data source: https://grafana.net/plugins/grafana-simple-json-datasource/installation

  2. in Grafana UI, go to Data Sources

  3. Click Add data source 3.1 choose Name 3.2 Type: SimpleJson 3.3 URL: point to the URL for your GrafanaDatastoreServer.py 3.4 Access: direct (unless you are using a proxy)

  4. Query the datasource by a specific key, or * for a wildcard, for example: stats_counts.http.*

Dependencies

To install the needed dependencies just run: pip install -r requirements.txt

GrafanaDatastoreServer.py Usage

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

About

Grafana Datasource for RedisTimeSeries

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 91.0%
  • Dockerfile 9.0%