Skip to content

Latest commit

 

History

History
37 lines (28 loc) · 615 Bytes

File metadata and controls

37 lines (28 loc) · 615 Bytes

Actuator

pom.xml

To use the actuator you need the following dependency in your pom.xml:

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

Example

Simple health-check

Request:

curl localhost:8080/actuator/health

Response:

{
 "status": "UP"
}

Further examples

Further examples can be found in the official documentation.