Monitoring component extension method based on springboot actuator

An extension method and component technology, applied in the computer field, can solve problems such as inability to provide server health monitoring information for operation and maintenance personnel, lack of actuator monitoring information, and inability to provide real-time monitoring of server hardware information, etc.

Pending Publication Date: 2022-01-21
厦门南讯股份有限公司
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] At present, the actuator monitoring component provided by springboot can only detect the survival information of service components such as DB, Jedis, and Mq, and cannot provide real-time information on server hardware such as java virtual machine (Jvm), memory (Cpu), and disk space (DiskSpace). Monitoring, that is, the native actuator has the problem of lack of monitoring information. Therefore, it cannot provide complete server health monitoring information to operation and maintenance personnel, which is not conducive to the transparency of monitoring object information and the maintenance work of operation and maintenance personnel.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Monitoring component extension method based on springboot actuator
  • Monitoring component extension method based on springboot actuator
  • Monitoring component extension method based on springboot actuator

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0022] The monitoring component extension method based on springboot actuator, the method includes the following steps:

[0023] S1. Create a corresponding java information object according to the server hardware to be monitored, wherein the java information object includes attributes of the server hardware to be monitored; the server hardware to be monitored includes a java virtual machine, cpu, memory and disk space;

[0024] S2. Encapsulate each java information object respectively, and then encapsulate a summary object at the same level, the attributes of the summary object are each java information object, and the summary object also includes oshi assignment methods of all java information objects;

[0025] S3. Create an abstract class interface BaseHealthIndicator and its instantiation interface server, and successively create several information encapsulation class interfaces that inherit the abstract class interface;

[0026] S4, call the instantiated interface server ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a monitoring component extension method based on a springboot actuator. The method comprises the following steps: S1, creating a corresponding java information object according to server hardware to be monitored; S2, packaging each java information object, packaging a summary object at the same level, wherein the summary object further comprises an assignment method oshi of all the java information objects; S3, creating an abstract class interface BaseHealthIndicator and an instantiated interface server of the BaseHealthIndicator, and creating a plurality of information packaging class interfaces which inherit the abstract class interface in sequence; S4, assigning each java information object, obtaining monitoring data of server hardware to be monitored, and uploading the monitoring data to a cloud log platform; and S5, visualizing the monitoring data by using a front-end chart component echarts. According to the invention, on the basis of the action monitoring component provided by the springboot, server hardware information is acquired in real time by using the gihub open source component oshi, monitoring data supplementation is carried out on the action, a monitoring blind area is supplemented, more comprehensive system monitoring data is provided, and the problem of information loss of the action is solved.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a monitoring component extension method based on springboot actuator. Background technique [0002] At present, the actuator monitoring component provided by springboot can only detect the survival information of service components such as DB, Jedis, and Mq, and cannot provide real-time information on server hardware such as java virtual machine (Jvm), memory (Cpu), and disk space (DiskSpace). Monitoring, that is, the native actuator has the problem of lack of monitoring information. Therefore, it cannot provide complete server health monitoring information to operation and maintenance personnel, which is not conducive to the transparency of monitoring object information and the maintenance work of operation and maintenance personnel. Contents of the invention [0003] In order to solve the above problems, the present invention provides a monitoring component extension method...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F11/30
CPCG06F11/302G06F11/3051
Inventor 陈碧勇方敏申志奎
Owner 厦门南讯股份有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products