Post

Spring Boot Actuator in Practice

Spring Boot Actuator exposes operational info for free.

Useful endpoints:

  • /health
  • /metrics
  • /env
  • /loggers

Add micrometer for Prometheus integration:

1
2
3
4
5
<dependency>
    <groupId>io.micrometer</groupId>
    <artifactId>micrometer-registry-prometheus</artifactId>
</dependency>

This post is licensed under CC BY 4.0 by the author.