This repository was archived by the owner on Mar 27, 2020. It is now read-only.
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Repository files navigation
DEPRECATED: for a long time, Grafana has allowed querying SQL databases easily A webapp which exposes SQL queries using the minimal Graphite API required for Grafana $ mkvirtualenv graphite-sql-bridge $ pip install -e .[dev] $ DATABASE=<psycopg2 url> FLASK_APP=grsqlbr flask run Database you connect to should have a view with three columns: * series: name of the data series * timestamp: time of the point * value: value of the point Running using Docker: $ docker build -t graphite-sql-bridge . $ docker run -e DATABASE=<psycopg2 url> -e FLASK_APP=grsqlbr -p 5000:5000 graphite-sql-bridge flask run --host=0.0.0.0