Testing influx and chronograf

This commit is contained in:
Travis Reeder
2016-07-08 12:59:55 -04:00
parent 9b9801a588
commit 5d347bb190
3 changed files with 34 additions and 0 deletions

28
CONTRIBUTING.md Normal file
View File

@@ -0,0 +1,28 @@
## FOR INFLUX AND ANALYTICS
```sh
docker run -p 8083:8083 -p 8086:8086 \
-v $PWD:/var/lib/influxdb \
--rm --name influxdb \
influxdb:alpine
```
CLI:
```sh
docker run --rm --link influxdb -it influxdb:alpine influx -host influxdb
```
chronograf:
```sh
# they don't have an alpine image yet chronograf
docker run -p 10000:10000 --link influxdb chronograf
```
Open UI: http://localhost:10000
Add server with host `influxdb`

5
analytics/README.md Normal file
View File

@@ -0,0 +1,5 @@
Test with:
ruby -run -e httpd . -p 9090

1
analytics/test.html Normal file
View File

@@ -0,0 +1 @@
<iframe height="346" width="560" src="http://localhost:10000/embed_graph/1" frameborder="0" allowfullscreen scrolling="no"></iframe>