CN110704277B - Method for monitoring application performance, related equipment and storage medium - Google Patents
Method for monitoring application performance, related equipment and storage medium Download PDFInfo
- Publication number
- CN110704277B CN110704277B CN201910929415.XA CN201910929415A CN110704277B CN 110704277 B CN110704277 B CN 110704277B CN 201910929415 A CN201910929415 A CN 201910929415A CN 110704277 B CN110704277 B CN 110704277B
- Authority
- CN
- China
- Prior art keywords
- data
- performance
- application
- probe
- layer
- 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
Links
Images
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/302—Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is a software system
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Engineering & Computer Science (AREA)
- Computing Systems (AREA)
- Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Mathematical Physics (AREA)
- Quality & Reliability (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Debugging And Monitoring (AREA)
Abstract
The embodiment of the application provides a method for monitoring application performance, related equipment and a storage medium, wherein the method is applied to an application resource management system, a probe is deployed on a monitoring point in a data layer, and a probe deployment strategy based on a rough set theory is provided; setting an acquisition strategy of the probe based on a probe deployment strategy, receiving an acquisition request at a data layer, and acquiring multiple items of performance data of the application system performance through the probe according to the acquisition request; performing service logic processing on the multiple items of performance data at a service layer to obtain multiple items of performance data after being subjected to service, and inputting the multiple items of performance data into an application layer; in an application layer, generating a plurality of performance indexes according to a plurality of items of performance data processed by a service layer according to different scenes and different service requirements of a user, generating a plurality of views from the plurality of performance indexes, displaying the plurality of views and setting application setting function icons on the plurality of views; the performance of the application resource management system is analyzed at the application level based on multiple views. The scheme can improve the operation efficiency and the monitoring quality of the information system.
Description
Technical Field
The embodiment of the application relates to the technical field of information technology, in particular to a method for monitoring application performance, related equipment and a storage medium.
Background
On the basis of rapid informatization development, all business processes of all circles of society need to be supported by an informatization system, business requirements are continuously increased, the informatization system for supporting the business is more and more complex, and the relevance to production, operation and management is more and more compact. The expansion development of an information system causes the information pressure to be larger and larger.
In the research and practice processes of the prior art, the inventor of the embodiment of the application finds that, on one hand, because the user access amount is continuously increased, the scale of an information system is required to be continuously expanded, a redundant architecture is built, and the bearing capacity and the reliability of the system are improved; on the other hand, the practical requirements of users on the information system are higher and higher, which results in the increase of the maintenance times of the information system such as defect repair and version upgrade. Therefore, the operation state of the information system needs to be monitored in a huge and complex system environment, so that the abnormality and the fault of the information system can be found in time, and the continuity of the service application can be ensured. However, currently, the application performance cannot be timely and effectively monitored, so that the service application is interrupted.
Disclosure of Invention
The embodiment of the application provides a method for monitoring application performance, related equipment and a storage medium, and can solve the technical problem that service application is interrupted due to the fact that the application performance cannot be timely and effectively monitored.
In a first aspect, an embodiment of the present application provides a method for monitoring application performance, where the method is applied to an application resource management system, where the application resource management system includes a data layer, a service layer, and an application layer; the method comprises the following steps:
deploying probes for the monitoring points on the data layer, and adopting a probe deployment strategy based on a rough set theory; setting an acquisition strategy of the probe based on the probe deployment strategy, wherein the acquisition strategy comprises a direct deployment mode and a bypass monitoring mode;
receiving an acquisition request at the data layer, and acquiring multiple items of performance data of the application system performance through a probe according to the acquisition request, wherein the multiple items of performance data comprise at least two of the following items: hardware state, snmpTrap data, syslog data, script monitoring data, machine room monitoring data, general log data, integrated data and custom data;
calling the multiple items of performance data acquired by the data layer at the service layer, performing service logic processing on the multiple items of performance data to obtain multiple items of performance data after being subjected to service, and inputting the multiple items of performance data into an application layer;
generating a plurality of performance indexes according to the performance data processed by the service layer at the application layer according to different scenes and different service requirements of a user, generating a plurality of views according to the performance indexes, displaying the plurality of views and setting application setting function icons on the plurality of views;
at the application layer, analyzing performance of the application resource management system based on the plurality of views.
In one possible design, the plurality of performance indicators includes at least two of:
response time, execution time, error rate, and quantization performance index.
In one possible design, the acquiring, by the probe, a plurality of performance data of the application system performance according to the acquisition request includes:
when the performance indexes lower than the threshold value in the switching threshold value table exist in the multiple performance indexes, switching the acquisition strategy of the probe to the bypass monitoring mode to acquire multiple performance data;
and when the performance indexes higher than the threshold value in the switching threshold value table exist in the multiple performance indexes, switching the acquisition strategy of the probe to the direct deployment mode, and acquiring detailed data by adopting the probe in the direct deployment mode.
In one possible design, after the rough set theory based probe deployment strategy, the method further comprises:
obtaining values of a plurality of attributes of the application resource management system monitored by the probe deployment strategy;
discretizing the values of the attributes of the application resource management system respectively;
and performing attribute selection and data sampling on the values of the attributes to obtain reduction expression of the values of the attributes, wherein the reduction expression is the optimized probe deployment strategy.
In a second aspect, an embodiment of the present application provides an apparatus for monitoring application performance, which has a function of implementing the method for monitoring application performance provided in the first aspect. The functions can be realized by hardware, and the functions can also be realized by executing corresponding software by hardware. The hardware or software includes one or more modules corresponding to the above functions, which may be software and/or hardware.
In one possible design, the device for monitoring application performance is applied to an application resource management system, and the application resource management system comprises a data layer, a service layer and an application layer; the device comprises:
the data processing module is used for deploying probes for the monitoring points on the data layer and is based on a probe deployment strategy of a rough set theory; setting an acquisition strategy of the probe based on the probe deployment strategy, wherein the acquisition strategy comprises a direct deployment mode and a bypass monitoring mode; receiving an acquisition request at the data layer;
an acquisition module, configured to acquire, through a probe, multiple items of performance data of the application system performance according to the acquisition request, where the multiple items of performance data include at least two of: hardware state, snmpTrap data, syslog data, script monitoring data, machine room monitoring data, general log data, integration data and custom data;
the application processing module is used for calling the multiple items of performance data acquired by the data layer at the service layer, performing service logic processing on the multiple items of performance data, obtaining the multiple items of performance data after being subjected to service and inputting the multiple items of performance data into the application layer; in the application layer, according to different scenes and different business requirements of a user, generating a plurality of performance indexes according to the performance data processed by the service layer, and generating a plurality of views by the performance indexes;
the display module is used for displaying the various views and setting application setting function icons on the various views;
the application processing module is further configured to analyze, at the application layer, performance of the application resource management system based on the plurality of views.
In one possible design, the plurality of performance indicators includes at least two of:
response time, execution time, error rate, and quantization performance index.
In one possible design, the acquisition module is specifically configured to:
when the performance indexes lower than the threshold value in the switching threshold value table exist in the multiple performance indexes, switching the acquisition strategy of the probe to the bypass monitoring mode to acquire multiple performance data;
and when the performance indexes higher than the threshold value in the switching threshold value table exist in the multiple performance indexes, switching the acquisition strategy of the probe to the direct deployment mode, and acquiring detailed data by adopting the probe in the direct deployment mode.
In one possible design, after the rough set theory based probe deployment strategy, the data processing module is further configured to:
obtaining values of a plurality of attributes of the application resource management system monitored by the probe deployment strategy;
discretizing the values of the attributes of the application resource management system respectively;
and performing attribute selection and data sampling on the values of the attributes to obtain reduction expression of the values of the attributes, wherein the reduction expression is the optimized probe deployment strategy.
In another aspect, a computer device is provided, which includes at least one connected processor, a memory, and an input/output unit, where the memory is used to store a computer program, and the processor is used to call the computer program in the memory to execute the method of the first aspect.
Yet another aspect of the embodiments of the present application provides a computer-readable storage medium, which includes instructions that, when executed on a computer, cause the computer to perform the method of the first aspect.
Compared with the prior art, in the scheme provided by the embodiment of the application, the probe deployment is carried out based on the rough set theory, the performance of core resources such as a host, a database and middleware is taken as the index, and the corresponding index threshold is set for each performance index to monitor the real-time health condition of the operation of the information system, so that the operation efficiency and the monitoring quality of the information system are improved, thereby providing system support for the operation and maintenance work flow and practically improving the stable operation and risk management level of the system. On the one hand, the safety requirement of the information system can be met, on the other hand, the intelligent monitoring and management of core resources of the information system can be realized, and the safety guarantee performance of the information system is improved for safe and stable operation of the information system.
Drawings
Fig. 1 is a schematic structural diagram of an application management system in an embodiment of the present application;
FIG. 2 is a schematic flow chart of a method for monitoring application performance according to an embodiment of the present application;
FIG. 3 is a schematic diagram of an information table according to an embodiment of the present application;
FIG. 4a is a schematic diagram illustrating values taken from a Server to a PluginServer in the embodiment of the present application;
FIG. 4b is a schematic diagram illustrating a value taken from a PluginServer to an Agent in the embodiment of the present application;
FIG. 5 is a diagram illustrating data collection thresholds and weight tables according to an embodiment of the present application;
FIG. 6 is a schematic structural diagram of an apparatus for monitoring application performance according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of a computer device according to an embodiment of the present application.
Detailed Description
The terms "first," "second," and the like in the description and in the claims of the embodiments of the application and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that the embodiments described herein may be practiced otherwise than as specifically illustrated or described herein. Furthermore, the terms "include" and "have", and any variations thereof, are intended to cover non-exclusive inclusions, such that a process, method, system, article, or apparatus that includes a list of steps or modules is not necessarily limited to those explicitly listed, but may include other steps or modules not explicitly listed or inherent to such process, method, article, or apparatus, such that partitioning of the modules as presented in an embodiment of the present application is merely a logical partitioning, and may be implemented in practice in other ways, such that multiple modules may be combined or integrated into another system, or some features may be omitted, or not implemented, and such that shown or discussed couplings or direct couplings or communicative connections between modules may be through interfaces, and such that indirect couplings or communicative connections between modules may be electrical or other similar forms, none of which are limiting in the present embodiment. Moreover, the modules or sub-modules described as separate components may or may not be physically separated, may or may not be physical modules, or may be distributed in a plurality of circuit modules, and some or all of the modules may be selected according to actual needs to achieve the purpose of the embodiments of the present application.
The embodiment of the application provides a method for monitoring application performance, related equipment and a storage medium, which can be used for an application management system, wherein the application management system is an information development platform based on web service resource management and adopting a B/S (browser/Server) architecture and J2 EE. As shown in fig. 1, an application management system schematic diagram is provided, and the application management system simplifies the development difficulty of the application management system and reduces the development and deployment costs on the basis of retaining the classic java ee application architecture, high maintainability and high extensibility.
The overall architecture of the system is based on a hierarchical design. The following are introduced separately:
the data layer is responsible for data acquisition; the service layer is responsible for carrying out business processing according to the acquired original data; the application layer is responsible for displaying and processing interactive services with the user.
And (3) a data layer: the data acquisition request issued by the service layer is received, the original data acquisition is carried out, the data in the environment is acquired in various modes, and the following data acquisition can be supported: 1. and (4) basic monitoring data. Including hosts, network devices, virtualization, storage, hardware, etc.; snmptrap data. Receiving SnmpTrap data actively sent by a device end; syslog data. Receiving log information actively sent by equipment; 4. the script monitors the data. Acquiring data information of a server by executing a script; 5. and monitoring data in the machine room. Collecting data information of equipment in a machine room; 6. general log data. Collecting data by reading third-party system logs; 7. integrating the data. Collecting data by integrating a third-party system; 8. and (4) self-defining data. The user can realize the customized development data acquisition through the universal interface according to the needs.
Before data acquisition, probes need to be deployed at monitoring points, and main indexes of the performance of the reaction application system are acquired through the probes. The system adopts a probe deployment strategy based on a rough set theory, realizes automatic switching of two acquisition strategies, namely a probe direct deployment mode and a bypass monitoring mode, reduces resource consumption while ensuring accurate positioning of system faults, and reduces the operating pressure of a monitoring system.
And (3) a service layer: and processing the service logic and the service request issued by the application layer, scheduling the data layer to carry out data acquisition work, and carrying out related service logic processing according to the original data acquired by the data layer. Each service processing module is responsible for realizing corresponding functions. The model processed data is provided to the application layer for use.
An application layer: and according to different scenes and different service requirements of the user, performing multiple view display according to the processed data provided by the service layer, and providing an application setting function.
Referring to fig. 2, a method for monitoring application performance provided by an embodiment of the present application is described below, where the method is applied to an application resource management system, where the application resource management system includes a data layer, a service layer, and an application layer; the embodiment of the application comprises the following steps:
201. and in the data layer, deploying a probe for a monitoring point, deploying a probe deployment strategy based on a rough set theory, and setting a probe acquisition strategy based on the probe deployment strategy.
Wherein the acquisition strategy comprises a direct deployment mode and a bypass monitoring mode.
202. And receiving an acquisition request at the data layer, and acquiring a plurality of items of performance data of the application system performance through a probe according to the acquisition request.
Wherein the plurality of items of performance data include at least two of: hardware state, snmpTrap data, syslog data, script monitoring data, machine room monitoring data, general log data, integration data and custom data.
In some embodiments, the acquiring, by the probe, a plurality of performance data of the application system performance according to the acquisition request includes:
when the performance indexes lower than the threshold value in the switching threshold value table exist in the multiple performance indexes, switching the acquisition strategy of the probe to the bypass monitoring mode to acquire multiple performance data;
and when the performance indexes higher than the threshold value in the switching threshold value table exist in the multiple performance indexes, switching the acquisition strategy of the probe to the direct deployment mode, and acquiring detailed data by adopting the probe in the direct deployment mode.
Therefore, by combining the two acquisition strategies for switching, the bottleneck that the performance of the application management system cannot be analyzed in the bypass monitoring mode can be overcome by using the direct deployment mode, and the defects that the acquired data volume is huge, more system resources are consumed, the pressure is brought to the operation of the monitoring system and the like in the direct deployment mode can be overcome by using the bypass monitoring mode.
203. And calling the multiple items of performance data acquired by the data layer at the service layer, performing service logic processing on the multiple items of performance data to obtain multiple items of performance data after being subjected to service, and inputting the multiple items of performance data into the application layer.
204. And generating a plurality of performance indexes according to the plurality of items of performance data processed by the service layer at the application layer according to different scenes and different service requirements of users, generating a plurality of views according to the plurality of performance indexes, displaying the plurality of views and setting application setting function icons on the plurality of views.
In some embodiments, the plurality of performance indicators includes at least two of:
response time, execution time, error rate, and quantization performance index. The performance index of each application management system includes its connotation and extension. To describe the connotation and the extension in detail, the concept of information tables is introduced here. An information table is a set of objects, which are described by a set of attributes, and an information representation intent is shown in fig. 3.
205. At the application layer, analyzing the performance of the application resource management system based on the multiple views.
Compared with the prior art, in the scheme provided by the embodiment of the application, probe deployment is performed based on a rough set theory, core resource performance such as a host, a database and middleware is used as an index, and a corresponding index threshold is set for each performance index to monitor the real-time health condition of the operation of the information system, so that the operation efficiency and the monitoring quality of the information system are improved, system support is provided for an operation and maintenance workflow, and the stable operation and risk management level of the system are practically improved. On the one hand, the safety requirement of the information system can be met, on the other hand, the intelligent monitoring and management of core resources of the information system can be realized, and the safety guarantee performance of the information system is improved for safe and stable operation of the information system.
Optionally, in some of the embodiments of the present application, probe deployment strategy robustness may also be optimized. Specifically, after the rough set theory based probe deployment strategy, the method further comprises:
obtaining values of a plurality of attributes of the application resource management system monitored by the probe deployment strategy;
discretizing the values of the attributes of the application resource management system respectively;
and performing attribute selection and data sampling on the values of the attributes to obtain reduction expression of the values of the attributes, wherein the reduction expression is the optimized probe deployment strategy.
Therefore, through the rough set theory, an initial information system monitored by the probe deployment strategy can be obtained, discretization processing is carried out on values of all attributes of the initial information system, and an optimized probe deployment strategy can be obtained after the attributes are reduced, so that the probe deployment strategy can be adaptively adjusted according to key indexes by the rough set theory, the problems of large data volume, high resource consumption and the like in a probe direct deployment mode are solved, the problems of incomplete acquired data, incapability of positioning performance bottleneck and the like in a probe-free (bypass monitoring) mode are solved, and the acquisition strategy is adaptively adjusted according to the system operation condition. The information system performance monitoring system based on the rough set theory realizes the monitoring of basic resources such as various hosts, network equipment, databases, middleware and the like of Linux, windows, HPUnix, AIX and the like, and various core business applications such as enterprise portals, financial management and the like.
For the convenience of understanding, taking fig. 4a and 4b as an example, referring to fig. 4a and 4b, the application management system operating environment is mainly divided into Portal, server, pluinServer and Agent. Each function module runs in different (Java virtual machine) according to the hierarchy in the overall mechanism, and each JVM performs unified management through an IOC (inversion of control) container. inter-JVM communication is remotely invoked via JMX. As shown in fig. 5, in the system operation data collected in the data layer, the main indicators reflecting the performance of the application system include the following: response time, between executions, error rate, quantization performance index (apdex). The main indexes are given different weights to various indexes, so that the influence of subjective factors can be eliminated to a great extent, and the relation between an application system and performance indexes is reflected more truly. However, as the performance index of the application system changes along with the change of the collected sample, the problem of huge data volume and large resource consumption can be caused by utilizing the probe direct deployment mode collection strategy; if a bypass monitoring mode acquisition strategy is utilized, the data acquisition is incomplete, and the system fault cannot be accurately positioned. Therefore, the self-adaptive probe deployment strategy based on the rough set theory is adopted in the embodiment of the application, so that the automatic switching of the acquisition strategy is realized.
The application management system of the embodiment of the application is based on the rough set theory, so that the monitoring of basic resources such as various hosts, network equipment, databases and middleware such as Linux, windows, HPUnix and AIX and various core service applications such as enterprise portals and financial management can be realized. After the application resource management system is deployed, the application management system can become an important platform for monitoring the performance of the core resource index of the information system. By full coverage, real-time monitoring and data analysis of the application resource management system, the use efficiency of various resources can be effectively promoted, various bottlenecks in resource operation can be found, and the resource monitoring and management of an information system can be standardized. The system adopts an early warning mechanism, can quickly and accurately analyze and locate the fault reason, improves the monitoring efficiency of the information system by 20 percent, effectively prevents the down of a service system server caused by untimely alarm handling of the basic components, and can lay a solid foundation for effectively improving the intelligent monitoring level.
Any technical features mentioned in the embodiments corresponding to fig. 1 to 5 are also applicable to the embodiments corresponding to fig. 2 and 3 in the embodiments of the present application, and the details of the subsequent similarities are not repeated.
In the above description, a method for monitoring application performance in this embodiment is described, and an apparatus for performing the method for monitoring application performance is described below.
Referring to fig. 6, a schematic structural diagram of an apparatus for monitoring application performance shown in fig. 6 is applicable to an application resource management system, where the application resource management system includes a data layer, a service layer, and an application layer. The application performance monitoring device in the embodiment of the present application can implement the steps corresponding to the method for monitoring application performance executed in the embodiment corresponding to fig. 1. The function realized by the application performance monitoring device can be realized by hardware, and can also be realized by executing corresponding software by hardware. The hardware or software includes one or more modules corresponding to the above functions, which may be software and/or hardware.
In some embodiments, the means for monitoring application performance comprises:
the data processing module is used for deploying probes for the monitoring points on the data layer and is based on a probe deployment strategy of a rough set theory; setting an acquisition strategy of the probe based on the probe deployment strategy, wherein the acquisition strategy comprises a direct deployment mode and a bypass monitoring mode; receiving an acquisition request at the data layer;
an acquisition module, configured to acquire, through a probe, multiple items of performance data of the application system performance according to the acquisition request, where the multiple items of performance data include at least two of: hardware state, snmpTrap data, syslog data, script monitoring data, machine room monitoring data, general log data, integrated data and custom data;
the application processing module is used for calling the multiple items of performance data acquired by the data layer at the service layer, performing service logic processing on the multiple items of performance data, obtaining multiple items of performance data after being subjected to service, and inputting the multiple items of performance data into the application layer; in the application layer, according to different scenes and different business requirements of a user, generating a plurality of performance indexes according to the performance data processed by the service layer, and generating a plurality of views by the performance indexes;
the display module is used for displaying the various views and setting application setting function icons on the various views;
the application processing module is further configured to analyze, at the application layer, performance of the application resource management system based on the plurality of views.
Compared with the prior art, in the scheme provided by the embodiment of the application, probe deployment is performed based on a rough set theory, core resource performance such as a host, a database and middleware is used as an index, and a corresponding index threshold is set for each performance index to monitor the real-time health condition of the operation of the information system, so that the operation efficiency and the monitoring quality of the information system are improved, system support is provided for an operation and maintenance workflow, and the stable operation and risk management level of the system are practically improved. On the one hand, the safety requirement of the information system can be met, on the other hand, the intelligent monitoring and management of core resources of the information system can be realized, and the safety guarantee performance of the information system is improved for safe and stable operation of the information system.
In some embodiments, the plurality of performance indicators includes at least two of:
response time, execution time, error rate, and quantization performance index.
In some embodiments, the acquisition module is specifically configured to:
when the performance indexes lower than the threshold value in the switching threshold value table exist in the multiple performance indexes, switching the acquisition strategy of the probe to the bypass monitoring mode to acquire multiple performance data;
and when the performance indexes higher than the threshold value in the switching threshold value table exist in the multiple performance indexes, switching the acquisition strategy of the probe to the direct deployment mode, and acquiring detailed data by adopting the probe in the direct deployment mode.
In some embodiments, after the rough set theory based probe deployment strategy, the data processing module is further configured to:
obtaining values of a plurality of attributes of the application resource management system monitored by the probe deployment strategy;
respectively carrying out discretization processing on values of a plurality of attributes of the application resource management system;
and performing attribute selection and data sampling on the values of the attributes to obtain reduction expression of the values of the attributes, wherein the reduction expression is the optimized probe deployment strategy.
The network authentication server and the terminal device in the embodiment of the present application are described above from the perspective of the modular functional entity, and the network authentication server and the terminal device in the embodiment of the present application are described below from the perspective of hardware processing. The device shown in fig. 6 may have a structure as shown in fig. 7, when the device shown in fig. 6 has a structure as shown in fig. 7, the processor and the transceiver in fig. 7 can implement the same or similar functions of the data processing module, the acquisition module, the display module and the application processing module provided in the device embodiment corresponding to the device, and the central storage in fig. 7 stores the computer program that the processor needs to call when executing the method for monitoring the application performance. In the embodiment shown in fig. 2 in this application, the entity device corresponding to the display module may be a display screen, and the entity device corresponding to the processing module (including the data processing module and the application processing module) may be a processor.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to the related descriptions of other embodiments.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the system, the apparatus and the module described above may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the embodiments of the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the modules is merely a logical division, and in actual implementation, there may be other divisions, for example, multiple modules or components may be combined or integrated into another system, or some features may be omitted, or not implemented. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or modules, and may be in an electrical, mechanical or other form.
The modules described as separate parts may or may not be physically separate, and parts displayed as modules may or may not be physical modules, may be located in one place, or may be distributed on a plurality of network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
In addition, functional modules in the embodiments of the present application may be integrated into one processing module, or each module may exist alone physically, or two or more modules are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may be stored in a computer readable storage medium.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product.
The computer program product includes one or more computer instructions. The procedures or functions described in accordance with the embodiments of the present application are generated in whole or in part when the computer program is loaded and executed on a computer. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website site, computer, server, or data center to another website site, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that a computer can store or a data storage device, such as a server, a data center, etc., that is integrated with one or more available media. The usable medium may be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid State Disk (SSD)), among others.
The technical solutions provided by the embodiments of the present application are introduced in detail, and the principles and implementations of the embodiments of the present application are explained by applying specific examples in the embodiments of the present application, and the descriptions of the embodiments are only used to help understanding the method and core ideas of the embodiments of the present application; meanwhile, for a person skilled in the art, according to the idea of the embodiment of the present application, there may be a change in the specific implementation and application scope, and in summary, the content of the present specification should not be construed as a limitation to the embodiment of the present application.
Claims (8)
1. The method for monitoring the application performance is characterized in that the method is applied to an application resource management system, and the application resource management system comprises a data layer, a service layer and an application layer; the method comprises the following steps:
deploying probes for the monitoring points on the data layer, and deploying the probes for the monitoring points based on a probe deployment strategy of a rough set theory; setting an acquisition strategy of the probe based on the probe deployment strategy, wherein the acquisition strategy comprises a direct deployment mode and a bypass monitoring mode;
receiving an acquisition request at the data layer, and acquiring multiple items of performance data of the application system performance through a probe according to the acquisition request, wherein the multiple items of performance data comprise at least two of the following items: hardware state, snmp Trap data, syslog data, script monitoring data, machine room monitoring data, general log data, integrated data and custom data;
calling the multiple items of performance data acquired by the data layer at the service layer, and performing service logic processing on the multiple items of performance data to obtain multiple items of performance data after being subjected to service and then inputting the multiple items of performance data into an application layer;
generating a plurality of performance indexes according to the plurality of items of performance data processed by the service layer at the application layer according to different scenes and different business requirements of a user, generating a plurality of views according to the plurality of performance indexes, displaying the plurality of views and setting application setting function icons on the plurality of views;
analyzing, at the application layer, performance of the application resource management system based on the plurality of views;
the acquisition request acquires multiple items of performance data of the application system performance through the probe, and comprises the following steps:
when the performance indexes lower than the threshold value in the switching threshold value table exist in the multiple performance indexes, switching the acquisition strategy of the probe to the bypass monitoring mode to acquire multiple performance data;
and when the performance indexes higher than the threshold value in the switching threshold value table exist in the multiple performance indexes, switching the acquisition strategy of the probe to the direct deployment mode, and acquiring detailed data by adopting the probe in the direct deployment mode.
2. The method of claim 1, wherein the plurality of performance indicators comprise at least two of:
response time, execution time, error rate, and quantization performance index.
3. The method according to any one of claims 1-2, wherein following the rough set theory based probe deployment strategy, the method further comprises:
obtaining values of a plurality of attributes of the application resource management system monitored by the probe deployment strategy;
respectively carrying out discretization processing on values of a plurality of attributes of the application resource management system;
and performing attribute selection and data sampling on the values of the attributes to obtain reduction expression of the values of the attributes, wherein the reduction expression is the optimized probe deployment strategy.
4. The device for monitoring the application performance is applied to an application resource management system, wherein the application resource management system comprises a data layer, a service layer and an application layer; the device comprises:
the data processing module is used for deploying probes for the monitoring points on the data layer and deploying the probes for the monitoring points based on a probe deployment strategy of a rough set theory; setting an acquisition strategy of the probe based on the probe deployment strategy, wherein the acquisition strategy comprises a direct deployment mode and a bypass monitoring mode; receiving an acquisition request at the data layer;
an acquisition module, configured to acquire, through a probe, multiple items of performance data of the application system performance according to the acquisition request, where the multiple items of performance data include at least two of: hardware state, snmp Trap data, syslog data, script monitoring data, machine room monitoring data, general log data, integrated data and custom data;
the application processing module is used for calling the multiple items of performance data acquired by the data layer at the service layer, performing service logic processing on the multiple items of performance data, obtaining the multiple items of performance data after being subjected to service and inputting the multiple items of performance data into the application layer; in the application layer, according to different scenes and different business requirements of a user, generating a plurality of performance indexes according to the performance data processed by the service layer, and generating a plurality of views by the performance indexes;
the display module is used for displaying the various views and setting application setting function icons on the various views;
the application processing module is further configured to analyze, at the application layer, performance of the application resource management system based on the plurality of views;
the acquisition module is specifically configured to:
when the performance indexes are lower than the threshold value in the switching threshold value table, switching the acquisition strategy of the probe to the bypass monitoring mode to acquire a plurality of performance data;
and when the performance indexes higher than the threshold value in the switching threshold value table exist in the multiple performance indexes, switching the acquisition strategy of the probe to the direct deployment mode, and acquiring detailed data by adopting the direct deployment mode of the probe.
5. The apparatus of claim 4, wherein the plurality of performance indicators comprise at least two of:
response time, execution time, error rate, and quantization performance index.
6. The apparatus of any of claims 4-5, wherein after the rough set theory based probe deployment strategy, the data processing module is further configured to:
obtaining values of a plurality of attributes of the application resource management system monitored by the probe deployment strategy;
respectively carrying out discretization processing on values of a plurality of attributes of the application resource management system;
and performing attribute selection and data sampling on the values of the attributes to obtain reduction expression of the values of the attributes, wherein the reduction expression is the optimized probe deployment strategy.
7. A computer device, characterized in that the computer device comprises:
at least one processor, memory, and input-output unit;
wherein the memory is for storing a computer program and the processor is for calling the computer program stored in the memory to perform the method of any one of claims 1-3.
8. A computer-readable storage medium comprising instructions which, when executed on a computer, cause the computer to perform the method of any one of claims 1-3.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910929415.XA CN110704277B (en) | 2019-09-27 | 2019-09-27 | Method for monitoring application performance, related equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910929415.XA CN110704277B (en) | 2019-09-27 | 2019-09-27 | Method for monitoring application performance, related equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110704277A CN110704277A (en) | 2020-01-17 |
CN110704277B true CN110704277B (en) | 2023-04-18 |
Family
ID=69197901
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910929415.XA Active CN110704277B (en) | 2019-09-27 | 2019-09-27 | Method for monitoring application performance, related equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110704277B (en) |
Families Citing this family (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112084040B (en) * | 2020-09-28 | 2021-07-20 | 上海道客网络科技有限公司 | Container resource planning system and method based on application mirror image data identification |
CN112232662A (en) * | 2020-10-15 | 2021-01-15 | 国网冀北电力有限公司计量中心 | Service monitoring system and method |
CN112765002B (en) * | 2020-12-28 | 2023-11-14 | 中国人寿保险股份有限公司上海数据中心 | Application system health condition evaluation method, equipment and storage medium |
CN112749062A (en) * | 2021-01-18 | 2021-05-04 | 广州虎牙科技有限公司 | Server program monitoring method and device, computer equipment and storage medium |
CN112988516B (en) * | 2021-03-18 | 2024-06-21 | 上海新炬网络技术有限公司 | Method for realizing global service monitoring based on log enhancement |
CN113590449B (en) * | 2021-08-11 | 2022-03-04 | 云智慧(北京)科技有限公司 | Python-based application performance data acquisition method |
CN114760117A (en) * | 2022-03-30 | 2022-07-15 | 深信服科技股份有限公司 | Data acquisition method and device and electronic equipment |
CN116579652A (en) * | 2023-05-12 | 2023-08-11 | 上海天玑科技股份有限公司 | IT service quality monitoring system and monitoring method thereof |
CN117369954B (en) * | 2023-12-08 | 2024-03-05 | 成都乐超人科技有限公司 | JVM optimization method and device of risk processing framework for big data construction |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103714479A (en) * | 2012-10-09 | 2014-04-09 | 四川欧润特软件科技有限公司 | Intelligent centralized monitor method and system for bank personal business fraudulent conducts |
CN105023100A (en) * | 2015-07-17 | 2015-11-04 | 云南电网有限责任公司信息中心 | Database and middleware non-index quantitative management platform for platform software |
CN107317708A (en) * | 2017-06-29 | 2017-11-03 | 人民法院信息技术服务中心 | The monitoring method and device of a kind of Court business application system |
CN108536589A (en) * | 2018-03-26 | 2018-09-14 | 广州小鹏汽车科技有限公司 | A kind of application program buries point methods and system |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20160294665A1 (en) * | 2015-03-30 | 2016-10-06 | Ca, Inc. | Selectively deploying probes at different resource levels |
-
2019
- 2019-09-27 CN CN201910929415.XA patent/CN110704277B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103714479A (en) * | 2012-10-09 | 2014-04-09 | 四川欧润特软件科技有限公司 | Intelligent centralized monitor method and system for bank personal business fraudulent conducts |
CN105023100A (en) * | 2015-07-17 | 2015-11-04 | 云南电网有限责任公司信息中心 | Database and middleware non-index quantitative management platform for platform software |
CN107317708A (en) * | 2017-06-29 | 2017-11-03 | 人民法院信息技术服务中心 | The monitoring method and device of a kind of Court business application system |
CN108536589A (en) * | 2018-03-26 | 2018-09-14 | 广州小鹏汽车科技有限公司 | A kind of application program buries point methods and system |
Also Published As
Publication number | Publication date |
---|---|
CN110704277A (en) | 2020-01-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110704277B (en) | Method for monitoring application performance, related equipment and storage medium | |
CN109586999B (en) | Container cloud platform state monitoring and early warning system and method and electronic equipment | |
CN105357038B (en) | Monitor the method and system of cluster virtual machine | |
CN108683562B (en) | Anomaly detection positioning method and device, computer equipment and storage medium | |
EP3806432A1 (en) | Method for changing service on device and service changing system | |
CN103532780B (en) | O&M for IT field monitors integral system and integrated monitoring method | |
US10346283B2 (en) | Dynamically identifying performance anti-patterns | |
CN111382023B (en) | Code fault positioning method, device, equipment and storage medium | |
US20080065928A1 (en) | Technique for supporting finding of location of cause of failure occurrence | |
US8041683B1 (en) | Methods and apparatus for locating network logs | |
CN110784374A (en) | Method, device, equipment and system for monitoring operation state of service system | |
CN103544095A (en) | Server program monitoring method and system of server program | |
US11526413B2 (en) | Distributed tracing of huge spans for application and dependent application performance monitoring | |
US9465684B1 (en) | Managing logs of storage systems | |
CN113032237B (en) | Data processing method and device, electronic equipment and computer readable storage medium | |
CN117370053A (en) | Information system service operation-oriented panoramic monitoring method and system | |
CN115248782B (en) | Automatic testing method and device and computer equipment | |
CN115168124A (en) | Stability test method and device for concurrently executing multiple files on hard disk, computer equipment and medium | |
CN111698109A (en) | Method and device for monitoring log | |
CN113031969B (en) | Equipment deployment inspection method and device, computer equipment and storage medium | |
CN114090382A (en) | Health inspection method and device for super-converged cluster | |
CN106933718B (en) | Method for monitoring performance and device | |
CN114816914A (en) | Data processing method, equipment and medium based on Kubernetes | |
CN115357493A (en) | Test method, test device, electronic equipment and storage medium | |
CN110990237B (en) | Information collection system, method 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 |