-
Go 1.5.1
-
make
-
Go tools
-
gb
-go get -u github.com/constabulary/gb/…
-
docker run --name influxdb -d --net host -e PRE_CREATE_DB="metrics" tutum/influxdb
docker run --name nats -d --net host nats
Configure InfluxDB authentication needed for Grafana:
-
Point your browser to http://
boot2docker ip
:8086/ -
Run the following query
CREATE USER test WITH PASSWORD’test'
-db string
InfluxDB address (host:port) (default "localhost:8086")
-db_name string
InfluxDB database to write to (default "metrics")
-db_pwd string
Optional user password to access InfluxDB
-db_user string
Optional user to access InfluxDB
-nats string
NATS adress (host:port) (default "localhost:4222")