Serving Valuable App Details With /actuator/info
Learn how to get valuable application details such as components’ versions using /actuator/info.
We'll cover the following
Get components’ version details
The health of our application isn’t the only maintenance data that’s needed. Valuable information to include in deployed applications includes the versions of various components we used!
Imagine getting a call at 3:00 a.m. from one of our customers about something being broken. We then spend hours combing through tickets and commit logs, only to discover we fixed that exact problem two weeks ago. It looks like our customer is using an old version.
This is something that could have been solved upfront with a quick check of what’s actually deployed. With Spring Boot Actuator, we can embed details of our build file into our application.properties
with just a few lines:
Get hands-on with 1400+ tech skills courses.