Note: ChatGPT did most of the work on this one...
- Start it up using Docker Compose via the _runMonitor.bat or _runMonitor.sh scripts (depending on your system type), because we need to set up as environment variable for the system root.
- assumes you already have Docker properly set up on your system
- docker-commpose.yml is set up to restart:always so it will automatically come back up when you restart the computer
Windows
C:\your\repo\folder\> _runMonitor
Linux
user@system:~/your/repo/folder$ sudo chmod +x ./_runMonitor.sh
user@system:~/your/repo/folder$ ./_runMonitor.sh
- Navigate to: https://localhost:3000 to load the Grafana UI
- Change the default password for Grafana
- From the
Data sourceslink in the left-side nav panel, clickAdd new data sourceto add Prometheus as a data source
- Prometheus server URL *:
http://prometheus:9090 - Prometheus type:
Prometheus - Prometheus version:
> 2.50.x - Click
Save & Test
- From the
Dashboardslink in the left-side nav panel, clickNewthenImport
- Enter '893' (one that ChatGPT told me about) for Docker monitoring, then click
Load - Select the Prometheus data source that you created above, then click
Import
- From the
Dashboardslink in the left-side nav panel, select theDocker and system monitoringdashboard to view your stats