An API service intelligent monitoring system and method
An intelligent monitoring system and API service technology, applied in hardware monitoring, healthcare resources or facilities, instruments, etc., can solve the problem of high code intrusion
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0042] Such as figure 1 As shown, an API service intelligent monitoring system includes a Web indicator configuration module 100 , an Aop interception module 110 , a log real-time analysis module 120 and an alarm push module 130 .
[0043] The Web indicator configuration module 100 is used to configure information to be monitored. The information to be monitored includes indicators, threshold expressions, thresholds, API service addresses, alarm push methods, alarm responsible persons, and at least one type of information during peak hours. After the configuration is complete, the configuration information will be stored in the Redis cache server.
[0044] The Aop interception module 110 is used for intercepting the method service of the Controller layer through the encapsulated SDK and encapsulating the log in Json format. Used to monitor services in classes annotated with @Controller and @RestController.
[0045] The log real-time analysis module 120 uses Spark technology...
Embodiment 2
[0048] Such as figure 2As shown, step 200 is executed to start API service intelligent monitoring. Step 210 is executed to configure the information to be monitored on the Web page, and the configuration information will be stored in the Redis cache server after the configuration is completed. The information to be monitored includes indicators, threshold expressions, thresholds, API service addresses, alarm push methods, alarm responsible persons, and at least one type of information during peak hours. Step 220 is executed, the Aop-encapsulated SDK intercepts the method services of the Controller layer and encapsulates them into logs in Json format, and monitors the services in the classes annotated with @Controller and @RestController. The log includes at least one of the service method URL, log status, start time, end time, host IP, log content, and system name. After recoding and compression, the log is sent to the Kafka message middleware in real time through Logback vi...
Embodiment 3
[0050] The invention can improve the stability and safety of the application system operation. Able to intercept the method service output of the Controller layer through AOP. The logback plug-in is used to transmit the log frame of the Fulme cluster to the Kafka message middleware in real time. The Spark cluster receives the Kafka message and analyzes in real time whether it is abnormal and the service call time (seconds). Through SMS , email, WeChat and other channels to the relevant responsible persons. It can be predicted and solved in advance, which can reduce the probability of unavailability of the application system.
[0051] The technical framework of the present invention consists of Sping AOP+Logback+Flume+Kafka+Spark. The present invention is mainly divided into four modules: an AOP interception module, a log real-time analysis module, an alarm push module and a Web index configuration module, and each system uses the Http protocol or message middleware for intera...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com