There is one particular endpoint which we can use to expose custom information from our application. This information will be exposed to /info endpoint.
To configure that, we can use the application.yaml file and put the desired information respecting the pattern, as follows:
info: project: "twitter-gathering" kotlin: @kotlin.version@
Thr desired properties must be preceded by the info. *. Then, we can test our first actuator endpoint and check our /info resource.
Let's try to access the http://localhost:8081/info. The information filled on application.yaml should be displayed, as shown here:
As we can see, ...