https://github.com/dbrgn/timeseries
A docker based time series dashboard (InfluxDB + Grafana).
https://github.com/dbrgn/timeseries
Last synced: 5 months ago
JSON representation
A docker based time series dashboard (InfluxDB + Grafana).
- Host: GitHub
- URL: https://github.com/dbrgn/timeseries
- Owner: dbrgn
- Created: 2016-01-15T15:01:33.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-01-15T15:43:00.000Z (over 10 years ago)
- Last Synced: 2026-01-11T12:59:50.620Z (7 months ago)
- Homepage:
- Size: 1000 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Timeseries
A docker based time series dashboard (InfluxDB + Grafana).
## Usage
Initialize containers:
$ docker-compose build
$ docker-compose up -d
### Set up InfluxDB
Create admin user:
$ curl -v -G http://localhost:8086/query \
--data-urlencode "q=CREATE USER WITH PASSWORD '' WITH ALL PRIVILEGES"
Create a database:
$ curl -v -G -u : http://localhost:8086/query \
--data-urlencode "q=CREATE DATABASE temperatures"
Write some data:
$ curl -v -X POST -u : http://localhost:8086/write?db=temperatures \
--data-binary 'degrees,sensor=schlafzimmer value=23.875'
$ curl -v -X POST -u : http://localhost:8086/write?db=temperatures \
--data-binary 'degrees,sensor=schlafzimmer value=24'
If you wish, query data:
$ curl -v -G -u : http://localhost:8086/query?db=temperatures&pretty=true \
--data-urlencode 'q=SELECT value FROM degree' --data-urlencode 'pretty=true'