CN108280022B - Performance monitoring method and device - Google Patents

Performance monitoring method and device Download PDF

Info

Publication number
CN108280022B
CN108280022B CN201810129112.5A CN201810129112A CN108280022B CN 108280022 B CN108280022 B CN 108280022B CN 201810129112 A CN201810129112 A CN 201810129112A CN 108280022 B CN108280022 B CN 108280022B
Authority
CN
China
Prior art keywords
performance
logs
early warning
log
abnormal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810129112.5A
Other languages
Chinese (zh)
Other versions
CN108280022A (en
Inventor
刘干
陈鹏鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wireless Life Hangzhou Information Technology Co ltd
Original Assignee
Wireless Life Hangzhou Information Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Wireless Life Hangzhou Information Technology Co ltd filed Critical Wireless Life Hangzhou Information Technology Co ltd
Priority to CN201810129112.5A priority Critical patent/CN108280022B/en
Publication of CN108280022A publication Critical patent/CN108280022A/en
Application granted granted Critical
Publication of CN108280022B publication Critical patent/CN108280022B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/34Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
    • G06F11/3466Performance evaluation by tracing or monitoring
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/302Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is a software system
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Quality & Reliability (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • Mathematical Physics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention discloses a performance monitoring method and a performance monitoring device. The method comprises the following steps: introducing at least one buried point in an application to be tested; acquiring a performance log monitored by the at least one buried point; when at least part of the logs in the performance logs are abnormal, performing performance analysis on the abnormal part of the logs to judge whether a preset early warning condition is met; and when the preset early warning condition is reached, sending out an early warning prompt. By the technical scheme, the performance problem in the APP can be found in real time in the test stage, and timely feedback can be carried out, so that developers can repair the problem in time, and the formally released APP is guaranteed to have good performance.

Description

Performance monitoring method and device
Technical Field
The invention relates to the technical field of performance monitoring, in particular to a performance monitoring method and device.
Background
It is well known that performance problems with mobile APPs can lead to churn of large numbers of users. While the main performance issues include: 1. connection timeout 2, flash quit 3, katon 4, crash 5, black and white screen 6, network hijacking 7, poor interactive performance 8, CPU (Central Processing Unit) utilization problem 9, memory leak 10, bad interface and the like.
However, in the current common method, a developer manually buries points at the APP end to collect various performance data through the buried points, and then reports the performance data to the back-end server for statistics and generation of various performance data reports.
However, the current common practice has certain limitations, which are as follows:
firstly, the manual point burying mode of a developer at the APP end is complicated and is not automatic enough; and the accuracy of manual point burying is difficult to guarantee.
Secondly, manual site burying cannot be monitored conveniently for specific performance problems (execution time, resource consumption and the like of some calculation-intensive methods) of special services.
Third, without friendly user interaction, performance statistics are generally only provided to individual users (development, production, etc.) in a form of exporting excel tables, which is not convenient enough and has a weak function.
Finally, there is no efficient early warning mechanism. Basically, only the performance values are counted and reports are generated, but the performance problems cannot be fed back in time, so that a developer cannot be helped to optimize the performance problems in the first time.
Disclosure of Invention
The invention provides a performance monitoring method and a performance monitoring device, which are used for solving at least part of problems in the background technology part, and specifically comprise the following steps: when monitoring the performance log through at least one buried point introduced into the application to be tested, the performance log can be preliminarily judged, when judging that at least part of logs in the performance log are abnormal, the abnormal part of logs can be automatically subjected to performance analysis to judge whether preset early warning conditions are met, if the preset early warning conditions are met, an early warning prompt is sent out, so that the performance problems existing in the APP can be found in real time in the test stage, and timely feedback is carried out, so that developers can timely repair the problems, and the formally-issued APP is guaranteed to have good performance.
The invention provides a performance monitoring method, which comprises the following steps:
introducing at least one buried point in an application to be tested;
acquiring a performance log monitored by the at least one buried point;
when at least part of the logs in the performance logs are abnormal, performing performance analysis on the abnormal part of the logs to judge whether a preset early warning condition is met;
and when the preset early warning condition is reached, sending out an early warning prompt.
In one embodiment, after obtaining the log of performance monitored by the at least one buried site, the method further comprises:
comparing each performance index in the performance log with a corresponding performance threshold respectively;
and when the partial performance indexes in the performance logs are not matched with the corresponding performance thresholds respectively, determining the partial logs to which the partial performance indexes belong as the abnormal partial logs.
In one embodiment, the method further comprises:
and respectively storing the performance log and the abnormal partial log as an off-line log and a real-time log.
In an embodiment, when at least a part of the logs in the performance log are abnormal, performing performance analysis on the abnormal part of the logs to determine whether a preset early warning condition is met, including:
when at least part of logs in the performance logs are abnormal, periodically performing performance analysis on the abnormal part of logs according to a received preset early warning rule so as to judge whether a preset early warning condition corresponding to the preset early warning rule is reached.
In one embodiment, the introducing at least one buried point in the application to be tested comprises:
automatically generating a buried point code and a buried point rule corresponding to the at least one buried point according to the developed buried point script and a plug-in matched with the buried point script;
and when the business development is carried out on the application to be tested, automatically compiling the embedded point codes by using a compiling plug-in based on the embedded point rule so as to automatically introduce the at least one embedded point into the application to be tested, wherein the embedded point codes are separated from the business codes corresponding to the business development.
The invention also provides a performance monitoring device, comprising:
the processing module is used for introducing at least one buried point in the application to be tested;
the acquisition module is used for acquiring the performance log monitored by the at least one buried point;
the judging module is used for performing performance analysis on the abnormal partial logs when at least partial logs in the performance logs are abnormal so as to judge whether preset early warning conditions are met or not;
and the prompt module is used for sending out early warning prompts when the preset early warning conditions are met.
In one embodiment, the apparatus further comprises:
the comparison module is used for comparing each performance index in the performance log with a corresponding performance threshold value after the performance log monitored by the at least one embedded point is obtained;
and the determining module is used for determining the partial logs to which the partial performance indexes belong as the abnormal partial logs when the partial performance indexes in the performance logs are not matched with the corresponding performance thresholds respectively.
In one embodiment, the apparatus further comprises:
and the storage module is used for respectively storing the performance log and the abnormal partial log as an offline log and a real-time log.
In one embodiment, the determining module comprises:
and the judging submodule is used for periodically carrying out performance analysis on the abnormal partial logs according to the received preset early warning rule when at least partial logs in the performance logs are abnormal so as to judge whether the preset early warning condition corresponding to the preset early warning rule is reached.
In one embodiment, the processing module comprises:
the generating submodule is used for automatically generating a buried point code and a buried point rule corresponding to the at least one buried point according to the developed buried point script and the plug-in matched with the buried point script;
and the compiling submodule is used for automatically compiling the embedded point code by using a compiling plug-in based on the embedded point rule when the service development is carried out on the application to be tested so as to automatically introduce the at least one embedded point into the application to be tested, wherein the embedded point code is separated from the service code corresponding to the service development.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
when monitoring the performance log through at least one buried point introduced into the application to be tested, the performance log can be preliminarily judged, when judging that at least part of logs in the performance log are abnormal, the abnormal part of logs can be automatically subjected to performance analysis to judge whether preset early warning conditions are met, if the preset early warning conditions are met, an early warning prompt is sent out, so that the performance problems existing in the APP can be found in real time in the test stage, and timely feedback is carried out, so that developers can timely repair the problems, and the formally-issued APP is guaranteed to have good performance.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
The technical solution of the present invention is further described in detail by the accompanying drawings and embodiments.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the principles of the invention and not to limit the invention. In the drawings:
FIG. 1 is a flow chart illustrating a performance monitoring method according to an exemplary embodiment.
FIG. 2 is a flow diagram illustrating another performance monitoring method according to an example embodiment.
FIG. 3 is a display screen shot illustrating a performance metric, according to an example embodiment.
FIG. 4 is a block diagram illustrating a performance monitoring device, according to an example embodiment.
FIG. 5 is a block diagram illustrating another performance monitoring device according to an exemplary embodiment.
Detailed Description
The preferred embodiments of the present invention will be described in conjunction with the accompanying drawings, and it will be understood that they are described herein for the purpose of illustration and explanation and not limitation.
In order to solve the above technical problem, an embodiment of the present disclosure provides a performance monitoring method, which is applied to a performance monitoring program, system or device, and an execution subject of the method may be a terminal such as a mobile phone, a computer, or a server, as shown in fig. 1, where the method includes steps S101 to S104:
in step S101, at least one buried point is introduced in the application to be tested;
in step S102, a performance log monitored by at least one buried point is obtained;
the types of the performance indexes in the performance log can be data such as crash, katton, cpu utilization rate, memory occupation, page frame rate and the like.
In step S103, when at least a part of the logs in the performance log are abnormal, performing performance analysis on the abnormal part of the logs to determine whether a preset early warning condition is met;
in step S104, when a preset warning condition is reached, a warning prompt is issued.
When monitoring the performance log through at least one buried point introduced into the application to be tested, the performance log can be preliminarily judged, when judging that at least part of logs in the performance log are abnormal, the abnormal part of logs can be automatically subjected to performance analysis to judge whether preset early warning conditions are met, if the preset early warning conditions are met, an early warning prompt is sent out, so that the performance problems existing in the APP can be found in real time in the test stage, and timely feedback is carried out, so that developers can timely repair the problems, and the formally-issued APP is guaranteed to have good performance.
When the early warning prompt is sent out, the prompt can be carried out through a chart and a management page with good interaction, as shown in fig. 3.
In one embodiment, after obtaining the log of the performance monitored by the at least one buried point, the method further comprises:
comparing each performance index in the performance log with a corresponding performance threshold respectively;
and when the partial performance indexes in the performance logs are not matched with the corresponding performance thresholds respectively, determining the partial logs to which the partial performance indexes belong as abnormal partial logs.
After the performance logs monitored by at least one buried point are obtained, each performance index in the performance logs can be automatically compared with a corresponding performance threshold value respectively, and when part of performance indexes in the performance logs are not matched with the corresponding performance threshold values respectively, the performance indexes are abnormal and are not matched with the normal threshold values, so that the part of the logs to which the part of performance indexes belong can be automatically determined to be abnormal part of logs.
In one embodiment, the method further comprises:
and respectively storing the performance log and the abnormal partial log as an offline log and a real-time log.
The performance logs and the abnormal partial logs are respectively used as offline logs and real-time logs to be stored, so that data statistics can be carried out on all the performance logs, real-time analysis and early warning can be carried out on the real-time logs, and then early warning can be timely carried out, so that the purpose of real-time analysis is achieved.
Of course, the abnormal partial log is only a small part of the whole performance log exceeding the corresponding performance threshold and is additionally stored in a search engine for real-time analysis, so that the feasibility of real-time analysis is guaranteed.
In one embodiment, when at least part of logs in the performance log are abnormal, performing performance analysis on the abnormal part of logs to judge whether a preset early warning condition is reached, including:
when at least part of logs in the performance logs are abnormal, performing performance analysis on the abnormal part of logs periodically according to a received preset early warning rule so as to judge whether a preset early warning condition corresponding to the preset early warning rule is reached.
When at least part of logs in the performance logs are abnormal, the performance analysis can be periodically carried out on the abnormal part of logs (namely real-time logs) according to the received preset early warning rule, so that whether the preset early warning condition corresponding to the preset early warning rule is met or not is automatically judged, if yes, a prompt can be sent in at least one mode of mail, short message, telephone, instant message and the like, so that early warning can be timely carried out, and the performance problem can be timely fed back in multiple modes.
The preset early warning rules can be edited by a user through a web page of the APM application performance management platform and submitted through interface services provided for the user, and a foolproof early warning rule compiling scheme is provided for the user by adding an interface service layer, so that the availability and the usability of the early warning services are greatly improved.
In addition, the threshold values of all performance indexes in the preset early warning condition are more rigorous compared with the performance threshold value of abnormal judgment.
As shown in fig. 2, in an embodiment, the step S101 shown in fig. 1, that is, the step of introducing at least one buried point into the application to be tested, may include steps S201 and S202:
in step S201, a buried point code and a buried point rule corresponding to at least one buried point are automatically generated according to the developed buried point script and the plug-in matched with the buried point script;
since the embedded point script cannot be directly used, the embedded point code and the embedded point rule can be automatically generated through a plug-in matched with the embedded point script.
And the buried point script can be an AspectJ script, and the plug-in matched with the buried point script can be a Gradle plug-in, for example: after the developed AspectJ script is matched with the self-developed Gradle plug-in AspectJScript, a code apmActivities. jar packet corresponding to a buried point can be generated (the apmActivities. jar packet stores a buried point code and a buried point rule corresponding to at least one buried point).
The embedded point rule may be that a certain part of embedded point codes are used for monitoring the XX performance index, and include both the function of each part of embedded point codes and the identifier of the performance index that each part of codes needs to monitor, for example, when a certain part of embedded point codes is used for monitoring the execution time of the XX method, there is a embedded point rule — a certain part of embedded point codes are used for monitoring the execution time of the XX method, so that the embedded point codes for monitoring the execution time of the XX method can be automatically added based on the embedded point rule.
In step S202, when performing service development on an application to be tested, a compiling plug-in is used to automatically compile a buried point code based on a buried point rule, so as to automatically introduce at least one buried point into the application to be tested, where the buried point code is separated from a service code corresponding to the service development.
After a buried point code and a buried point rule corresponding to at least one buried point are automatically generated according to a buried point script and a self-developed plug-in, when business development is carried out on an application to be tested, the buried point code is automatically compiled by using a compiling plug-in based on the buried point rule, so that at least one buried point is automatically introduced into the application to be tested, and the buried point rule is generated based on the buried point script, so that the buried point can be automatically generated without the access of developers, and meanwhile, the complete separation of the business development (namely the research and development of the business code) and the data acquisition function development (namely the research and development of the buried point code) is realized by using the self-developed Gradle plug-in, and the interference of the buried point on the business development is completely avoided; in addition, the embedded point is automatically generated by utilizing the embedded point rule, so that the introduction expansibility of the embedded point is stronger, and the embedded point can be embedded in a specific service in a self-defined log mode to meet the specific statistical analysis requirement; of course, the automatic point burying has no manual intervention, so the accuracy of the point burying is higher, and the accuracy of the collection performance log is higher than that of the manual point burying mode of developers.
The invention will be further described with reference to specific examples:
the work flow of the invention is mainly divided into the following three parts:
1. automatic buried point acquisition performance data
Developers only need to integrate APM (Application Performance Management) SDK (Software Development Kit) and complete simple initialization, and the SDK collects most Performance data logs (such as data of crash, Caton, cpu utilization rate, memory occupation, page frame rate and the like) through an automatic embedding technology and reports the data to a server for processing. In addition, the relevant logs can be collected and reported for analysis by manual embedding points (service exception, service code execution efficiency and the like);
taking an android mobile phone platform as an example, the automatic embedding point scheme mainly depends on aspect-oriented programming realized by the AspectJ technology and the cooperation of Gradle plug-ins to finish the automatic generation of embedding point function codes in the compiling stage. The specific scheme is as follows:
1) the method comprises the following steps of developing an APM (application performance management) SDK (software development kit) to provide a log reporting function;
2) developing an AspectJ script to be matched with a self-developed Gradle plug-in AspectJScript to generate a corresponding automatic point-burying required code apmApects.jar packet;
during APP project development, compiling is carried out by introducing (manual and automatic) apmApects.jar packages and matching with self-developed Gradle plug-in AspectJweaves, and final realization of automatic embedded points in APP is completed.
2. Log analysis statistics
The log is divided into two parts at the back end, one part is stored in an offline log system, and the other part is stored in a real-time log system (namely a search engine). The off-line log system mainly performs data statistics on massive performance logs, and the real-time log system mainly performs real-time analysis and early warning;
after receiving the performance log, the interface service determines whether the log is abnormal according to a corresponding threshold. And for the abnormal logs, the abnormal logs are backed up to a search engine so as to achieve the purpose of real-time analysis.
3. Early warning
The early warning system mainly utilizes a rule query function of the Elastalert early warning service and an aggregation statistical function of an ElasticSearch search engine. The method comprises the following specific steps:
1) early warning rule edited by user through web page of APM management platform
2) The interface service saves the early warning rules submitted by the user as a configuration file and submits the configuration file to the early warning service
3) The Elastalert early warning service regularly initiates a request to a search engine according to the rule information submitted by the user, and matches the corresponding rule in real time. If the rule condition is satisfied, a mail is sent to notify the user.
As shown in fig. 4, the present invention also provides a performance monitoring device, including:
a processing module 401 configured to introduce at least one buried point in an application to be tested;
an obtaining module 402 configured to obtain a performance log monitored by at least one buried point;
the judging module 403 is configured to, when at least part of the logs in the performance log are abnormal, perform performance analysis on the abnormal part of the logs to judge whether a preset early warning condition is reached;
a prompt module 404 configured to issue an early warning prompt when a preset early warning condition is reached.
In one embodiment, the apparatus further comprises:
the comparison module is configured to compare each performance index in the performance log with a corresponding performance threshold respectively after the performance log monitored by at least one embedded point is obtained;
and the determining module is configured to determine the partial logs to which the partial performance indexes belong as abnormal partial logs when the partial performance indexes in the performance logs are not matched with the corresponding performance thresholds respectively.
In one embodiment, the apparatus further comprises:
and the saving module is configured to save the performance log and the abnormal partial log as an offline log and a real-time log respectively.
In one embodiment, the determining module comprises:
and the judging submodule is configured to periodically perform performance analysis on the abnormal partial logs according to the received preset early warning rule when at least partial logs in the performance logs are abnormal so as to judge whether the preset early warning condition corresponding to the preset early warning rule is reached.
As shown in fig. 5, in one embodiment, the processing module 401 may include:
the generation submodule 4011 is configured to automatically generate a buried point code and a buried point rule corresponding to at least one buried point according to the developed buried point script and the plug-in matched with the buried point script;
the compiling submodule 4012 is configured to, when business development is performed on an application to be tested, automatically compile a buried point code using a compiling plug-in based on a buried point rule, so as to automatically introduce at least one buried point into the application to be tested, where the buried point code is separated from a business code corresponding to the business development.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Finally, the performance monitoring device of the invention is suitable for terminal equipment. For example, it may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, etc.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (8)

