Skip to content

Latest commit

 

History

History
 
 

influxdb-grafana

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

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