Spring Boot | Spring Data JPA | Spring Actuator

Exposing Metrics of a Spring Boot API that uses Spring Data JPA and PostgreSQL

Step-by-step guide on how to configure Actuator and Prometheus metrics in Movie API

Ivan Franchin
Javarevisited
Published in
6 min readOct 11, 2023

--

Photo by Isaac Smith on Unsplash

In this article, we will explain how to configure Actuator and Prometheus metrics in a Spring Boot application, whose name is Movie API.

You can find the complete code and implementation in the article linked below. Feel free to follow the steps explained in the article and get started.

This is one article of a series of articles where we are using the Movie API as a base application. Throughout these articles, we’ll cover topics such as implementing unit or integration tests, introducing caching, deploying to Kubernetes, and more.

--

--

Ivan Franchin
Javarevisited

Lead Software Developer with BS and MS in Computer Science. Writing about Java, Spring, software development in general, and emerging technologies.