[Episode 50] Spring Boot Actuator

Опубликовано: 13 Октябрь 2024
на канале: Bingyang Wei
764
25

🔗 GitHub: https://github.com/Washingtonwei/hogw...
🔗 Spring Boot Actuator document: https://docs.spring.io/spring-boot/do...
🔗 Git commit to handle the "API endpoint not found exception": https://github.com/Washingtonwei/hogw...
🔗 Setting up Spring DevTools Automatic Restart in IntelliJ: https://docs.google.com/document/d/1b...
🔗 Auto-configured Health Indicators: https://docs.spring.io/spring-boot/do...
🔗 Supported metrics and meters: https://docs.spring.io/spring-boot/do...
🔗 Spring Boot 3.2 release notes: https://github.com/spring-projects/sp...

In the last few videos, we deployed our Spring Boot application to Microsoft Azure. Are we done? What if the database is offline? What if the spring boot application is down? What if the application's performance degrades?

The developers and the site reliability engineers need to be alerted when such things happen. Being able to gain insight into the deployed application is really important. The developers can then quickly take action to resolve those problems. In this video, I will introduce Spring Boot Actuator, which can help us monitor and interact with the application in production, gather various metrics, and understand traffic.

0:00:00 Introduction
0:04:49 Demonstrating Spring Boot Actuator on the production site
0:08:26 Adding Spring Boot Actuator dependency in the project
0:20:01 /health endpoint
0:31:32 /info endpoint
0:42:08 /metrics endpoint
1:00:51 /env endpoint
1:03:46 /beans endpoint
1:04:52 /configprops endpoint
1:07:20 /heapdump endpoint
1:08:14 /httpexchanges endpoint
1:11:23 /loggers endpoint
1:13:53 /mappings endpoint
1:15:12 Implementing custom actuator endpoint
1:20:39 Securing the endpoints with Spring Security
1:23:52 Deploying a Spring Boot application to Azure
1:28:22 Testing the staging site
1:29:24 Swapping the staging and production site
1:30:25 Synchronizing the local main branch
1:30:56 Summary

This video belongs to a playlist "Learn Spring Boot 3 with Bingyang":    • Learn Spring Boot 3 with Bingyang  

I don't want to make a super long video so I split it into smaller ones. If you want to learn Spring Boot 3 systematically, please visit the playlist (and save the playlist) for more Spring Boot 3 tutorials.

Feel free to leave a comment if you have any questions.

As always, thanks for watching, and happy learning!