In my application.yml:
endpoints:
restart:
enabled: true
shutdown:
enabled: true
health:
sensitive: false
but when I request /health, I always got only:
{"status":"UP"}
Any idea to fetch more information?
Have you tried accessing other endpoints ?
I think security is enabled for actuator endpoints, because of which full content is not accessible, to access full content you have to disable security for actuator or have to use basic authentication credentials to access it.
To disable security, add the following in your application.yml -
management:
security:
enabled: false
In 'application.properties' add:
management.endpoint.health.show-details=always
If you need more information, check this link and of course, I suggest you read the contents ralted to it, to understand what's happening.
Hope it is helpful :)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With