Ready for Production with Spring Boot Actuator

所在平台: Udemy

课程主页: https://www.udemy.com/course/ready-for-production-with-spring-boot-actuator/

课程评论:没有评论

第一个写评论        关注课程

课程简介

课程名称:使用Spring Boot Actuator准备生产环境 课程概述:对于许多开发者而言,应用程序的生产环境运行通常是一个被忽视的环节。在大型企业中,开发者编写应用程序后,通常会将其交给其他团队,由他们将代码推广到QA环境,最终由运维团队将代码部署到生产环境。然而,这种“视而不见”的态度在当今的DevOps时代已不再适用。DevOps的兴起使开发与运维的联系更加紧密。 Spring Boot为Spring框架引入了大量功能,特别是Spring Boot Actuator,这一强大工具集为开发者提供了帮助运维监控应用程序的工具。Spring Boot Actuator专注于支持和监控在生产环境中运行的应用程序。对于运维人员而言,Spring Boot Actuator则是开发者在他们的Spring Boot项目中必须启用的工具集。 在随着行业向容器化微服务转型的背景下,自动化监控变得愈发重要。Spring Boot Actuator提供了即插即用的健康检查端点,能够轻松与容器编排工具(如Kubernetes或Open Shift)对接,从而触发警报或自动自愈。然而,Spring Boot Actuator的功能远不止于此。 在本课程中,您将学习到: - 可用的Spring Boot Actuator端点 - 如何编写自己的自定义端点 - 如何通过HTTP使用Spring MVC暴露端点 - Spring Boot Actuator提供的即插即用健康检查 - 如何编写自定义健康检查 - 如何在信息端点中展示Git提交信息 - 如何在信息端点中展示构建信息 - 如何查看系统健康指标(内存、缓存命中、磁盘使用等) - 如何添加指标以监控应用程序活动(页面浏览量或其他自定义操作) - 如何在运行时更改日志级别以帮助故障排除 当生产环境中出现问题时,了解正在运行的代码版本是非常关键的。使用Spring Boot Actuator,您可以轻松添加来自Git检查或Jenkins CI构建的信息,然后访问信息端点,从而确切知道生产环境中运行的是哪个版本的代码。此外,您将学习如何进入正在运行的应用程序,动态调整日志级别,以便获取更详细的日志输出。 对于在现代企业中部署Spring Boot应用程序的开发者而言,Spring Boot Actuator是不可或缺的工具。

课程评论(0条)

课程详情

For far too many developers, running an application in production is an after thought. In big enterprises, as a developer, you write an application and then turn it over to another team. Someone else promotes your code into QA and then the operations guys eventually take your code to production.Out of sight, out of mind right?Wrong. Not so much anymore. The age of DevOps has really brought developers and operations closer together.Spring Boot has introduced a tremendous amount of functionality to the Spring Framework. If you are building modern Spring Framework applications, you're probably already using Spring Boot.An awesome feature of Spring Boot is Spring Boot Actuator. If you're a developer, Spring Boot Actuator brings you a set of tools you want to be using to help people in operations monitor your application.Spring Boot Actuator is all about supporting and monitoring your application running production.If you're in operations, Spring Boot Actuator is a set of tools you want your developers to enable in their Spring Boot projects.Spring Boot Actuator is a set of tools for monitoring and managing Spring Boot Applications as they run in production.As the industry moves towards microservices deployed in containers, automated monitoring becomes more and more important.Out of the box Spring Boot Actuator provides a health endpoint which can easily be wired into container orchestration tools, such as Kubernetes or Open Shift, which can be used to trigger alerting or automated self-healing.But Spring Boot Actuator is much more than just a simple health endpoint.In this course you will learn:About the available Spring Boot Actuator endpoints.How you can write your own custom endpoints.How to use Spring MVC to expose endpoints via HTTP.About the out of the box health checks provided by Spring Boot Actuator.How to write your own custom health check.How to show Git commit information on the Information endpoint.How to show build information on the Information endpoint.How to see system health metrics (memory, cache hits, disk usage, etc)How to add metrics to see your application activity (page views, or other custom actions)How to change log levels at runtime to aid troubleshooting.When things go wrong in production, wouldn't it be nice to know exactly what version of your code is running?With Spring Boot Actuator, it's simple to add information from your Git checkin or your Jenkins CI build. Then, you can go to the information endpoint and know exactly what version of the code is running in production.As you troubleshoot a problem, sometimes you need to see more detailed log output. If you're running in production, your logging levels are probably turned down to keep the logging overhead at a minimum.What you need is a way to shell into your running application and change the log levels.In this course, you will see exactly how you can shell into your running application to adjust the log levels.If you're deploying Spring Boot applications in today's enterprise, Spring Boot Actuator is really a must have.

课程标签

0人关注该课程

主题相关的课程