Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

metrics endpoint not found #61

Open
wtrabelssi opened this issue Feb 16, 2024 · 0 comments
Open

metrics endpoint not found #61

wtrabelssi opened this issue Feb 16, 2024 · 0 comments

Comments

@wtrabelssi
Copy link

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
}
}
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant