Docker compose file for setting up Grafana, Prometheus, and cadvisor for docker container monitoring.
- Start docker containers
git clone https://github.com/jlab-sensing/monitoring.git
cd monitoring
docker compose up -d
-
Navigate to the grafana portal on port
3000
. Replace<hostname>
with the hostname/ip of the sever. Login using the default username and password isadmin
andadmin
respectively. It is advisable to create user accounts after initial login. -
Add a new data using these settings
- Import new dashboard with id of
193
. Set the data source toPrometheus
.