mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
Testing influx and chronograf
This commit is contained in:
28
CONTRIBUTING.md
Normal file
28
CONTRIBUTING.md
Normal 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
5
analytics/README.md
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
|
||||||
|
|
||||||
|
Test with:
|
||||||
|
|
||||||
|
ruby -run -e httpd . -p 9090
|
||||||
1
analytics/test.html
Normal file
1
analytics/test.html
Normal file
@@ -0,0 +1 @@
|
|||||||
|
<iframe height="346" width="560" src="http://localhost:10000/embed_graph/1" frameborder="0" allowfullscreen scrolling="no"></iframe>
|
||||||
Reference in New Issue
Block a user