./
├── grafana
│ └── dashboard.json
│
├── haproxy
│ ├── Dockerfile
│ └── haproxy.cfg
│
├── prometheus
│ └──prometheus.yml
│
├── rabbitmq
│ ├── Dockerfile
│ └── rabbit.conf
│
└── docker-compose.yml
docker-compose build
docker-compose up -d
docker exec -it rabbitmq_master rabbitmqctl set_policy ha-all ".*" '{"ha-mode":"all"}
URL: http://localhost:15672
Username: admin
Password: admin
- Access grafana
URL: http://localhost:3000
Username: admin
Password: admin
- Create a datasource of type prometheus
Configuration->Data Sources->Add data source
- Import the dashboard
Create->Import->Upload .json File
select the ./grafana/dashboard.json