I want to publish all info that is already on /actuator/health to /actuator/prometheus, since the /actuator/prometheus endpoint doesn't contain metrics about the disk space or LDAP/database availability. I found that one can make a DiskSpaceMetricsConfiguration class (https://www.ivankrizsan.se/2021/01/23/spring-boot-prometheus-disk-space-metrics), and that works, but I can't figure out how to do the same for app status, db status, and ldap status.
I'm using spring-boot 2.1.9, spring-boot-starter-actuator 2.5.1, and micrometer-registry-prometheus 1.2.1.