Spring Boot Actuator

Aditya KumarAditya Kumar
1 min read

Definition:-

Provides built-in production ready features to monitor and manage your application.

Why is it important?

Gives you the ability to monitor and manage your application.

Features:-

  • Built in endpoints

  • Ability to view real time metrics

  • customizable

Dependencies :-

<dependencies>
    <dependency>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-starter-actuator</artifactId>
    </dependency>
</dependencies>

Endpoints & Purpose

  1. /health :- Shows application health information, useful for checking the status of the application, such as database connectivity, disk space and custom health checks.

  2. /info :- Displays arbitrary application information, commonly used to display application version, git commit information etc.

  3. /metrics :- shows 'metrics' information that allows you to understand the performance and behaviour of your running application.

  4. /loggers :- Allows you to query and modify the logging level of your application loggers.

  5. /beans :- Provides a complete list of all the spring beans in your application.

  6. /shutdown :- Allows your application to be gracefully shutdown.

There are much more endpoints available in SpringBoot actuator , you can explore but these are some common endpoints which you should keep in your mind while working with spring boot actuator.

Thank you for reading this blog. This much is for today's blog, next will be coming soon.❤️❤️❤️

0
Subscribe to my newsletter

Read articles from Aditya Kumar directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

Aditya Kumar
Aditya Kumar

I am a university student. who is learning the process of software development. He is also interested in contribution process.