An Intelligent Monitoring Method for Microservices Oriented to Exception Propagation

A technology of intelligent monitoring and exception propagation, applied in the software field, can solve problems such as failure to consider exception propagation, failure to achieve application transparency, and low scalability

Active Publication Date: 2020-06-19
INST OF SOFTWARE - CHINESE ACAD OF SCI
View PDF8 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The monitoring fault diagnosis method based on metrics and logs is simple to implement, but it cannot reflect the overall state of the system and cannot track business flows. The level of fault location is usually service components. In complex microservice interaction relationships, administrators will spend a lot of time time to find and locate the problem; and the monitoring and diagnosis method based on distributed request tracing monitors the trace of the request through logs or embedded code as a reference for fault diagnosis, but the scalability of this method is low, and it cannot be applied to the application. Transparent, and does not take into account the problem of exception propagation

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
  • An Intelligent Monitoring Method for Microservices Oriented to Exception Propagation
  • An Intelligent Monitoring Method for Microservices Oriented to Exception Propagation

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0031] The present invention will be described in detail below in conjunction with specific implementation examples and accompanying drawings.

[0032] Such as figure 1 As shown, the abnormal propagation-oriented microservice fault diagnosis method proposed by the present invention includes the following steps, (1) deploying agents in each service instance to collect service call relationships and service measurement monitoring data, and persisting the data (2) In the cold start phase, based on the collected service call information, build a service call topology map, and build a Lasso regression model based on the collected measurement change data and the number of service interface calls; (3) in the service running stage, based on the built Lasso regression model to monitor whether the service is abnormal; (4) when the service is abnormal, find out the service that is most likely to cause the exception based on the PageRank algorithm, and locate the abnormal interface call i...

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 relates to a micro-service intelligent monitoring method for abnormal propagation, which comprises the following steps of: monitoring service calling information based on an agent technology, and establishing a micro-service calling topological graph to describe an abnormal propagation relationship among micro-services; a Lasso regression modeling interface is adopted to call correlation with measurement, and abnormal micro-service is detected by monitoring the change of a correlation model; based on the PageRank algorithm, the abnormal degree of the micro-service and the callinginterface of the micro-service is evaluated, transparent service monitoring is achieved, automatic metric value prediction is achieved to find abnormal service, and the abnormal degree of nodes in agraph is intelligently evaluated to detect the problem root cause.

Description

technical field [0001] The invention relates to a fault diagnosis method for a microservice software system, in particular to a microservice intelligent monitoring method for abnormal propagation, which belongs to the field of software technology. Background technique [0002] Monolithic architecture and SOA software architecture are commonly used by software companies. After more than ten years of development, software systems have become extremely complex, with low scalability and maintainability, and enterprises are burdened with heavy technical debt. Today's Internet competition is fierce, and user needs and market environments are constantly changing. In the face of today's Internet applications, the scalability and flexibility of traditional software architectures are obviously insufficient, while the cost of design, development, testing, and operation and maintenance is low. A significant increase. Therefore, the concept of microservice was proposed. Microservice is ...

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 Patents(China)
IPC IPC(8): G06F11/07G06F11/30G06F11/34
Inventor 王焘张文博薛晓东
Owner INST OF SOFTWARE - CHINESE ACAD OF SCI
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