- Mastering Spring Boot 2.0
- Dinesh Rajput
- 307字
- 2021-06-25 21:29:12
Spring Boot Actuator
There are a lot of frameworks that provide tools for application development. But Spring Boot doesn't only provide application development-specific features; it also provides a post-production grade feature. This allows you to monitor your Spring application during production using HTTP endpoints or with JMX.
Spring Boot Actuator is the final key component of its building blocks. Other parts of Spring Boot's building blocks simplify Spring development; the Actuator instead offers the ability to inspect the internals of your application at runtime. The Actuator provides data on auditing, metrics, and the health of your Spring Boot application using HTTP endpoints or with JMX. It helps to you manage your application when it's pushed to production.
The Actuator installed in a Spring Boot application provides the following benefits:
- It provides details of all beans configured in the Spring application context
- Actuator also provides details about Spring Boot's auto-configuration
- It also ensures all environment variables, system properties, configuration properties, and command-line arguments are available to your application
- The Actuator gives various metrics pertaining to memory usage, garbage collection, web requests, and data source usage
- It provides a trace of recent HTTP requests handled by your application
- It also gives information about the current state of the threads in the Spring Boot application
Spring Boot Actuator provides the listed information in two ways:
- You could use web endpoints
- Or you could use it via a shell interface
We'll explore Spring Boot Actuator's capabilities in detail when we get to Chapter 3, Getting Started with Spring CLI and Actuator.
We have seen all the building blocks of Spring Boot. These blocks serve to simplify Spring application development in its own way.
Now, let's move to the next section of this chapter, and see how to set up a Spring Boot workspace to develop your first Spring Boot application.
- Word/Excel/PPT 2010入門與提高(超值版)
- Excel職場辦公:表格范例大全
- 和秋葉一起學(xué):秒懂Excel
- Keynote:超越PPT的蘋果商業(yè)幻燈片(第2版)
- 我的世界:Minecraft模組開發(fā)指南
- Word/Excel/ PPT 2010入門與提高
- 普通WPS Word規(guī)范排版公文格式
- Excel技術(shù)與應(yīng)用大全
- Word/Excel/PowerPoint 2013三合一辦公應(yīng)用
- Excel高手捷徑 一招鮮 吃遍天
- 大話PPT:幻燈片制作真經(jīng)
- 用圖表說話:Excel精美實(shí)用圖表大制作
- Word/Excel/PPT 2016辦公應(yīng)用從入門到精通
- 巧學(xué)活用Word
- Excel函數(shù)與公式速查手冊(第2版)