Spring Boot Actuator is a sub-project of Spring Boot. It adds several production grade services to your application with little effort on your part.
Questions tagged [spring-boot-actuator]
1674 questions
62
votes
2 answers
How to enable all endpoints in actuator (Spring Boot 2.0.0 RC1)
I moved to Spring Boot 2.0.0 RC1 from 1.5.10 and I am stuck with actuator in the latest version. How can I enable expose and enable all actuator endpoints?
The only endpoints that get exposed are:
{
"_links": {
"self": {
"href":…

Witold Kaczurba
- 9,845
- 3
- 58
- 67
50
votes
2 answers
"httptrace" endpoint of Spring Boot Actuator doesn't exist anymore with Spring Boot 2.2.0
With Spring Boot 2.2.0 the "httptrace" Actuator endpoint doesn't exist anymore. How can I get this functionality back?

phip1611
- 5,460
- 4
- 30
- 57
47
votes
14 answers
Spring Boot 2 - Actuator Metrics Endpoint not working
In my Spring Boot App (2.0.0.M7) application.properties I set
management.endpoint.metrics.enabled=true
However, when i hit
localhost:8080/actuator/metrics
I get 404.
Whats the solution?

Dachstein
- 3,994
- 6
- 34
- 61
47
votes
21 answers
Unable to access Spring Boot Actuator "/actuator" endpoint
I am able to access endpoints like http://localhost:8081/health, /status, /env, /metrics, /shutdown but not /actuator or /loginfo endpoints.
Getting below exception.
{"timestamp":1455929182552,"status":404,"error":"Not Found","message":"No message…

grkhyd
- 473
- 1
- 5
- 6
40
votes
3 answers
How to add a custom health check in spring boot health?

shabinjo
- 1,473
- 1
- 16
- 22
39
votes
2 answers
How to measure service methods using spring boot 2 and micrometer
I started my first project on Spring Boot 2 (RC1). Thanks to the already good documentation this has not been to hard coming from Spring Boot 1.x.
However now that I want to integrate metrics I'm stumbeling. As far as I was able to find currently…

Christian Frommeyer
- 1,390
- 1
- 12
- 20
33
votes
4 answers
/actuator/prometheus missing in @SpringbootTest
I'm using springbooot 2.4.0 and I added the following dependencies for enabling prometheus metrics:
org.springframework.boot
…

Massimo Basile
- 381
- 4
- 6
30
votes
5 answers
Configure Spring Boot with two ports
I'm trying configure an application in Spring Boot with two differents ports, but I haven't got still.
My first approximation has been with two controllers and I have defined a @Bean inside the two controller with container.setPort(8080);
And my…

nole
- 1,422
- 4
- 20
- 32
28
votes
2 answers
Spring Boot Actuator - LDAP Health Endpoint Throwing NPE
In our Spring Boot app we have are using spring-security-ldap to authenticate users that can access our app. We don't see any issues functionally with authentication, however when we hit the /authenticator/health URL, we get the following status for…

justbaum30
- 505
- 2
- 8
- 16
27
votes
6 answers
Response MIME type for Spring Boot actuator endpoints
I have updated a Spring Boot application from 1.4.x to 1.5.1 and the Spring Actuator endpoints return a different MIME type now:
For example, /health is now application/vnd.spring-boot.actuator.v1+json instead simply application/json.
How can I…

kap
- 1,456
- 2
- 19
- 24
26
votes
3 answers
Add prefix to all Spring Boot actuator endpoints
Is there an easy way to add a prefix to all the Actuator endpoints?
/env -> /secure/env
/health -> /secure/health
/info -> /secure/info
...

codependent
- 23,193
- 31
- 166
- 308
21
votes
15 answers
Spring Boot /actuator returns 404 not found
I am using spring boot 2.1.4.RELEASE and currently trying to access http://localhost:8080/actuator but i am getting 404 not found. I am not sure what am i doing wrong here. Below is my pom dependencies-

Jon Abraham
- 851
- 3
- 14
- 27
21
votes
2 answers
Spring Boot - Change the location of the /health endpoint to /ping/me
I set the endpoints.health.path property to /ping/me. But I cannot access the endpoint using http://localhost:9000/ping/me
It only works with http://localhost:9000/health. What am I missing ?
Here is the code in app properties file.
#Configuration…

Nagendra Kakarla
- 1,011
- 3
- 10
- 17
21
votes
1 answer
how to get metrics from spring-boot-actuator programmatically?
we have a spring application in production. It is NOT Spring-boot. I found this post on how to use spring-boot-actuator in a non-spring-boot application.
However, the requirement for us is to aggregate the data from /metrics endpoint and do some…

brain storm
- 30,124
- 69
- 225
- 393
20
votes
2 answers
Dynamic tag values for the Counter metric in Micrometer
Newbie here, trying to learn more about the micrometer. I'm currently exploring ways on how to accomplish this:
I'm using Spring boot 2 with actuator and micrometer enabled. Consider the following class:
@Component
class MyService {
@Autowired
…

Vimalraj Selvam
- 2,155
- 3
- 23
- 52