Hi there,
we are using camunda 7.15 with spring boot 2.5.12.
I have already implemented the health endpoint using actuator.
In the pom.xml i entered:
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-actuator</artifactId>
</dependency>
<dependency>
<groupId>io.micrometer</groupId>
<artifactId>micrometer-registry-prometheus</artifactId>
</dependency>
and in the application.yaml:
management:
endpoints:
enabled-by-default: false
endpoint:
health:
enabled: true
prometheus:
enabled: true
metrics:
enabled: true
web:
exposure:
include: "*"
The actuator endpoints (localhost:8080/actuator) replays:
{
"_links": {
"self": {
"href": "http://localhost:8080/actuator",
"templated": false
},
"health": {
"href": "http://localhost:8080/actuator/health",
"templated": false
},
"health-path": {
"href": "http://localhost:8080/actuator/health/{*path}",
"templated": true
}
}
}
…and I can access the endpoint via localhost:8080/actuator/health
Now I would also like to provide the metrics endpoint for my Kubernetes environment. I can’t get it to work
How can I achieve this?
Thank you in advance.