1. A method of performance monitoring, comprising:
introducing at least one buried point in an application to be tested;
acquiring a performance log monitored by the at least one buried point;
when at least part of the logs in the performance logs are abnormal, performing performance analysis on the abnormal part of the logs to judge whether a preset early warning condition is met;
when the preset early warning condition is reached, sending out an early warning prompt;
when at least part of logs in the performance logs are abnormal, performing performance analysis on the abnormal part of logs to judge whether preset early warning conditions are met, wherein the method comprises the following steps:
when at least part of logs in the performance logs are abnormal, periodically performing performance analysis on the abnormal part of logs according to a received preset early warning rule so as to judge whether a preset early warning condition corresponding to the preset early warning rule is reached;
the preset early warning rules are edited by a user through a web page of the APM application performance management platform and submitted through interface services provided for the user.
2. The method of claim 1, wherein after obtaining the log of the performance monitored by the at least one buried site, the method further comprises:
comparing each performance index in the performance log with a corresponding performance threshold respectively;
and when the partial performance indexes in the performance logs are not matched with the corresponding performance thresholds respectively, determining the partial logs to which the partial performance indexes belong as the abnormal partial logs.
3. The method of claim 1, further comprising:
and respectively storing the performance log and the abnormal partial log as an off-line log and a real-time log.
4. The method according to any one of claims 1 to 3,
the introduction of at least one buried point in the application to be tested comprises:
automatically generating a buried point code and a buried point rule corresponding to the at least one buried point according to the developed buried point script and a plug-in matched with the buried point script;
and when the business development is carried out on the application to be tested, automatically compiling the embedded point codes by using a compiling plug-in based on the embedded point rule so as to automatically introduce the at least one embedded point into the application to be tested, wherein the embedded point codes are separated from the business codes corresponding to the business development.
5. A performance monitoring device, comprising:
the processing module is used for introducing at least one buried point in the application to be tested;
the acquisition module is used for acquiring the performance log monitored by the at least one buried point;
the judging module is used for performing performance analysis on the abnormal partial logs when at least partial logs in the performance logs are abnormal so as to judge whether preset early warning conditions are met or not;
the prompting module is used for sending out early warning prompts when the preset early warning conditions are met;
the judging module comprises:
the judging submodule is used for periodically carrying out performance analysis on the abnormal partial logs according to a received preset early warning rule when at least partial logs in the performance logs are abnormal so as to judge whether a preset early warning condition corresponding to the preset early warning rule is reached;
the preset early warning rules are edited by a user through a web page of the APM application performance management platform and submitted through interface services provided for the user.
6. The apparatus of claim 5, further comprising:
the comparison module is used for comparing each performance index in the performance log with a corresponding performance threshold value after the performance log monitored by the at least one embedded point is obtained;
and the determining module is used for determining the partial logs to which the partial performance indexes belong as the abnormal partial logs when the partial performance indexes in the performance logs are not matched with the corresponding performance thresholds respectively.
7. The apparatus of claim 5, further comprising:
and the storage module is used for respectively storing the performance log and the abnormal partial log as an offline log and a real-time log.
8. The apparatus according to any one of claims 5 to 7,
the processing module comprises:
the generating submodule is used for automatically generating a buried point code and a buried point rule corresponding to the at least one buried point according to the developed buried point script and the plug-in matched with the buried point script;
and the compiling submodule is used for automatically compiling the embedded point code by using a compiling plug-in based on the embedded point rule when the service development is carried out on the application to be tested so as to automatically introduce the at least one embedded point into the application to be tested, wherein the embedded point code is separated from the service code corresponding to the service development.
CN201810129112.5A 2018-02-08 2018-02-08 Performance monitoring method and device Active CN108280022B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810129112.5A CN108280022B (en) 2018-02-08 2018-02-08 Performance monitoring method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810129112.5A CN108280022B (en) 2018-02-08 2018-02-08 Performance monitoring method and device

