CN117573478A - Performance monitoring method, device, apparatus, medium and program product - Google Patents
Performance monitoring method, device, apparatus, medium and program product Download PDFInfo
- Publication number
- CN117573478A CN117573478A CN202311616470.6A CN202311616470A CN117573478A CN 117573478 A CN117573478 A CN 117573478A CN 202311616470 A CN202311616470 A CN 202311616470A CN 117573478 A CN117573478 A CN 117573478A
- Authority
- CN
- China
- Prior art keywords
- performance
- server
- target application
- data
- index data
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 58
- 238000012544 monitoring process Methods 0.000 title claims abstract description 56
- 230000004044 response Effects 0.000 claims abstract description 9
- 238000004458 analytical method Methods 0.000 claims description 21
- 238000004590 computer program Methods 0.000 claims description 19
- 230000008859 change Effects 0.000 claims description 6
- 230000015654 memory Effects 0.000 description 11
- 238000010586 diagram Methods 0.000 description 10
- 238000004891 communication Methods 0.000 description 8
- 230000008569 process Effects 0.000 description 8
- 238000012545 processing Methods 0.000 description 7
- 230000006870 function Effects 0.000 description 6
- 238000012423 maintenance Methods 0.000 description 4
- 230000002159 abnormal effect Effects 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 239000003795 chemical substances by application Substances 0.000 description 2
- 238000007405 data analysis Methods 0.000 description 2
- 238000013480 data collection Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000014509 gene expression Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000005856 abnormality Effects 0.000 description 1
- 238000013475 authorization Methods 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 239000000835 fiber Substances 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000012806 monitoring device Methods 0.000 description 1
- 238000004806 packaging method and process Methods 0.000 description 1
- 238000004801 process automation Methods 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 239000000758 substrate Substances 0.000 description 1
- 238000012800 visualization Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3055—Monitoring arrangements for monitoring the status of the computing system or of the computing system component, e.g. monitoring if the computing system is on, off, available, not available
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/22—Indexing; Data structures therefor; Storage structures
- G06F16/221—Column-oriented storage; Management thereof
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/22—Indexing; Data structures therefor; Storage structures
- G06F16/2282—Tablespace storage structures; Management thereof
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/24—Querying
- G06F16/245—Query processing
-
- 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)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Software Systems (AREA)
- Computing Systems (AREA)
- Quality & Reliability (AREA)
- Computational Linguistics (AREA)
- Debugging And Monitoring (AREA)
Abstract
The present disclosure provides a performance monitoring method, apparatus, device, storage medium, and program product, which may be applied to the financial technical field or other fields. The performance monitoring method comprises the following steps: acquiring a unique identifier of a target application; wherein, the unique identifier is determined by the attribute information of the target application and the IP address; in response to the unique identifier being obtained, performing an update operation on the query list; performing data query in a column database according to the updated query list to acquire a plurality of performance index data; wherein the columnar database comprises a plurality of data tables which are created by taking performance index types as units; and analyzing the target application performance based on the performance index data to generate a performance report.
Description
Technical Field
The present disclosure relates to the field of financial technology, and more particularly, to a performance monitoring method, apparatus, electronic device, storage medium, and program product.
Background
With the rapid development of computer technology, the number of data center applications has also grown, resulting in an increasing degree of difficulty in application performance management.
At present, when performing performance management of an application, manual assistance (such as manually determining the application to be managed, manually collecting performance data, etc.) is generally required, which results in higher cost and lower efficiency of application performance management. In addition, when performance data is collected in the server, the service operation of the server is affected, and timeliness of application performance management cannot be guaranteed.
Disclosure of Invention
In view of the foregoing, the present disclosure provides performance monitoring methods, apparatus, devices, media, and program products that improve performance monitoring efficiency.
According to a first aspect of the present disclosure, there is provided a performance monitoring method, comprising: acquiring a unique identifier of a target application; wherein, the unique identifier is determined by the attribute information of the target application and the IP address; in response to the unique identifier being obtained, performing an update operation on the query list; performing data query in a column database according to the updated query list to acquire a plurality of performance index data; wherein the columnar database comprises a plurality of data tables which are created by taking performance index types as units; and analyzing the target application performance based on the performance index data to generate a performance report.
According to an embodiment of the present disclosure, obtaining a unique identifier of a target application includes: determining a target application according to the application list; acquiring attribute information of a target application and an IP address of a server where the target application is located; a unique identifier of the target application is determined based on the attribute information and the IP address of the target application.
According to an embodiment of the present disclosure, determining a target application from a target manifest includes: and selecting a target application from each application of the application list according to at least one of the use duration, the use frequency and the version change condition of each application in the application list.
According to an embodiment of the present disclosure, performing data query in a column database according to an updated query list to obtain a plurality of performance index data, including: and based on the unique identifier in the query list, sequentially querying a plurality of data tables of the columnar database to obtain a plurality of performance index data.
According to an embodiment of the present disclosure, performance index data in a column database is acquired from a server, including: acquiring the running condition of a server; determining an acquisition scheme of the server based on the running condition of the server; and collecting performance index data of the server according to the collection scheme.
According to an embodiment of the present disclosure, obtaining a running condition of a server includes: acquiring service time of a server; judging whether the current time is the service time of the server or not; under the condition that the current time is not the service time, directly collecting performance index data of the server; and determining an acquisition scheme based on the running state of the server under the condition that the current time is the service time.
According to an embodiment of the present disclosure, determining an acquisition scheme based on an operational state of a server in a case of a current service time includes: acquiring the current running state of a server; the running state comprises server running key points; based on the current running state, performance index data which does not relate to the running key of the server is collected.
According to an embodiment of the present disclosure, analyzing target application performance based on performance index data, generating a performance report includes: acquiring historical performance conditions of a target application; analyzing the current performance of the target application based on the historical performance situation and the performance index data; and generating a performance report according to the current performance analysis result of the target application.
A second aspect of the present disclosure provides a performance monitoring apparatus comprising: the acquisition module is used for acquiring the unique identifier of the target application; wherein, the unique identifier is determined by the attribute information of the target application and the IP address; an update module for performing an update operation on the query list in response to the unique identifier being obtained; the query module is used for carrying out data query in the column database according to the updated query list to acquire a plurality of performance index data; wherein the columnar database comprises a plurality of data tables which are created by taking performance index types as units; and the analysis module is used for analyzing the target application performance based on the performance index data and generating a performance report.
A third aspect of the present disclosure provides an electronic device, comprising: one or more processors; and a memory for storing one or more programs, wherein the one or more programs, when executed by the one or more processors, cause the one or more processors to perform the performance monitoring method described above.
A fourth aspect of the present disclosure also provides a computer-readable storage medium having stored thereon executable instructions that, when executed by a processor, cause the processor to perform the performance monitoring method described above.
A fifth aspect of the present disclosure also provides a computer program product comprising a computer program which, when executed by a processor, implements the performance monitoring method described above.
Drawings
The foregoing and other objects, features and advantages of the disclosure will be more apparent from the following description of embodiments of the disclosure with reference to the accompanying drawings, in which:
FIG. 1 schematically illustrates an application scenario diagram of a performance monitoring method, apparatus, device, medium and program product according to an embodiment of the present disclosure;
FIG. 2 schematically illustrates a flow chart of a performance monitoring method according to an embodiment of the disclosure;
FIG. 3 schematically illustrates a flow chart of obtaining a unique identifier of a target application in accordance with an embodiment of the present disclosure;
FIG. 4 schematically illustrates a flow chart of collecting performance data metrics from a server according to an embodiment of the disclosure;
FIG. 5 schematically illustrates a flow chart of an acquisition server operation in accordance with an embodiment of the present disclosure;
FIG. 6 schematically illustrates a flow chart of an acquisition server operation in accordance with an embodiment of the present disclosure;
FIG. 7 schematically illustrates a flow chart of generating a performance report in accordance with an embodiment of the present disclosure;
FIG. 8 schematically illustrates a block diagram of a performance monitoring apparatus according to an embodiment of the disclosure; and
fig. 9 schematically illustrates a block diagram of an electronic device adapted to implement a performance monitoring method according to an embodiment of the disclosure.
Detailed Description
Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. It should be understood that the description is only exemplary and is not intended to limit the scope of the present disclosure. In the following detailed description, for purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding of the embodiments of the present disclosure. It may be evident, however, that one or more embodiments may be practiced without these specific details. In addition, in the following description, descriptions of well-known structures and techniques are omitted so as not to unnecessarily obscure the concepts of the present disclosure.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. The terms "comprises," "comprising," and/or the like, as used herein, specify the presence of stated features, steps, operations, and/or components, but do not preclude the presence or addition of one or more other features, steps, operations, or components.
All terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art unless otherwise defined. It should be noted that the terms used herein should be construed to have meanings consistent with the context of the present specification and should not be construed in an idealized or overly formal manner.
Where expressions like at least one of "A, B and C, etc. are used, the expressions should generally be interpreted in accordance with the meaning as commonly understood by those skilled in the art (e.g.," a system having at least one of A, B and C "shall include, but not be limited to, a system having a alone, B alone, C alone, a and B together, a and C together, B and C together, and/or A, B, C together, etc.).
It should be noted that, the performance monitoring method and apparatus in the present disclosure may be used in the financial technical field to monitor the performance of the target application, and may also be used in any field other than the financial technical field to monitor the performance of the target application, where the application field of the performance monitoring method and apparatus in the present disclosure is not limited.
In the technical scheme of the invention, the related user information (including but not limited to user personal information, user image information, user equipment information, such as position information and the like) and data (including but not limited to data for analysis, stored data, displayed data and the like) are information and data authorized by a user or fully authorized by all parties, and the processing of the related data such as collection, storage, use, processing, transmission, provision, disclosure, application and the like are all conducted according to the related laws and regulations and standards of related countries and regions, necessary security measures are adopted, no prejudice to the public welfare is provided, and corresponding operation inlets are provided for the user to select authorization or rejection.
The embodiment of the disclosure provides a performance monitoring method, which comprises the following steps: acquiring a unique identifier of a target application; wherein, the unique identifier is determined by the attribute information of the target application and the IP address; in response to the unique identifier being obtained, performing an update operation on the query list; performing data query in a column database according to the updated query list to acquire a plurality of performance index data; wherein the columnar database comprises a plurality of data tables which are created by taking performance index types as units; and analyzing the target application performance based on the performance index data to generate a performance report.
Fig. 1 schematically illustrates an application scenario diagram of a performance monitoring method according to an embodiment of the present disclosure.
As shown in fig. 1, an application scenario 100 according to this embodiment may include a terminal device 101, a terminal device 102, a terminal device 103, a network 104, and a server 105. The network 104 is a medium used to provide communication links between the terminal device 101, the terminal device 102, the terminal device 103, and the server 105. The network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, among others.
The user may interact with the server 105 via the network 104 using the terminal device 101, the terminal device 102, the terminal device 103, to receive or send messages or the like. Various communication client applications, such as shopping class applications, web browser applications, search class applications, instant messaging tools, mailbox clients, social platform software, etc. (by way of example only) may be installed on terminal devices 101, 102, 103.
Terminal device 101, terminal device 102, terminal device 103 may be a variety of electronic devices having a display screen and supporting web browsing, including but not limited to smartphones, tablets, laptop and desktop computers, and the like.
The server 105 may be a server providing various services, such as a background management server (by way of example only) providing support for websites browsed by the user using the terminal device 101, the terminal device 102, the terminal device 103. The background management server may analyze and process the received data such as the user request, and feed back the processing result (e.g., the web page, information, or data obtained or generated according to the user request) to the terminal device.
It should be noted that the performance monitoring method provided by the embodiments of the present disclosure may be generally performed by the server 105. Accordingly, the performance monitoring apparatus provided by the embodiments of the present disclosure may be generally disposed in the server 105. The performance monitoring method provided by the embodiments of the present disclosure may also be performed by a server or a server cluster that is different from the server 105 and is capable of communicating with the terminal devices 101, 102, 103 and/or the server 105. Accordingly, the performance monitoring apparatus provided by the embodiments of the present disclosure may also be provided in a server or a server cluster different from the server 105 and capable of communicating with the terminal devices 101, 102, 103 and/or the server 105.
It should be understood that the number of terminal devices, networks and servers in fig. 1 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
The performance monitoring method of the disclosed embodiment will be described in detail below with reference to fig. 2 to 7 based on the scenario described in fig. 1.
Fig. 2 schematically illustrates a flow chart of a performance monitoring method according to an embodiment of the disclosure.
As shown in fig. 2, the performance monitoring method of this embodiment includes operations S210 to S240.
In operation S210, acquiring a unique identifier of a target application; wherein the unique identifier is determined by the attribute information of the target application together with the IP address.
In some embodiments, it is necessary to determine the target application from multiple applications, and since the situation that the same application exists in multiple servers may occur, to ensure the correctness of the target application, the present disclosure proposes, using attribute information and an IP address of the target application to determine a unique identifier of the target application together, where the unique identifier is used to represent information specifying the application, and determining the unique application from multiple applications by using the unique identifier.
In operation S220, an update operation is performed on the query list in response to the unique identifier being acquired.
In some embodiments, in response to obtaining the unique identifier of the target application, an update operation is automatically performed on the query list, resulting in a new query list. The automatic update operation of the query list can be realized through RPA (Robotic Process Automation) script, when a new unique identifier is obtained through scanning, the PRA script is utilized to trigger the update operation of the query list, and the unique identifier which is just obtained is written into the query list. The RPA script is used as a robot flow automation script, and can realize repeated work automation. The method and the device realize the update of the query list by utilizing the RPA script so as to save labor cost and improve efficiency of performance monitoring. For example, the query list cannot be updated in real time in 24 hours manually, but the uninterrupted query list updating requirement can be met by utilizing the RPA script, so that the efficiency of updating the query list is improved while the labor cost is saved, and the efficiency of monitoring the performance of the target application is further improved.
In operation S230, performing data query in the column database according to the updated query list, to obtain a plurality of performance index data; wherein the columnar database includes a plurality of data tables created in units of performance index types.
In some embodiments, the performance index data may include, for example, CPU running information, memory usage, disk running information, network IO information, and the like of a server where the target application is located.
The present disclosure proposes to organize the same type of index data together (creating a data table of that type of index data) using a columnar database, rather than organizing the data of each row together in a traditional database. The data is stored in a column mode, so that the data query speed in the database can be effectively improved, and data analysis under a complex analysis scene (such as an online analysis scene) can be realized.
For example, when the disk running information of all the current applications needs to be counted, the line storage mode of the traditional database needs to read all the performance index data of each application line by line when the disk running information of all the applications is queried, then the disk running information of the application is extracted from all the performance index data of the application, and the above operation is repeatedly executed for each application until the disk running information of all the applications is obtained.
The storage mode adopted by the present disclosure can directly obtain a data table for recording disk operation information in a column database, where data in the table is the disk operation information of all applications.
Compared with the traditional storage mode, the column database adopted by the method has the advantages of simple query steps and high query efficiency when data query is carried out, and is more suitable for online analysis scenes in which statistical data are aggregated through a large number of data sets, so that timeliness of data analysis is ensured, real-time monitoring of application performance is realized, timeliness of performance monitoring is ensured, and the problem that the application performance monitoring is not timely due to overlong data acquisition time is avoided.
Wherein querying in the columnar database comprises: and based on the unique identifier in the query list, sequentially querying a plurality of data tables of the columnar database to obtain a plurality of performance index data.
In operation S240, the target application performance is analyzed based on the performance index data, and a performance report is generated.
In some embodiments, the performance of the target application is analyzed through the acquired performance index data, and a performance report of the target application is generated, so that performance monitoring and performance visualization of the target application are realized, and operation and maintenance personnel can quickly check the performance condition of the application, and timely locate and maintain performance abnormality.
According to the performance monitoring method, the unique identifier of the target application is determined through the attribute information of the application and the IP address of the server, the unique identifier of the target application is used for carrying out performance index data query in the column database, automatic and quick query of the performance index data is achieved, manual participation is not needed in the whole query process, automatic query of the performance index data of the target application is achieved, and compared with manual query, the efficiency and accuracy of the performance index data query can be effectively improved, further efficiency of application performance monitoring is improved, and real-time management of the application performance is achieved. In addition, the present disclosure also proposes that the column database stores performance index data, and compared with the traditional database, the column database has the advantages of simple query steps, high query speed, and the like, and can meet the data query requirement under a large amount of data or/and complex analysis scene, and realize the rapid query of the performance index data, thereby improving the timeliness of target application performance analysis, and avoiding the problem of untimely application performance monitoring caused by overlong data acquisition time.
Fig. 3 schematically illustrates a flow chart of obtaining a unique identifier of a target application according to an embodiment of the present disclosure.
As shown in fig. 3, the acquisition of the unique identifier of the target application of this embodiment includes operations S310 to S330.
In operation S310, a target application is determined according to the application manifest.
In some embodiments, the target application is determined from a plurality of applications in the application list according to at least one of a use duration, a use frequency, and a version change condition of each application in the application list. For example, if the application is used frequently or is often used for a long time, it is indicated that the application is an important application, and the performance monitoring of the application needs to be emphasized, so as to prevent the problem of the application from being solved in time, thereby affecting the business process. For another example, if a version change occurs in an application, performance monitoring needs to be performed on the latest version application to understand the running condition of the updated application.
In the specific implementation process, the target application determination can be automatically realized through a preset rule, for example, if an application with the use time longer than 2 hours exists in the application list, the application is determined as the target application, so that the automatic determination of the target application is realized. The method for automatically determining the target application can effectively improve timeliness and accuracy of determining the target application and timely monitor application performance compared with the mode for manually determining the target application in the prior art.
In operation S320, attribute information of the target application and an IP address of a server where the target application is located are acquired.
In operation S330, a unique identifier of the target application is determined based on the attribute information of the target application and the IP address.
In some embodiments, there may be a case where the same application is included in multiple servers, so, in order to accurately determine the target application, the present disclosure proposes to determine a unique identifier of the target application together using attribute information and an IP address of the target application, so as to achieve accurate positioning of the target application. The attribute information of the target application at least comprises the name, version information and the like of the target application, the IP address is the IP address of the server where the target application is located, and the target application can be accurately obtained from a plurality of similar target applications through the IP address and the attribute information, so that the accuracy of performance monitoring is ensured, and performance monitoring failure caused by the fact that the target application is determined to be wrong is avoided.
According to the method and the device, the target application is automatically determined from the application list through the preset rule, real-time and rapid determination of the target application is achieved, and the unique identification of the target application is jointly determined through the attribute information of the target application and the IP address of the server where the target application is located, so that the correctness of the query performance index data in the column-type database is ensured, and the timeliness and accuracy of performance monitoring are further improved.
Fig. 4 schematically illustrates a flowchart of collecting performance data metrics from a server according to an embodiment of the present disclosure.
As shown in fig. 4, the performance data index is collected from the server in this embodiment, including operations S410 to S430.
In operation S410, the operation condition of the server is acquired.
In operation S420, a collection scheme of the server is determined based on the operation of the server.
In operation S430, performance index data of the server is collected according to the collection scheme.
In some embodiments, some application servers are sensitive, and performance data collection performed during service may result in reduced server operation efficiency or even operation errors. Therefore, the running condition of the server is acquired before the data is acquired, different acquisition schemes are flexibly determined based on different running conditions, the influence of the data acquisition on the running of the server is reduced as much as possible, and the acquisition of the performance data is realized under the condition that the service running of the server is not influenced as much as possible.
The embodiment of the disclosure provides that the performance index data of the server is collected into the column database, so that the performance data index of the target application can be obtained in the column database later. Compared with the prior art that the collection and analysis of the performance index data are directly carried out on the server, the method and the device for storing the performance index data in the server are provided, and on one hand, the performance index data collected from the server are stored by the column database, so that the load pressure of the server can be effectively relieved, and the influence on the service operation of the server is avoided. On the other hand, the performance index data are collected to the column database, and then the data query is executed in the column database, so that the data query efficiency can be effectively improved, the batch query of a plurality of target application performance index data is realized, and the performance monitoring efficiency is improved.
Fig. 5 schematically illustrates a flowchart of the operation of the acquisition server according to an embodiment of the present disclosure.
As shown in fig. 5, the acquisition server operation condition of this embodiment includes operations S510 to S540.
In operation S510, a service time of the server is acquired.
In some embodiments, the service time of the server may be determined by a service table of the server.
In operation S520, it is determined whether the current time is a service time of the server.
In some embodiments, the service table based on the server determines whether the current time is the service time of the server, so as to flexibly implement data acquisition for servers under different conditions.
In operation S530, in case that the current time is not the service time, performance index data of the server is directly collected.
In some embodiments, if the current time is not the service time of the server (i.e. the server is already in a state of stopping service operation), there is no concern that the data collection will affect service operation of the server, and the performance index data in the server can be directly collected.
In operation S540, in case that the current time is a service time, an acquisition scheme is determined based on an operation state of the server.
In some embodiments, if the current time is the service time of the server (i.e. the server is running the service at this time), a data acquisition scheme suitable for the server needs to be further determined according to the running state of the server, so as to reduce the influence of the data acquisition process on the server as much as possible, realize painless data acquisition in the running process of the server, and ensure the good running state of the server while ensuring the data acquisition efficiency.
Fig. 6 schematically illustrates a flowchart of the operation of the acquisition server according to an embodiment of the present disclosure.
As shown in fig. 6, the acquisition server operation condition of this embodiment includes operations S610 to S620.
In operation S610, a current running state of the server is acquired; the operational state includes server operational emphasis.
In some embodiments, the operating emphasis of different servers is different, for example, the service operation of the server a is mainly performed by the CPU, then the operating emphasis of the server a is the CPU, and the service operation of the server B is performed by the hard disk in the same period of time, and then the operating emphasis of the server B is the hard disk. For another example, the service operation of the server a in the period x is performed by the CPU, and the service operation of the server a in the period y is performed by the hard disk.
In operation S620, performance index data not related to the server operation emphasis is collected based on the current operation state.
In some embodiments, different servers or the same server have different running states in different time periods, so the disclosure proposes that the running key of the server in the current time period needs to be judged based on the current running state of the server, so that the running key of the server is effectively avoided when performance index data acquisition is executed, and the influence on the service running of the server in the performance index data acquisition process is reduced. For example, if the running key of the server a in the current time period is a CPU, the agent should avoid collecting the relevant data of the CPU when collecting the performance index data, and if the running key of the server B in the current time period is a hard disk, the agent should avoid collecting the relevant data of the hard disk when collecting the data.
In addition, the current running state of the server should also include load information of the server, where the load information is used to reflect the current data processing situation borne by the server. When the load information of the server exceeds a threshold value, the server is seriously loaded and cannot perform other external operations, and at the moment, performance data acquisition of the server is not selected. If the load information of the server is lower than the threshold value, the scheme for data acquisition of the server is further determined through the operation key point of the server.
FIG. 7 schematically illustrates a flow chart of generating a performance report according to an embodiment of the disclosure.
As shown in fig. 7, the generation of the performance report of this embodiment includes operations S710 to S730.
In operation S710, a historical performance condition of the target application is obtained;
in operation S720, analyzing the current performance of the target application based on the historical performance situation and the performance index data;
in operation S730, a performance report is generated according to the current performance analysis result of the target application.
In some embodiments, obtaining historical performance cases of the target application includes: historical performance index data of the target application within a specified time (such as the past seven days) is obtained, and the historical performance condition of the target application is determined by calculating the historical performance index data. Wherein, the calculating the historical performance index data at least comprises: and respectively calculating the peak value and the average value of each historical performance index in the appointed time. And comparing and analyzing the historical performance condition with the current performance index data, and analyzing the change condition of the current performance index data by taking the historical performance condition as a standard to obtain an analysis result of the current performance and generate a performance report so as to facilitate operation and maintenance personnel to check the performance condition in time, wherein the analysis result can comprise the change rate of the current performance index data compared with the historical performance data and the like. When the analysis result shows that the target application has abnormal performance, the system can alarm the operation and maintenance personnel in a way of sending mails and the like, so that the operation and maintenance personnel can quickly find the abnormal performance and maintain the abnormal performance in time.
Based on the performance monitoring method, the disclosure also provides a performance monitoring device. The device will be described in detail below in connection with fig. 8.
Fig. 8 schematically shows a block diagram of a performance monitoring apparatus according to an embodiment of the present disclosure.
As shown in fig. 8, the performance monitoring apparatus 800 of this embodiment includes an acquisition module 810, an update module 820, a query module 830, and an analysis module 840.
The obtaining module 810 is configured to obtain a unique identifier of a target application; wherein the unique identifier is determined by the attribute information of the target application together with the IP address. In an embodiment, the obtaining module 810 may be configured to perform the operation S210 described above, which is not described herein.
The update module 820 is configured to perform an update operation on the query manifest in response to the unique identifier being obtained. In an embodiment, the updating module 820 may be used to perform the operation S220 described above, which is not described herein.
The query module 830 is configured to perform data query in the columnar database according to the updated query list, to obtain a plurality of performance index data; wherein the columnar database includes a plurality of data tables created in units of performance index types. In an embodiment, the query module 830 may be configured to perform the operation S230 described above, which is not described herein.
The analysis module 840 is configured to analyze the target application performance based on the performance index data, and generate a performance report. In an embodiment, the analysis module 840 may be configured to perform the operation S240 described above, which is not described herein.
Any of the acquisition module 810, the update module 820, the query module 830, and the analysis module 840 may be combined in one module to be implemented, or any of them may be split into multiple modules, according to embodiments of the present disclosure. Alternatively, at least some of the functionality of one or more of the modules may be combined with at least some of the functionality of other modules and implemented in one module. At least one of the acquisition module 810, the update module 820, the query module 830, and the analysis module 840 may be implemented, at least in part, as hardware circuitry, such as a Field Programmable Gate Array (FPGA), a Programmable Logic Array (PLA), a system on a chip, a system on a substrate, a system on a package, an Application Specific Integrated Circuit (ASIC), or may be implemented in hardware or firmware in any other reasonable way of integrating or packaging circuitry, or in any one of or a suitable combination of three of software, hardware, and firmware. Alternatively, at least one of the acquisition module 810, the update module 820, the query module 830, and the analysis module 840 may be at least partially implemented as computer program modules that, when executed, perform the corresponding functions.
Fig. 9 schematically illustrates a block diagram of an electronic device adapted to implement a performance monitoring method according to an embodiment of the disclosure.
As shown in fig. 9, an electronic device 900 according to an embodiment of the present disclosure includes a processor 901 that can perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM) 902 or a program loaded from a storage portion 908 into a Random Access Memory (RAM) 903. The processor 901 may include, for example, a general purpose microprocessor (e.g., a CPU), an instruction set processor and/or an associated chipset and/or a special purpose microprocessor (e.g., an Application Specific Integrated Circuit (ASIC)), or the like. Processor 901 may also include on-board memory for caching purposes. Processor 901 may include a single processing unit or multiple processing units for performing the different actions of the method flows according to embodiments of the present disclosure.
In the RAM 903, various programs and data necessary for the operation of the electronic device 900 are stored. The processor 901, the ROM 902, and the RAM 903 are connected to each other by a bus 904. The processor 901 performs various operations of the method flow according to the embodiments of the present disclosure by executing programs in the ROM 902 and/or the RAM 903. Note that the program may be stored in one or more memories other than the ROM 902 and the RAM 903. The processor 901 may also perform various operations of the method flow according to embodiments of the present disclosure by executing programs stored in the one or more memories.
According to an embodiment of the disclosure, the electronic device 900 may also include an input/output (I/O) interface 905, the input/output (I/O) interface 905 also being connected to the bus 904. The electronic device 900 may also include one or more of the following components connected to the I/O interface 905: an input section 906 including a keyboard, a mouse, and the like; an output portion 907 including a display such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and a speaker; a storage portion 908 including a hard disk or the like; and a communication section 909 including a network interface card such as a LAN card, a modem, or the like. The communication section 909 performs communication processing via a network such as the internet. The drive 910 is also connected to the I/O interface 905 as needed. A removable medium 911 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is installed as needed on the drive 910 so that a computer program read out therefrom is installed into the storage section 908 as needed.
The present disclosure also provides a computer-readable storage medium that may be embodied in the apparatus/device/system described in the above embodiments; or may exist alone without being assembled into the apparatus/device/system. The computer-readable storage medium carries one or more programs which, when executed, implement methods in accordance with embodiments of the present disclosure.
According to embodiments of the present disclosure, the computer-readable storage medium may be a non-volatile computer-readable storage medium, which may include, for example, but is not limited to: a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this disclosure, a computer-readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. For example, according to embodiments of the present disclosure, the computer-readable storage medium may include ROM 902 and/or RAM 903 and/or one or more memories other than ROM 902 and RAM 903 described above.
Embodiments of the present disclosure also include a computer program product comprising a computer program containing program code for performing the methods shown in the flowcharts. The program code, when executed in a computer system, causes the computer system to implement the item recommendation method provided by embodiments of the present disclosure.
The above-described functions defined in the system/apparatus of the embodiments of the present disclosure are performed when the computer program is executed by the processor 901. The systems, apparatus, modules, units, etc. described above may be implemented by computer program modules according to embodiments of the disclosure.
In one embodiment, the computer program may be based on a tangible storage medium such as an optical storage device, a magnetic storage device, or the like. In another embodiment, the computer program may also be transmitted, distributed, and downloaded and installed in the form of a signal on a network medium, via communication portion 909, and/or installed from removable medium 911. The computer program may include program code that may be transmitted using any appropriate network medium, including but not limited to: wireless, wired, etc., or any suitable combination of the foregoing.
In such an embodiment, the computer program may be downloaded and installed from the network via the communication portion 909 and/or installed from the removable medium 911. The above-described functions defined in the system of the embodiments of the present disclosure are performed when the computer program is executed by the processor 901. The systems, devices, apparatus, modules, units, etc. described above may be implemented by computer program modules according to embodiments of the disclosure.
According to embodiments of the present disclosure, program code for performing computer programs provided by embodiments of the present disclosure may be written in any combination of one or more programming languages, and in particular, such computer programs may be implemented in high-level procedural and/or object-oriented programming languages, and/or assembly/machine languages. Programming languages include, but are not limited to, such as Java, c++, python, "C" or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, partly on a remote computing device, or entirely on the remote computing device or server. In the case of remote computing devices, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., connected via the Internet using an Internet service provider).
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
Those skilled in the art will appreciate that the features recited in the various embodiments of the disclosure and/or in the claims may be provided in a variety of combinations and/or combinations, even if such combinations or combinations are not explicitly recited in the disclosure. In particular, the features recited in the various embodiments of the present disclosure and/or the claims may be variously combined and/or combined without departing from the spirit and teachings of the present disclosure. All such combinations and/or combinations fall within the scope of the present disclosure.
The embodiments of the present disclosure are described above. However, these examples are for illustrative purposes only and are not intended to limit the scope of the present disclosure. Although the embodiments are described above separately, this does not mean that the measures in the embodiments cannot be used advantageously in combination. The scope of the disclosure is defined by the appended claims and equivalents thereof. Various alternatives and modifications can be made by those skilled in the art without departing from the scope of the disclosure, and such alternatives and modifications are intended to fall within the scope of the disclosure.
Claims (12)
1. A performance monitoring method, comprising:
acquiring a unique identifier of a target application; wherein, the unique identifier is determined by the attribute information of the target application and the IP address;
in response to the unique identifier being obtained, performing an update operation on the query list;
performing data query in a column database according to the updated query list to acquire a plurality of performance index data; wherein the columnar database comprises a plurality of data tables which are created by taking performance index types as units;
and analyzing the target application performance based on the performance index data to generate a performance report.
2. The performance monitoring method according to claim 1, wherein the obtaining the unique identifier of the target application includes:
determining a target application according to the application list;
acquiring attribute information of the target application and an IP address of a server where the target application is located;
a unique identifier of the target application is determined based on the attribute information of the target application and the IP address.
3. The performance monitoring method according to claim 2, wherein the determining the target application according to the target list includes:
and selecting a target application from each application of the application list according to at least one of the use duration, the use frequency and the version change condition of each application in the application list.
4. The performance monitoring method according to claim 1, wherein the performing data query in the column database according to the updated query list to obtain a plurality of performance index data includes:
and based on the unique identifier in the query list, sequentially querying a plurality of data tables of the column database to obtain a plurality of performance index data.
5. The performance monitoring method according to claim 1, wherein the performance index data in the column database is acquired from a server, and the performance monitoring method comprises:
acquiring the running condition of the server;
determining an acquisition scheme of the server based on the running condition of the server;
and collecting the performance index data of the server according to the collection scheme.
6. The performance monitoring method according to claim 5, wherein the obtaining the operation condition of the server includes:
acquiring service time of a server;
judging whether the current time is the service time of the server or not;
under the condition that the current time is not the service time, the performance index data of the server are directly collected;
and determining an acquisition scheme based on the running state of the server under the condition that the current time is the service time.
7. The performance monitoring method according to claim 6, wherein the determining an acquisition scheme based on the running state of the server in the case of the current service time includes:
acquiring the current running state of a server; the running state comprises server running key points;
and collecting performance index data which does not relate to server operation key points based on the current operation state.
8. The performance monitoring method according to claim 1, wherein the analyzing the target application performance based on the performance index data generates a performance report, and the performance report includes:
acquiring the historical performance condition of the target application;
analyzing the current performance of the target application based on the historical performance situation and the performance index data;
and generating a performance report according to the current performance analysis result of the target application.
9. A performance monitoring apparatus comprising:
the acquisition module is used for acquiring the unique identifier of the target application; wherein, the unique identifier is determined by the attribute information of the target application and the IP address;
an updating module, configured to perform an updating operation on the query list in response to the unique identifier being acquired;
the query module is used for carrying out data query in the column database according to the updated query list to acquire a plurality of performance index data; wherein the columnar database comprises a plurality of data tables which are created by taking performance index types as units; and
and the analysis module is used for analyzing the target application performance based on the performance index data and generating a performance report.
10. An electronic device, comprising:
one or more processors;
storage means for storing one or more programs,
wherein the one or more programs, when executed by the one or more processors, cause the one or more processors to perform the method of any of claims 1-8.
11. A computer readable storage medium having stored thereon executable instructions which, when executed by a processor, cause the processor to perform the method according to any of claims 1-8.
12. A computer program product comprising a computer program which, when executed by a processor, implements the method according to any one of claims 1 to 8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311616470.6A CN117573478A (en) | 2023-11-29 | 2023-11-29 | Performance monitoring method, device, apparatus, medium and program product |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311616470.6A CN117573478A (en) | 2023-11-29 | 2023-11-29 | Performance monitoring method, device, apparatus, medium and program product |
Publications (1)
Publication Number | Publication Date |
---|---|
CN117573478A true CN117573478A (en) | 2024-02-20 |
Family
ID=89893553
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202311616470.6A Pending CN117573478A (en) | 2023-11-29 | 2023-11-29 | Performance monitoring method, device, apparatus, medium and program product |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117573478A (en) |
-
2023
- 2023-11-29 CN CN202311616470.6A patent/CN117573478A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN113794719B (en) | Network abnormal traffic analysis method and device based on elastic search technology and electronic equipment | |
CN114443437A (en) | Alarm root cause output method, apparatus, device, medium, and program product | |
US7890444B2 (en) | Visualization of data availability and risk | |
CN117667573A (en) | Cluster operation and maintenance method and device based on AI language model | |
CN115202973A (en) | Application running state determining method and device, electronic equipment and medium | |
CN113094268B (en) | Test method, test device, test equipment and test medium | |
CN117573478A (en) | Performance monitoring method, device, apparatus, medium and program product | |
CN115203178A (en) | Data quality inspection method and device, electronic equipment and storage medium | |
CN114693358A (en) | Data processing method and device, electronic equipment and storage medium | |
CN111831534B (en) | Method and device for verifying accuracy of datagram table | |
CN114490130A (en) | Message subscription method and device, electronic equipment and storage medium | |
CN116401138B (en) | Operating system running state detection method and device, electronic equipment and medium | |
CN114968696A (en) | Index monitoring method, electronic equipment and chip system | |
CN118260294B (en) | Manufacturing pain signal summarizing method, system, medium and equipment based on AI | |
CN115312208B (en) | Method, device, equipment and medium for displaying treatment data | |
CN115499292B (en) | Alarm method, device, equipment and storage medium | |
CN115190008B (en) | Fault processing method, fault processing device, electronic equipment and storage medium | |
CN114328151B (en) | Operation and maintenance event relation mining method, device, equipment and medium | |
CN117170767A (en) | Index acquisition method, device, equipment and storage medium | |
CN111352975B (en) | Data quality management method, client, server and system | |
CN117130812A (en) | System fault detection method, apparatus, device, medium and program product | |
CN114756441A (en) | Method, device, equipment and medium for processing logs of host system | |
CN118394655A (en) | Information processing method, apparatus, device, medium, and program product | |
CN117196307A (en) | Method, device, equipment and storage medium for detecting running state of wind control model | |
CN117093609A (en) | Query statement processing method, device, equipment, medium and program product |
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 |