Learn how to configure the info endpoint.
- [Instructor] In an enterprise system where multiple teams…are creating multiple services…that are all calling each other,…information about who owns which service…becomes critical, very critical,…and this is the purpose…of the Spring Boot Actuator info endpoint.…So let's take a look at it.…Now, I'm gonna jump into my browser,…and we're gonna navigate to localhost:8080/actuator/info.…Now, you can see by default that we have no information here…in the info endpoint itself, so let's go ahead…and change what shows up here.…
So back in our IDE, I want you to go to Source, Main,…Resources, and go ahead and open up…our application.properties file.…Now, in here, we're gonna put a few values.…The first one that we're gonna do is info.team.name,…and we're gonna set that equal to LinkedIn Learning,…and then we're gonna set info.team.dev…and go ahead and put your name there.…
Now, just to show you a little bit…of the structure of the info endpoint,…I'm gonna add info.version,…I'm gonna set this equal to 1.0.0,…and we're gonna add one more,…
AuthorFrank P Moley III
- Creating a Spring Boot application
- Configuring a Spring Boot app
- Leveraging profiles
- Packaging and running Spring Boot web apps
- Building a command-line application
- Using Spring Boot starters: Spring Data, Spring Security, and more
- Extending Spring Boot
- Using Spring Boot Actuator to monitor app health and other metrics
Skill Level Intermediate
What you need to know4m 14s
1. Boot Camp
2. Web Applications with Spring Boot
3. Command-Line Applications with Spring Boot
4. Using Spring Boot Starters
5. Extending Spring Boot
6. Extending Actuator
Next steps3m 1s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.