'Spring Boot Actuator - Get your own /info data

Is there a way to get your own /info response from the service?

I am having one service that is exposed to frontend and I would like to aggregate /info responses from all of the internal services, and also add my own.

However, the only option to get my own data is to call myself ... And I would like to avoid that unnecessary HTTP call to my own service.

Can I somehow dig that information from some kind of actuator bean?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source