This example includes configuring and starting influxdb (a time series database) and grafana (a metrics dashboard).
The example:
- Starts containers for Influxdb and Grafana (using Docker)
- Starts snapd
- Gets, loads and starts snap plugins
- Creates and starts a task that collects from psutil and publishes to InfluxDB
Start the example by running run-psutil.sh
- docker
- docker-compose
- netcat
- SNAP_PATH env var set to the snap build directory
Note: The script also supports docker-machine but doesn't require it.
- Make sure the time on your docker-machine vm is syncd with the time on your host