Skip to content

Latest commit

 

History

History
48 lines (30 loc) · 1.34 KB

README.md

File metadata and controls

48 lines (30 loc) · 1.34 KB

How to run the example

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

run-psutil.sh

Requirements

  • 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.

Issues/Warning

  • Make sure the time on your docker-machine vm is syncd with the time on your host