'Grails 5.1.4 Health Actuator does not have database component
my health endpoint does not show the database as component although my projects uses one.
I use this properties in application.yml:
endpoints:
enabled-by-default: true
endpoint:
health:
show-details: always
and this is my json response for /acutator/health:
{
"status": "UP",
"components": {
"diskSpace": {
"status": "UP",
"details": {
"total": 502468108288,
"free": 341547454464,
"threshold": 10485760,
"exists": true
}
},
"ping": {
"status": "UP"
}
}
}
Can anyone help me? Thanks in advance.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
