metrics endpoint not found
wtrabelssi opened this issue · comments
i used this app.propetie file and i didnt found the metrics endpoints
server.servlet.context-path=/api
spring.datasource.url=jdbc:postgresql://${DB_SERVER}/${POSTGRES_DB}
spring.datasource.username=${POSTGRES_USER}
spring.datasource.password=${POSTGRES_PASSWORD}
spring.liquibase.change-log=classpath:/db/changelog/db.changelog-master.xml
spring.jpa.properties.hibernate.jdbc.lob.non_contextual_creation=true
management.endpoints.web.exposure.include=*
management.endpoint.metrics.enabled=true
// those are the exposed endpoints and i cant find the metrics endpoint
{
"_links": {
"self": {
"href": "http://localhost:8080/api/actuator",
"templated": false
},
"health-component": {
"href": "http://localhost:8080/api/actuator/health/{component}",
"templated": true
},
"health": {
"href": "http://localhost:8080/api/actuator/health",
"templated": false
},
"health-component-instance": {
"href": "http://localhost:8080/api/actuator/health/{component}/{instance}",
"templated": true
},
"info": {
"href": "http://localhost:8080/api/actuator/info",
"templated": false
}
}
}