CN110569172B - Performance monitoring system of service level - Google Patents

Performance monitoring system of service level Download PDF

Info

Publication number
CN110569172B
CN110569172B CN201910858027.7A CN201910858027A CN110569172B CN 110569172 B CN110569172 B CN 110569172B CN 201910858027 A CN201910858027 A CN 201910858027A CN 110569172 B CN110569172 B CN 110569172B
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.)
Active
Application number
CN201910858027.7A
Other languages
Chinese (zh)
Other versions
CN110569172A (en
Inventor
吴方权
汪浩
周玲
汤成佳
卢仁猛
廖臣
舒彧
付鋆
黄渊军
李洵
杨松
王鹏
万欣欣
李文科
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guizhou Power Grid Co Ltd
Original Assignee
Guizhou Power Grid Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Guizhou Power Grid Co Ltd filed Critical Guizhou Power Grid Co Ltd
Priority to CN201910858027.7A priority Critical patent/CN110569172B/en
Publication of CN110569172A publication Critical patent/CN110569172A/en
Application granted granted Critical
Publication of CN110569172B publication Critical patent/CN110569172B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/3024Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is a central processing unit [CPU]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/3037Monitoring 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0631Management 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling 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 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, 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

Performance monitoring system of service level
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 indicators are independent from each other, the anomaly cannot be traced back and traced, and therefore the operation and maintenance personnel do not know whether the anomaly is caused by which service request or which service request initiated by which user.
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 intercepting 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 intercepting 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 beneficial effects of the invention are: 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 file processing 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 has been 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 further detailed description of the invention in connection with specific preferred embodiments and it is not intended to limit the invention to the specific embodiments described. For those skilled in the art to which the invention pertains, numerous simple deductions or substitutions may be made without departing from the spirit of the invention, which shall be deemed to belong to the scope of the invention.

Claims (2)

1. A business-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 a Class file sent by a JavaAgent interceptor and a 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 a 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.
2. 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.
CN201910858027.7A 2019-09-11 2019-09-11 Performance monitoring system of service level Active CN110569172B (en)

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 CN110569172A (en) 2019-12-13
CN110569172B true 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)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
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 (8)

* Cited by examiner, † Cited by third party
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
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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7953850B2 (en) * 2008-10-03 2011-05-31 Computer Associates Think, Inc. Monitoring related content requests

Patent Citations (8)

* Cited by examiner, † Cited by third party
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
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)

* Cited by examiner, † Cited by third party
Title
基于程序分析的分布式应用自动化追踪方法;袁鑫晨等;《计算机系统应用》;20161115;第25卷(第11期);35-40 *

Also Published As

Publication number Publication date
CN110569172A (en) 2019-12-13

Similar Documents

Publication Publication Date Title
WO2021129367A1 (en) Method and apparatus for monitoring distributed storage 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
CN104954189A (en) Automatic server cluster detecting method and system
CN105207806A (en) Monitoring method and apparatus of distributed service
CN110175451A (en) A kind of method for safety monitoring and system based on electric power cloud
CN101923617A (en) Cloud-based sample database dynamic maintaining method
US20200341868A1 (en) System and Method for Reactive Log Spooling
EP3213193B1 (en) Monitoring and correlating a binary process in a distributed business transaction
CN102135932A (en) Monitoring system and monitoring method thereof
CN108241580B (en) Client program testing method and terminal
US8250138B2 (en) File transfer security system and method
CN110389933B (en) Inter-process log management method and device
US11093312B2 (en) System for monitoring a plurality of distributed devices
US9727394B2 (en) Establishing causality order of computer trace records
US10452459B2 (en) Device driver telemetry
CN110569172B (en) Performance monitoring system of service level
US10282239B2 (en) Monitoring method
JP2013171542A (en) Performance analysis device, method for analyzing performance, and performance analysis program
US11436323B2 (en) Detecting anomalies in software service usage activity
CN114895879B (en) Management system design scheme determining method, device, equipment and storage medium
US20230004478A1 (en) Systems and methods of continuous stack trace collection to monitor an application on a server and resolve an application incident
CN112131180B (en) Data reporting method, device and storage medium
CN113778709A (en) Interface calling method, device, server and storage medium
US8214846B1 (en) Method and system for threshold management

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