This example provides an easy way to get some knowledge on how to use MySQL monitoring tools.
- Docker
- Docker compose
- make
This setup should not be used for production purposes as is. Consider proper configuration for your case.
Run make up
Run make prepare-db
- Grafana: http://localhost:3000
- Prometheus web UI: http://localhost:9090/targets
- Anemometer: http://localhost
- mysqld_exporter: http://localhost:9104/metrics
- node_exporter: http://localhost:9100/metrics
Checkout some example benchmarks for SQL queries performance:
services/sysbench/tests/
make benchmark
Checkout results in services/sysbench/reports/
directory
Check README.md files for services