Skip to content

Writing

Articles from the edges of code, data & travel.

Long-form thinking on software engineering, machine learning, and the occasional postcard from the road.

All articles

10 articles
Spring boot application monitoring using custom actuator prometheus metrics

Apr 28, 20232 min read

Custom Actuator Prometheus Metric For Better Spring Boot Application Monitoring

This article describes a elegant way to add custom actuator prometheus metric to spring boot applications. Spring boot, a powerful java based framework to develop micro services web application provides many easy to configure solutions for developers need. Developing a microservices application is complete only when we can monitor these microservices. Spring boot provides Actuator to help monitor these microservices. Actuator uses HTTP endpoints to provide information about the application. Actuator provides lot of metrics like the database connections , thread information, memory information, HTTP client and server requests etc. Below are the 3 steps to add custom actuator prometheus metrics in spring boot

Read