Default metrics in Spring Boot (don't be that guy)

Опубликовано: 01 Июнь 2020
на канале: Tom Gregory Tech
6,372
145

Tired of solving production issues through guesswork? Know exactly how your application is behaving by using the default metrics provided by the Spring Boot Actuator module.

Not many people know that Spring Boot comes with a load of metrics for monitoring things like request rate, response time, JVM behaviour, and more. In this video you'll discover how to enable all of this with a few lines of configuration. We cover the most important metrics you need to know about, as well as how to use them effectively, monitor them over time, and graph them with tools like Prometheus and Grafana.

Specifically, this video covers:

✅ What are Spring Boot Actuator and Micrometer
✅ How to enable them through your dependencies and application properties
✅ Inbound HTTP request metrics (total requests, request duration etc.)
✅ Outbound HTTP request metrics (RestTemplate, WebClient)
✅ JVM metrics (memory, garbage collection, threads)
✅ How to query and graph all the above over time using Prometheus

here's the accompanying GitHub repository containing everything you need to try out the examples in this video https://github.com/tkgregory/spring-b...
see this video in article format over on my blog https://cloudcasanova.com/spring-boot...
check out this Spring Boot documentation about the different types of metrics https://docs.spring.io/spring-boot/do...
here’s a dashboard which you can import into Grafana to neatly display many of the Spring Boot default metrics from this article https://grafana.com/grafana/dashboard...


Смотрите видео Default metrics in Spring Boot (don't be that guy) онлайн без регистрации, длительностью 16 минут 40 секунд в хорошем качестве. Это видео добавил пользователь Tom Gregory Tech 01 Июнь 2020, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 6,372 раз и оно понравилось 145 людям.