Closed jessemillar closed 1 year ago
I need to set up a Docker volume with Grafana so my settings and dashboards aren't inside a container. Here's a guide: https://grafana.com/docs/grafana/latest/setup-grafana/installation/docker/#use-bind-mounts
I need to figure out how to back up Prometheus and Grafana configs too. Maybe to a private GitHub repo?
Here's a link to a method for renaming instances in Prometheus/Grafana to something human-readable: https://stackoverflow.com/a/53053429
Closed and moved to https://github.com/compycore/msa/issues/1
Prometheus/Grafana Server Setup
I use a Raspberry Pi 4 to
mkdir -p ~/prometheus/data && mkdir -p ~/grafana/data
Node Setup
Linux
sudo vi /etc/rc.local
and add/home/pi/node_exporter &
to the list of commands)Windows
Add more scraping instances
SSH into the computer running the Prometheus Docker container (the MSA Raspberry Pi):
Making Grafana Dashboards
rate()
is different fromirate()
;rate()
is for slow-moving values andirate()
is for fast-moving values