Welcome to this repository, which goes along with the Tom Gregory Tech Youtube series and the tomgregory.com blog series!
There are 4 parts to the series:
- Part 1: Fundamentals (blog|video)
- Part 2: Prometheus (blog|video)
- Part 3: Rules & Alerting (blog|video)
- Part 4: Visualisation & Graphing (blog|video)
Each part is tagged in the repository, so you can checkout the code and follow along with the video/blog post. e.g.
git checkout part2
Note that part 1 isn't tagged as it doesn't have a code example component.
- Docker
- Configure alertmanager.yml with your Gmail address and app password (if you want alerts to be sent to your email address)
- Run
docker-compose up
- Prometheus is available at http://localhost:9090
- AlertManager is available at http://localhost:9093
- Grafana is available at http://localhost:3000 (login is admin/admin)
- Application metrics are available at http://localhost:8080/actuator/prometheus
- Application endpoint is available at http://localhost:8080/doit
- Try importing the JVM (Micrometer) dashboard with ID 4701
Contact me if you need help at tom@tomgregory.com.