Skip to Main Content
Spring: Microservices with Spring Boot
book

Spring: Microservices with Spring Boot

by In28Minutes Official
March 2018
Intermediate to advanced content levelIntermediate to advanced
140 pages
2h 42m
English
Packt Publishing
Content preview from Spring: Microservices with Spring Boot

Spring Boot Actuator

When an application is deployed into production:

  • We want to know immediately if some service goes down or is very slow
  • We want to know immediately if any of the servers does not have sufficient free space or memory

This is called application monitoring.

Spring Boot Actuator provides a number of production-ready monitoring features.

We will add Spring Boot Actuator by adding a simple dependency:

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

As soon as the actuator is added to an application, it enables a number of endpoints. When we start the application, we see a number of added new mappings. The following screenshot shows ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Building Microservices with Spring

Building Microservices with Spring

Dinesh Rajput, Rajesh R V
Spring Microservices in Action

Spring Microservices in Action

Kalpit Patel, John Carnell
Developing Java Applications with Spring and Spring Boot

Developing Java Applications with Spring and Spring Boot

Claudio Eduardo de Oliveira, Greg L. Turnquist, Alex Antonov

Publisher Resources

ISBN: 9781789132588Supplemental Content