Spring Boot, Actuator.
personStatus = new HashMap<>(); personStatus.put(“People count”, personService.getPeopleCount()); personStatus.put(“Male population”, personService.getMalePopulationCount()); personStatus.put(“Female population”, personService.getFemalePopulationCount()); builder.withDetail(“personStatus”,