CN110569172A - performance monitoring system of service level - Google Patents
performance monitoring system of service level Download PDFInfo
- Publication number
- CN110569172A CN110569172A CN201910858027.7A CN201910858027A CN110569172A CN 110569172 A CN110569172 A CN 110569172A CN 201910858027 A CN201910858027 A CN 201910858027A CN 110569172 A CN110569172 A CN 110569172A
- Authority
- CN
- China
- Prior art keywords
- module
- class file
- service request
- component
- probe
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3003—Monitoring arrangements specially adapted to the computing system or computing system component being monitored
- G06F11/3024—Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is a central processing unit [CPU]
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3003—Monitoring arrangements specially adapted to the computing system or computing system component being monitored
- G06F11/3037—Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is a memory, e.g. virtual memory, cache
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
- H04L41/0631—Management of faults, events, alarms or notifications using root cause analysis; using analysis of correlation between notifications, alarms or events based on decision criteria, e.g. hierarchy, tree or time analysis
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/60—Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
Landscapes
- Engineering & Computer Science (AREA)
- Computing Systems (AREA)
- Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mathematical Physics (AREA)
- Quality & Reliability (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Debugging And Monitoring (AREA)
Abstract
The invention discloses a performance monitoring system of a service level, which intercepts a Class file of a Class file loading module through a JavaAgent interceptor, then sends the Class file to a probe module, the probe module modifies the Class file according to a service request data message sent by a service request module to obtain a code requesting monitoring data, the code requesting monitoring data is operated by using a Class file operation module to obtain an operation result, then a collector module is used for receiving the operation result, if the collector detects that a data channel of a detection module outputs data, the operation result is deserialized to obtain monitoring data and probe parameters, and the monitoring data are classified through the probe parameters. The problem that in the prior art, the abnormity cannot be traced back and traced, and operation and maintenance personnel cannot know which service request causes the abnormity and which user initiates the service request is solved.
Description
Technical Field
The invention relates to a performance monitoring system of a service level, belonging to the technical field of computers.
Background
at present, the common APM probes on the market are biased to the performance index capture of the bottom operating environment of a service system. Such as the CPU, memory, disk occupancy rates of the server, the performance of the business method, the SQL execution status, and the service call stack information. Due to mutual independence between indexes, the captured data lack correlation and means for classifying and summarizing according to the service monitoring scene is lacked. For example, when a service request is abnormal, a common APM probe may capture server abnormal information, SQL abnormal information, and stack abnormal information. However, because the indexes are independent from each other, the abnormality cannot be traced back and traced, so the operation and maintenance personnel do not know which service request the abnormality is caused by or which user initiates the service request.
Disclosure of Invention
the technical problem to be solved by the invention is as follows: a service-level performance monitoring system is provided to overcome the deficiencies of the prior art.
the technical scheme of the invention is as follows: a service-level performance monitoring system, the monitoring system comprising:
the device comprises a Class file loading module, a Class file loading module and a Class file loading module, wherein the Class file loading module is used for loading Class files;
the detection device comprises a JavaAgent interceptor, a probe module and a detection module, wherein the JavaAgent interceptor is used for intercepting a Class file of the Class file loading module and sending the Class file to the probe module, and the JavaAgent interceptor is electrically connected with the Class file loading module;
The service request module receives a user service request, converts the user service request into a service request data message and sends the service request data message to the probe module, and the service request module is electrically connected with the probe module;
The probe module receives the Class file sent by the JavaAgent interceptor and the service request data message sent by the service request module, modifies the Class file according to the service request data message, reloads the modified Class file, and sends the modified Class file to the Class file operation module, and the probe module is electrically connected with the JavaAgent interceptor;
the Class file operation module receives the modified Class file sent by the probe module, operates the modified Class file, and sends an operation result of the modified Class file to the collector module, and the Class file operation module is electrically connected with the probe module;
the collector module receives the operation result of the Class file after the Class file operation module operates and modifies, monitors a channel for sending data by the probe module, deserializes the operation result to obtain monitoring data and probe parameters if the collector module monitors that the channel for sending data by the probe module has data, classifies the monitoring data according to the probe parameters, and is electrically connected with the Class file operation module.
the probe module includes:
the HTTP message intercepting component is used for receiving a service request data message of a service request module;
the initialization component receives the service request data message sent by the HTTP message interception component, initializes the service request data message, sends the service request data message to the monitoring data loading component and is electrically connected with the HTTP message interception component;
The monitoring data loading component receives the service request data message sent by the initialization component, loads the service request data message, sends the service request data message to the serialization component and is electrically connected with the initialization component;
The serialization component receives the service request data message sent by the monitoring data loading component, serializes the service request data message, sends the service request data message to the collector component matching block and is electrically connected with the monitoring data loading component;
The collector configuration component receives the service request data message sent by the serialization component, loads the configuration information of the collector module, sends the service request data message to the monitoring data sending component and is electrically connected with the serialization component;
and the monitoring data sending component receives the service request data message sent by the collector configuration component, sends the service request data message to the collector module, and is electrically connected with the collector configuration component.
the collector module includes:
The monitoring component monitors a channel for sending data by the probe module, and if the collector module monitors that the channel for sending data by the probe module has data, the monitoring component receives the operation result of the modified Class file operated by the Class file operation module, sends the operation result of the modified Class file to the deserialization component and is electrically connected with the Class file operation module;
the deserializing component receives the operation result of the modified Class file sent by the monitoring component, deserializes the operation result of the modified Class file to obtain monitoring data and probe parameters, and is electrically connected with the monitoring component;
and the classification component receives the monitoring data and the probe parameters output by the deserialization component, classifies the monitoring data according to the probe parameters, and is electrically connected with the deserialization component.
The invention has the beneficial effects that: the invention intercepts the Class file of the Class file loading module through a JavaAgent interceptor, then sends the Class file to a probe module, the probe module modifies the Class file according to a service request data message sent by the service request module to obtain a code requesting monitoring data, the code requesting monitoring data is operated by using a Class file operation module to obtain an operation result, then a collector module is used for receiving the operation result, if the collector detects that a data channel of the detection module has data output, the operation result is deserialized to obtain monitoring data and probe parameters, the monitoring data are classified through the probe parameters, and the obtained monitoring data are related to each other because the probe parameters contain user information and service information, so that the monitoring data are not isolated and trivial, and operation and maintenance personnel can conveniently backtrack and trace the abnormity.
Drawings
FIG. 1 is a structural framework diagram of an embodiment of the present invention.
Detailed Description
The technical scheme in the embodiment of the invention has the following general idea:
referring to fig. 1, a service-level performance monitoring system, the monitoring system comprising: the device comprises a Class file loading module, a Class file loading module and a Class file loading module, wherein the Class file loading module is used for loading Class files; the detection device comprises a JavaAgent interceptor, a probe module and a detection module, wherein the JavaAgent interceptor is used for intercepting a Class file of the Class file loading module and sending the Class file to the probe module, and the JavaAgent interceptor is electrically connected with the Class file loading module; the service request module receives a user service request, converts the user service request into a service request data message and sends the service request data message to the probe module, and the service request module is electrically connected with the probe module; the probe module receives the Class file sent by the JavaAgent interceptor and the service request data message sent by the service request module, modifies the Class file according to the service request data message, reloads the modified Class file, and sends the modified Class file to the Class file operation module, and the probe module is electrically connected with the JavaAgent interceptor; the Class file operation module receives the modified Class file sent by the probe module, operates the modified Class file, and sends an operation result of the modified Class file to the collector module, and the Class file operation module is electrically connected with the probe module; the collector module receives the operation result of the Class file after the Class file operation module operates and modifies, monitors a channel for sending data by the probe module, deserializes the operation result to obtain monitoring data and probe parameters if the collector module monitors that the channel for sending data by the probe module has data, classifies the monitoring data according to the probe parameters, and is electrically connected with the Class file operation module.
The invention intercepts the Class file of the Class file loading module through a JavaAgent interceptor, then sends the Class file to a probe module, the probe module modifies the Class file according to a service request data message sent by the service request module to obtain a code requesting monitoring data, the code requesting monitoring data is operated by using a Class file operation module to obtain an operation result, then a collector module is used for receiving the operation result, if the collector detects that a data channel of the detection module has data output, the operation result is deserialized to obtain monitoring data and probe parameters, the monitoring data are classified through the probe parameters, and the obtained monitoring data are related to each other because the probe parameters contain user information and service information, so that the monitoring data are not isolated and trivial, and operation and maintenance personnel can conveniently backtrack and trace the abnormity.
the probe module includes: the HTTP message intercepting component is used for receiving a service request data message of a service request module; the initialization component receives the service request data message sent by the HTTP message interception component, initializes the service request data message, sends the service request data message to the monitoring data loading component and is electrically connected with the HTTP message interception component; the monitoring data loading component receives the service request data message sent by the initialization component, loads the service request data message, sends the service request data message to the serialization component and is electrically connected with the initialization component; the serialization component receives the service request data message sent by the monitoring data loading component, serializes the service request data message, sends the service request data message to the collector component matching block and is electrically connected with the monitoring data loading component; the collector configuration component receives the service request data message sent by the serialization component, loads the configuration information of the collector module, sends the service request data message to the monitoring data sending component and is electrically connected with the serialization component; and the monitoring data sending component receives the service request data message sent by the collector configuration component, sends the service request data message to the collector module, and is electrically connected with the collector configuration component.
the collector module includes: the monitoring component monitors a channel for sending data by the probe module, and if the collector module monitors that the channel for sending data by the probe module has data, the monitoring component receives the operation result of the modified Class file operated by the Class file operation module, sends the operation result of the modified Class file to the deserialization component and is electrically connected with the Class file operation module; the deserializing component receives the operation result of the modified Class file sent by the monitoring component, deserializes the operation result of the modified Class file to obtain monitoring data and probe parameters, and is electrically connected with the monitoring component; and the classification component receives the monitoring data and the probe parameters output by the deserialization component, classifies the monitoring data according to the probe parameters, and is electrically connected with the deserialization component.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, hard disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable medium that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable medium produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
these computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The foregoing is a more detailed description of the invention in connection with specific preferred embodiments and it is not intended that the invention be limited to these specific details. For those skilled in the art to which the invention pertains, several simple deductions or substitutions can be made without departing from the spirit of the invention, and all shall be considered as belonging to the protection scope of the invention.
Claims (3)
1. a service-level performance monitoring system, the monitoring system comprising:
The device comprises a Class file loading module, a Class file loading module and a Class file loading module, wherein the Class file loading module is used for loading Class files;
the detection device comprises a JavaAgent interceptor, a probe module and a detection module, wherein the JavaAgent interceptor is used for intercepting a Class file of the Class file loading module and sending the Class file to the probe module, and the JavaAgent interceptor is electrically connected with the Class file loading module;
the service request module receives a user service request, converts the user service request into a service request data message and sends the service request data message to the probe module, and the service request module is electrically connected with the probe module;
The probe module receives the Class file sent by the JavaAgent interceptor and the service request data message sent by the service request module, modifies the Class file according to the service request data message, reloads the modified Class file, and sends the modified Class file to the Class file operation module, and the probe module is electrically connected with the JavaAgent interceptor;
the Class file operation module receives the modified Class file sent by the probe module, operates the modified Class file, and sends an operation result of the modified Class file to the collector module, and the Class file operation module is electrically connected with the probe module;
The collector module receives the operation result of the Class file after the Class file operation module operates and modifies, monitors a channel for sending data by the probe module, deserializes the operation result to obtain monitoring data and probe parameters if the collector module monitors that the channel for sending data by the probe module has data, classifies the monitoring data according to the probe parameters, and is electrically connected with the Class file operation module.
2. The service-level performance monitoring system of claim 1,
the probe module includes:
the HTTP message intercepting component is used for receiving a service request data message of a service request module;
The initialization component receives the service request data message sent by the HTTP message interception component, initializes the service request data message, sends the service request data message to the monitoring data loading component and is electrically connected with the HTTP message interception component;
the monitoring data loading component receives the service request data message sent by the initialization component, loads the service request data message, sends the service request data message to the serialization component and is electrically connected with the initialization component;
the serialization component receives the service request data message sent by the monitoring data loading component, serializes the service request data message, sends the service request data message to the collector component matching block and is electrically connected with the monitoring data loading component;
The collector configuration component receives the service request data message sent by the serialization component, loads the configuration information of the collector module, sends the service request data message to the monitoring data sending component and is electrically connected with the serialization component;
And the monitoring data sending component receives the service request data message sent by the collector configuration component, sends the service request data message to the collector module, and is electrically connected with the collector configuration component.
3. the service-level performance monitoring system of claim 1,
The collector module includes:
The monitoring component monitors a channel for sending data by the probe module, and if the collector module monitors that the channel for sending data by the probe module has data, the monitoring component receives the operation result of the modified Class file operated by the Class file operation module, sends the operation result of the modified Class file to the deserialization component and is electrically connected with the Class file operation module;
the deserializing component receives the operation result of the modified Class file sent by the monitoring component, deserializes the operation result of the modified Class file to obtain monitoring data and probe parameters, and is electrically connected with the monitoring component;
and the classification component receives the monitoring data and the probe parameters output by the deserialization component, classifies the monitoring data according to the probe parameters, and is electrically connected with the deserialization component.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910858027.7A CN110569172B (en) | 2019-09-11 | 2019-09-11 | Performance monitoring system of service level |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910858027.7A CN110569172B (en) | 2019-09-11 | 2019-09-11 | Performance monitoring system of service level |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110569172A true CN110569172A (en) | 2019-12-13 |
CN110569172B CN110569172B (en) | 2023-04-07 |
Family
ID=68779148
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910858027.7A Active CN110569172B (en) | 2019-09-11 | 2019-09-11 | Performance monitoring system of service level |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110569172B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114489838A (en) * | 2022-01-11 | 2022-05-13 | 江苏京玉信息技术有限公司 | Method, device and storage medium for intercepting HTTP server data |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101604268A (en) * | 2009-07-13 | 2009-12-16 | 浪潮电子信息产业股份有限公司 | A kind of method for filtering monitored directory change events |
US20100088404A1 (en) * | 2008-10-03 | 2010-04-08 | Ramesh Mani | Monitoring related content requests |
CN107632920A (en) * | 2017-09-16 | 2018-01-26 | 广西电网有限责任公司电力科学研究院 | A kind of power transmission and transforming equipment monitoring device deep monitored method |
CN109413097A (en) * | 2018-11-30 | 2019-03-01 | 深信服科技股份有限公司 | A kind of lawless exterior joint detecting method, device, equipment and storage medium |
CN109753499A (en) * | 2018-12-17 | 2019-05-14 | 云南电网有限责任公司信息中心 | A kind of O&M monitoring data administering method |
CN109814808A (en) * | 2018-12-29 | 2019-05-28 | 国网山东省电力公司博兴县供电公司 | A kind of power monitoring data-link processing method and system |
CN109862074A (en) * | 2018-12-29 | 2019-06-07 | 医渡云(北京)技术有限公司 | A kind of collecting method, device, readable medium and electronic equipment |
CN109871320A (en) * | 2019-01-21 | 2019-06-11 | 上海德启信息科技有限公司 | A kind of data processing method, device, application server and storage medium |
CN110083436A (en) * | 2019-05-14 | 2019-08-02 | 上海理想信息产业(集团)有限公司 | A kind of business datum real-time monitoring system and method based on Java bytecode enhancing technology |
-
2019
- 2019-09-11 CN CN201910858027.7A patent/CN110569172B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100088404A1 (en) * | 2008-10-03 | 2010-04-08 | Ramesh Mani | Monitoring related content requests |
CN101604268A (en) * | 2009-07-13 | 2009-12-16 | 浪潮电子信息产业股份有限公司 | A kind of method for filtering monitored directory change events |
CN107632920A (en) * | 2017-09-16 | 2018-01-26 | 广西电网有限责任公司电力科学研究院 | A kind of power transmission and transforming equipment monitoring device deep monitored method |
CN109413097A (en) * | 2018-11-30 | 2019-03-01 | 深信服科技股份有限公司 | A kind of lawless exterior joint detecting method, device, equipment and storage medium |
CN109753499A (en) * | 2018-12-17 | 2019-05-14 | 云南电网有限责任公司信息中心 | A kind of O&M monitoring data administering method |
CN109814808A (en) * | 2018-12-29 | 2019-05-28 | 国网山东省电力公司博兴县供电公司 | A kind of power monitoring data-link processing method and system |
CN109862074A (en) * | 2018-12-29 | 2019-06-07 | 医渡云(北京)技术有限公司 | A kind of collecting method, device, readable medium and electronic equipment |
CN109871320A (en) * | 2019-01-21 | 2019-06-11 | 上海德启信息科技有限公司 | A kind of data processing method, device, application server and storage medium |
CN110083436A (en) * | 2019-05-14 | 2019-08-02 | 上海理想信息产业(集团)有限公司 | A kind of business datum real-time monitoring system and method based on Java bytecode enhancing technology |
Non-Patent Citations (1)
Title |
---|
袁鑫晨等: "基于程序分析的分布式应用自动化追踪方法", 《计算机系统应用》 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114489838A (en) * | 2022-01-11 | 2022-05-13 | 江苏京玉信息技术有限公司 | Method, device and storage medium for intercepting HTTP server data |
Also Published As
Publication number | Publication date |
---|---|
CN110569172B (en) | 2023-04-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2021129367A1 (en) | Method and apparatus for monitoring distributed storage system | |
TWI564732B (en) | A method and apparatus for monitoring user requests to run in a decentralized system | |
WO2021051531A1 (en) | Method and apparatus for processing multi-cluster job record, and device and storage medium | |
CN107544832B (en) | Method, device and system for monitoring process of virtual machine | |
WO2018120721A1 (en) | Method and system for testing user interface, electronic device, and computer readable storage medium | |
CN111046011B (en) | Log collection method, system, device, electronic equipment and readable storage medium | |
CN110175451A (en) | A kind of method for safety monitoring and system based on electric power cloud | |
EP3213193B1 (en) | Monitoring and correlating a binary process in a distributed business transaction | |
CN108241580B (en) | Client program testing method and terminal | |
CN102135932A (en) | Monitoring system and monitoring method thereof | |
US11093312B2 (en) | System for monitoring a plurality of distributed devices | |
EP3552107B1 (en) | Device driver telemetry | |
US20230004478A1 (en) | Systems and methods of continuous stack trace collection to monitor an application on a server and resolve an application incident | |
US9727394B2 (en) | Establishing causality order of computer trace records | |
CN110569172B (en) | Performance monitoring system of service level | |
CN112995337B (en) | High-performance processor chip-based high-performance Internet of things hardware platform and method | |
JP2013171542A (en) | Performance analysis device, method for analyzing performance, and performance analysis program | |
US10853509B2 (en) | Error detection of data leakage in a data processing system | |
CN114895879B (en) | Management system design scheme determining method, device, equipment and storage medium | |
CN116582310A (en) | Block chain system anomaly detection method, device, terminal and storage medium | |
US10467082B2 (en) | Device driver verification | |
CN112131180B (en) | Data reporting method, device and storage medium | |
US11296868B1 (en) | Methods and system for combating cyber threats using a related object sequence hash | |
CN114048467A (en) | Model data processing method, device, equipment and storage medium based on intrusion detection system | |
CN112685252A (en) | Micro-service monitoring method, device, equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |