- ELK
- InfluxDB & Grafana
- Run Command:
$ npm run ig:start
. - Stop Command:
$ npm run ig:stop
. - Restart Command:
$ npm run ig:restart
.
The Doc: https://docs.influxdata.com/influxdb/v1.7/introduction/getting-started/
Shell Into Influx Docker: $ docker exec -it influxdb influx
.
Manual: https://docs.influxdata.com/influxdb/v1.7/tools/api/
- create db
curl -i -XPOST http://localhost:19786/query --data-urlencode "q=CREATE DATABASE mydb"
- write point
curl -i -XPOST 'http://localhost:19786/write?db=mydb' --data-binary 'cpu_load_short,host=server01,region=us-west value=0.64'