Demonstration of the InfluxData stack
- Clone this repo
git clone https://github.com/lsst-sqre/influx-demo.git
- Create a virtualenv
cd influx-demo
virtualenv influx-demo -p python3
source influx-demo/bin/activate
pip install -r requirements.txt
- Using the virtualenv in the Jupyter notebook
python -m ipykernel install --user --name=influx-demo
jupyter notebook
(You should now see your kernel in the Jupyter notebook menu: Kernel -> Change kernel
and be able so switch to it.)
Open the influx-demo.ipynb
notebook.
- Install docker
The notebook requires docker-compose
to run InfluxDB + Chronograf + Kapacitor locally.
See for instance how to Install Docker for Mac.