netdata-pandas is a Python package that can be used to pull data from you Netdata nodes into a Pandas DataFrame beloved by all.
In this directory there are a number of sample Jupyter notebooks showing some usage of the netdata-pandas package.
- anomalies_collector_deepdive.ipynb: A deepdive tutorial that goes under the hood a bit on whats going on in the Netdata anomalies collector (view on nbviewer here).
- anomaly_detection.ipynb: A notebook that pulls some recent data from a specific node and runs it though various anomaly detection algorithms using the awesome ADTK library (view on nbviewer here).
- correlation_heatmap.ipynb: A notebook that pulls some recent data from multiple hosts and plots some pretty correlation heatmaps (view on nbviewer here).
To run the notebooks you have two options:
(1) run in your own python environment making sure to install all the dependencies listed in requirements.txt
or
(2) run each notebook in Google Colab by pressing the "Open in Colab" button at the top of each notebook. Once the notebook is opened in Google Colab you will then just need to uncomment the first code cell to install the relevant python packages for that notebook into the environment Google Colab has spun up for you (note: Google Colab offers free notebooks in the cloud so can be a great way to start playing with Python without having to worry about setting up your own Python environment on you computer).