Publications (2)

Publication Number Publication Date
CN108280022A CN108280022A (en) 2018-07-13
CN108280022B true CN108280022B (en) 2022-04-01

Family

ID=62808095

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810129112.5A Active CN108280022B (en) 2018-02-08 2018-02-08 Performance monitoring method and device

Country Status (1)

Country Link
CN (1) CN108280022B (en)

Families Citing this family (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109388539B (en) * 2018-09-26 2023-02-07 中国平安财产保险股份有限公司 Application performance monitoring method and device, computer equipment and storage medium
CN109495340A (en) * 2018-11-02 2019-03-19 国电南京自动化股份有限公司 A kind of Android application performance monitoring statisticss method and system
CN109542743B (en) * 2018-11-16 2022-04-12 北京微播视界科技有限公司 Log checking method and device, electronic equipment and computer readable storage medium
CN110119406B (en) * 2019-04-09 2021-06-01 口碑(上海)信息技术有限公司 Method and device for checking real-time task records
CN110245046B (en) * 2019-05-29 2023-05-02 吉旗(成都)科技有限公司 Data statistics method and device for Android App without buried points
CN110704299A (en) * 2019-08-27 2020-01-17 紫光云(南京)数字技术有限公司 Android platform APP abnormity testing method and device
CN111090433B (en) * 2019-10-23 2023-10-20 贝壳技术有限公司 Data processing method, device and storage medium
CN110955438A (en) * 2019-12-03 2020-04-03 北京博睿宏远数据科技股份有限公司 Method, device and equipment for monitoring performance of small program and storage medium
CN113282443A (en) * 2020-02-19 2021-08-20 北京京东尚科信息技术有限公司 Method and device for monitoring real-time data
CN112306826A (en) * 2020-02-24 2021-02-02 北京字节跳动网络技术有限公司 Method and apparatus for processing information for terminal
CN111352849B (en) * 2020-03-13 2023-05-16 杭州趣维科技有限公司 Mobile terminal code-free embedded point solving method
CN112148606B (en) * 2020-09-22 2024-05-17 京东科技控股股份有限公司 Buried point test method, buried point test device, buried point test equipment and computer readable medium
CN112434949A (en) * 2020-11-25 2021-03-02 平安普惠企业管理有限公司 Service early warning processing method, device, equipment and medium based on artificial intelligence
CN112882891B (en) * 2021-02-05 2024-04-09 上海识装信息科技有限公司 Method for monitoring Web access link of client
CN113159608B (en) * 2021-05-06 2022-04-22 广东鹰视能效科技有限公司 Early warning abnormity processing method and system based on early warning identification

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012174174A (en) * 2011-02-24 2012-09-10 Nec Biglobe Ltd Application log acquisition system, portable terminal, application log acquisition method, and program
CN106294091A (en) * 2016-08-11 2017-01-04 福建富士通信息软件有限公司 A kind of without intrusive mood daily record interception method for analyzing performance and system
CN106970789A (en) * 2017-03-07 2017-07-21 武汉斗鱼网络科技有限公司 A kind of Android end groups bury point methods and system automatically in AOP and AspectJ daily record

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104268064B (en) * 2014-09-11 2018-03-27 北京音之邦文化科技有限公司 Abnormity diagnosis method and device for product log

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012174174A (en) * 2011-02-24 2012-09-10 Nec Biglobe Ltd Application log acquisition system, portable terminal, application log acquisition method, and program
CN106294091A (en) * 2016-08-11 2017-01-04 福建富士通信息软件有限公司 A kind of without intrusive mood daily record interception method for analyzing performance and system
CN106970789A (en) * 2017-03-07 2017-07-21 武汉斗鱼网络科技有限公司 A kind of Android end groups bury point methods and system automatically in AOP and AspectJ daily record

Also Published As

Publication number Publication date
CN108280022A (en) 2018-07-13

Similar Documents

Publication Publication Date Title
CN108280022B (en) Performance monitoring method and device
CN105138371B (en) Method for upgrading software and device
CN109885496B (en) Test log management method and system
CN113765714B (en) Equipment network distribution method and device, storage medium and electronic equipment
CN107203464B (en) Method and device for positioning service problem
CN114265758A (en) Full link monitoring method and device based on software and hardware integrated architecture
CN110928548A (en) Data processing method and equipment
CN113434396A (en) Interface test method, device, equipment, storage medium and program product
CN114417428B (en) Privacy calculation method and system based on distributed cooperation
CN113094238A (en) Method and device for monitoring abnormity of business system
CN111626445A (en) Electric appliance maintenance method and device, electronic equipment and storage medium
CN112948224A (en) Data processing method, device, terminal and storage medium
CN110597688A (en) Monitoring information acquisition method and system
CN111324583B (en) Service log classification method and device
CN111431733A (en) Service alarm coverage information evaluation method and device
CN112181695A (en) Abnormal application processing method, device, server and storage medium
CN106649352B (en) Data processing method and device
CN113495723B (en) Method, device and storage medium for calling functional component
CN114650211A (en) Fault repairing method, device, electronic equipment and computer readable storage medium
CN112737896B (en) Bandwidth data checking method, device, medium and electronic equipment
CN115052041A (en) Channel identification distribution method, device, equipment and storage medium
CN112130849B (en) Code automatic generation method and device
CN113452533B (en) Charging self-inspection and self-healing method and device, computer equipment and storage medium
CN115061907A (en) Test method and test system, electronic device, and storage medium
CN113568769B (en) Exception handling method, device, server 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