CN115220984A - A business application monitoring method, device, electronic device, and storage medium - Google Patents

A business application monitoring method, device, electronic device, and storage medium Download PDF

Info

Publication number
CN115220984A
CN115220984A CN202110405674.XA CN202110405674A CN115220984A CN 115220984 A CN115220984 A CN 115220984A CN 202110405674 A CN202110405674 A CN 202110405674A CN 115220984 A CN115220984 A CN 115220984A
Authority
CN
China
Prior art keywords
monitoring
application
data
business application
business
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
Application number
CN202110405674.XA
Other languages
Chinese (zh)
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.)
NetsUnion Clearing Corp
Original Assignee
NetsUnion Clearing Corp
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 NetsUnion Clearing Corp filed Critical NetsUnion Clearing Corp
Priority to CN202110405674.XA priority Critical patent/CN115220984A/en
Publication of CN115220984A publication Critical patent/CN115220984A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/302Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is a software system

Landscapes

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

Abstract

本申请公开了一种业务应用监控方法、装置及电子设备、存储介质,由监控服务器执行,其中,所述方法包括:基于监控接口,获取业务应用的监控请求;根据所述业务应用的监控请求,获取所述业务应用的原始监控数据;对所述业务应用的原始监控数据进行聚合处理,并将所述业务应用的聚合处理结果存储到业务应用监控数据库中。本申请的业务应用监控方法通过预设的统一监控接口,能够根据用户的需求对相应的业务应用的数据进行采集和聚合处理,并将处理结果存储到业务应用监控数据库中,为后续用户对监控数据的查询提供了基础,该过程无需人工分析和汇总监控数据,节省了大量的人力成本,且提高了业务应用的监控效率。

Figure 202110405674

The present application discloses a business application monitoring method, device, electronic device, and storage medium, which are executed by a monitoring server, wherein the method includes: obtaining a monitoring request of a business application based on a monitoring interface; , obtain the original monitoring data of the business application; perform aggregation processing on the original monitoring data of the business application, and store the aggregation processing result of the business application in the business application monitoring database. The business application monitoring method of the present application, through the preset unified monitoring interface, can collect and aggregate the data of the corresponding business applications according to the needs of users, and store the processing results in the business application monitoring database, so as to monitor the monitoring for subsequent users. Data query provides the basis. This process does not require manual analysis and aggregation of monitoring data, which saves a lot of labor costs and improves the monitoring efficiency of business applications.

Figure 202110405674

Description

一种业务应用监控方法、装置及电子设备、存储介质A business application monitoring method, device, electronic device, and storage medium

技术领域technical field

本申请涉及业务应用监控技术领域,尤其涉及一种业务应用监控方法、装置及电子设备、存储介质。The present application relates to the technical field of business application monitoring, and in particular, to a business application monitoring method, device, electronic device, and storage medium.

背景技术Background technique

业务应用监控,是指对关键业务应用的监测和优化,提高业务应用的可用性和可靠性指标,在提供更优质服务的前提下,降低运维的投入和工作量,为用户带来更多的商业利益和客户体验。Business application monitoring refers to the monitoring and optimization of key business applications, improving the availability and reliability indicators of business applications, reducing the investment and workload of operation and maintenance under the premise of providing better services, and bringing more benefits to users. Business interests and customer experience.

然而,发明人发现,现有的监控方法需要人工统计和分析监控指标数据,这需要耗费大量的人力成本,且监控效率不高。However, the inventors found that the existing monitoring method requires manual statistics and analysis of monitoring index data, which requires a lot of labor costs, and the monitoring efficiency is not high.

发明内容SUMMARY OF THE INVENTION

本申请实施例提供了一种业务应用监控方法、装置及电子设备、存储介质,以降低业务应用的监控成本,提高业务应用的监控效率。The embodiments of the present application provide a business application monitoring method, apparatus, electronic device, and storage medium, so as to reduce the monitoring cost of business applications and improve the monitoring efficiency of business applications.

本申请实施例采用下述技术方案:The embodiment of the present application adopts the following technical solutions:

第一方面,本申请实施例提供一种业务应用监控方法,由监控服务器执行,其中,所述方法包括:In a first aspect, an embodiment of the present application provides a business application monitoring method, which is executed by a monitoring server, wherein the method includes:

基于监控接口,获取业务应用的监控请求;Based on the monitoring interface, obtain the monitoring request of the business application;

根据所述业务应用的监控请求,获取所述业务应用的原始监控数据;According to the monitoring request of the business application, obtain the original monitoring data of the business application;

对所述业务应用的原始监控数据进行聚合处理,并将所述业务应用的聚合处理结果存储到业务应用监控数据库中。Perform aggregation processing on the original monitoring data of the business application, and store the aggregation processing result of the business application in a business application monitoring database.

可选地,所述业务应用的监控请求包括业务应用名称和监控项,所述根据所述业务应用的监控请求,获取所述业务应用的原始监控数据包括:Optionally, the monitoring request of the business application includes a business application name and monitoring items, and obtaining the original monitoring data of the business application according to the monitoring request of the business application includes:

根据所述业务应用名称和所述监控项,获取所述业务应用名称对应的业务应用的监控项数据,并将所述业务应用的监控项数据作为所述业务应用的原始监控数据,其中所述业务应用的监控项数据包括业务指标数据和硬件指标数据。Obtain the monitoring item data of the business application corresponding to the business application name according to the business application name and the monitoring item, and use the monitoring item data of the business application as the original monitoring data of the business application, wherein the The monitoring item data of the business application includes business indicator data and hardware indicator data.

可选地,所述获取所述业务应用名称对应的业务应用的监控项数据包括:Optionally, the obtaining the monitoring item data of the business application corresponding to the business application name includes:

确定所述业务应用的应用日志解析规则;determining the application log parsing rule of the business application;

根据所述应用日志解析规则,利用相应的数据采集工具采集所述业务应用的业务指标数据。According to the application log parsing rule, use a corresponding data collection tool to collect business indicator data of the business application.

可选地,所述获取所述业务应用名称对应的业务应用的监控项数据包括:Optionally, the obtaining the monitoring item data of the business application corresponding to the business application name includes:

获取所述业务应用与主机的关系列表;Obtain the relationship list between the business application and the host;

根据所述关系列表,获取与所述业务应用对应的主机的硬件指标数据。According to the relationship list, the hardware indicator data of the host corresponding to the service application is acquired.

可选地,所述主机和所述业务应用均包括多个,所述聚合处理结果包括主机维度的聚合处理结果和业务应用维度的聚合处理结果,所述对所述业务应用的原始监控数据进行聚合处理包括:Optionally, both the host and the business application include multiple ones, the aggregation processing result includes the aggregation processing result of the host dimension and the aggregation processing result of the business application dimension, and the raw monitoring data of the business application is performed. Aggregation processing includes:

确定目标主机上部署的各业务应用的业务指标数据及硬件指标数据,并将各业务应用的业务指标数据及硬件指标数据分别求平均值,作为所述目标主机在主机维度的聚合处理结果;Determine the business index data and hardware index data of each business application deployed on the target host, and calculate the average value of the business index data and hardware index data of each business application as the aggregation processing result of the target host in the host dimension;

确定目标业务应用所在的各主机的硬件指标数据及业务指标数据,并将各主机的硬件指标数据及业务指标数据分别求平均值,作为所述目标业务应用在业务应用维度的聚合处理结果;Determine the hardware index data and business index data of each host where the target business application is located, and calculate the average value of the hardware index data and business index data of each host respectively, as the aggregation processing result of the target business application in the business application dimension;

其中,所述目标主机为多个主机中的任意一个,所述目标业务应用为多个业务应用中的任意一个。Wherein, the target host is any one of multiple hosts, and the target service application is any one of multiple service applications.

可选地,所述业务应用监控数据库为ElasticSearch搜索引擎,所述将所述业务应用的聚合处理结果存储到业务应用监控数据库中包括:Optionally, the business application monitoring database is an ElasticSearch search engine, and storing the aggregated processing results of the business application in the business application monitoring database includes:

将所述业务应用的聚合处理结果以时间轴的形式存储到所述ElasticSearch搜索引擎对应的索引分片中。The aggregate processing result of the business application is stored in the index shard corresponding to the ElasticSearch search engine in the form of a time axis.

可选地,所述方法还包括:Optionally, the method further includes:

基于所述监控接口,接收业务应用的监控数据查询请求;Based on the monitoring interface, receiving a monitoring data query request from a business application;

根据所述监控数据查询请求在所述业务应用监控数据库中进行查询,并返回监控数据查询结果。The query is performed in the business application monitoring database according to the monitoring data query request, and the monitoring data query result is returned.

可选地,所述监控数据查询请求包括时间范围、目标业务应用名称和目标监控项,所述根据所述监控数据查询请求在所述业务应用监控数据库中进行查询,并返回监控数据查询结果包括:Optionally, the monitoring data query request includes a time range, a target business application name, and a target monitoring item, and the query is performed in the business application monitoring database according to the monitoring data query request, and the returned monitoring data query result includes: :

在所述业务应用监控数据库中查询所述时间范围内,与所述目标业务应用名称和所述目标监控项对应的监控数据,作为所述监控数据查询结果。The monitoring data corresponding to the target business application name and the target monitoring item within the time range is queried in the business application monitoring database, as the monitoring data query result.

可选地,所述业务应用是指压力测试环境下的被测试应用,所述业务应用的监控请求还包括压力测试脚本,所述根据所述业务应用的监控请求,获取所述业务应用的原始监控数据还包括:Optionally, the business application refers to a tested application in a stress test environment, the monitoring request of the business application further includes a stress test script, and the original data of the business application is obtained according to the monitoring request of the business application. Monitoring data also includes:

根据所述压力测试脚本,获取所述被测试应用在所述压力测试环境下的所述原始监控数据。According to the stress test script, the raw monitoring data of the application under test in the stress test environment is acquired.

可选地,所述原始监控数据的维度包括业务应用维度和主机维度,所述业务应用维度和所述主机维度均包括以下一种或多种监控项:CPU使用率、内存、流量、响应次数、响应时间和系统成功率。Optionally, the dimensions of the original monitoring data include a business application dimension and a host dimension, and both the business application dimension and the host dimension include one or more of the following monitoring items: CPU usage, memory, traffic, and the number of responses. , response time and system success rate.

第二方面,本申请实施例还提供一种业务应用监控装置,应用于监控服务器,其中,所述装置用于实现前述之任一所述方法。In a second aspect, an embodiment of the present application further provides a service application monitoring apparatus, which is applied to a monitoring server, wherein the apparatus is used to implement any one of the aforementioned methods.

第三方面,本申请实施例还提供一种电子设备,包括:In a third aspect, an embodiment of the present application also provides an electronic device, including:

处理器;以及processor; and

被安排成存储计算机可执行指令的存储器,所述可执行指令在被执行时使所述处理器执行前述之任一所述方法。a memory arranged to store computer-executable instructions which, when executed, cause the processor to perform any of the methods described above.

第四方面,本申请实施例还提供一种计算机可读存储介质,所述计算机可读存储介质存储一个或多个程序,所述一个或多个程序当被包括多个应用程序的电子设备执行时,使得所述电子设备执行前述之任一所述方法。In a fourth aspect, embodiments of the present application further provide a computer-readable storage medium, where the computer-readable storage medium stores one or more programs, and the one or more programs are executed by an electronic device including multiple application programs , causing the electronic device to execute any one of the aforementioned methods.

本申请实施例采用的上述至少一个技术方案能够达到以下有益效果:本申请实施例的业务应用监控方法可以由单独部署的监控服务器来执行,在对业务应用进行监控时,先基于预设的统一监控接口,获取业务应用的监控请求;然后根据业务应用的监控请求,获取业务应用对应的原始监控数据;最后对业务应用的原始监控数据进行聚合处理,并将业务应用的聚合处理结果存储到业务应用监控数据库中,以便于后续根据业务应用监控数据库中存储的数据实现对业务应用的监控。本申请实施例的业务应用监控方法通过预设的统一监控接口,能够根据用户的需求对相应的业务应用的数据进行采集和聚合处理,并将处理结果存储到业务应用监控数据库中,为后续用户对监控数据的查询提供了基础,该过程无需人工分析和汇总监控数据,节省了大量的人力成本,且提高了业务应用的监控效率。The above-mentioned at least one technical solution adopted in the embodiment of the present application can achieve the following beneficial effects: the business application monitoring method in the embodiment of the present application can be executed by a monitoring server deployed separately, and when monitoring the business application, first based on a preset unified The monitoring interface obtains the monitoring request of the business application; then, according to the monitoring request of the business application, the original monitoring data corresponding to the business application is obtained; finally, the original monitoring data of the business application is aggregated, and the aggregated processing result of the business application is stored in the business application. In the application monitoring database, it is convenient to monitor the business application subsequently according to the data stored in the business application monitoring database. Through the preset unified monitoring interface, the business application monitoring method of the embodiment of the present application can collect and aggregate the data of corresponding business applications according to the needs of users, and store the processing results in the business application monitoring database for subsequent users. The query of monitoring data provides a basis. This process does not require manual analysis and aggregation of monitoring data, which saves a lot of labor costs and improves the monitoring efficiency of business applications.

附图说明Description of drawings

此处所说明的附图用来提供对本申请的进一步理解,构成本申请的一部分,本申请的示意性实施例及其说明用于解释本申请,并不构成对本申请的不当限定。在附图中:The drawings described herein are used to provide further understanding of the present application and constitute a part of the present application. The schematic embodiments and descriptions of the present application are used to explain the present application and do not constitute an improper limitation of the present application. In the attached image:

图1为现有技术中的一种应用于压力测试场景中的性能基线平台系统的结构示意图;1 is a schematic structural diagram of a performance baseline platform system applied in a stress test scenario in the prior art;

图2为本申请实施例一种业务应用监控方法的流程示意图;FIG. 2 is a schematic flowchart of a business application monitoring method according to an embodiment of the present application;

图3为本申请实施例一种业务应用监控流程示意图;FIG. 3 is a schematic diagram of a business application monitoring process according to an embodiment of the present application;

图4为本申请实施例一种业务应用监控系统的整体架构图;FIG. 4 is an overall architecture diagram of a business application monitoring system according to an embodiment of the present application;

图5为本申请实施例一种业务应用监控装置的结构示意图;5 is a schematic structural diagram of a service application monitoring device according to an embodiment of the present application;

图6为本申请实施例中一种电子设备的结构示意图。FIG. 6 is a schematic structural diagram of an electronic device in an embodiment of the present application.

具体实施方式Detailed ways

为使本申请的目的、技术方案和优点更加清楚,下面将结合本申请具体实施例及相应的附图对本申请技术方案进行清楚、完整地描述。显然,所描述的实施例仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。In order to make the objectives, technical solutions and advantages of the present application clearer, the technical solutions of the present application will be clearly and completely described below with reference to the specific embodiments of the present application and the corresponding drawings. Obviously, the described embodiments are only a part of the embodiments of the present application, but not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.

以下结合附图,详细说明本申请各实施例提供的技术方案。The technical solutions provided by the embodiments of the present application will be described in detail below with reference to the accompanying drawings.

实际应用中,很多场景都需要对业务应用的性能、可用性和可靠性等进行监控,例如在压力测试场景下,通过模拟被测试业务应用的软硬件环境及用户使用过程的系统负荷,长时间或超大负荷地运行被测试业务应用,来测试被测试业务应用的性能、可靠性、稳定性等。为了摸清被测试业务应用的全链路性能基线,标准化全链路的压力测试流程,降低压力测试门槛,需要对被测试业务应用在压力测试环境下的整体运行情况进行监控。In practical applications, the performance, availability, and reliability of business applications need to be monitored in many scenarios. For example, in a stress test scenario, by simulating the software and hardware environment of the tested business application and the system load of the user's use process, long-term or Run the business application under test under super load to test the performance, reliability, and stability of the business application under test. In order to find out the full-link performance baseline of the tested service application, standardize the full-link stress testing process, and lower the stress testing threshold, it is necessary to monitor the overall operation of the tested service application in the stress testing environment.

如图1所示,提供了现有技术中的一种应用于压力测试场景中的性能基线平台系统的结构示意图,主要涉及三大模块:1)发压端,用于准备发压数据、生产及组装各类压力测试脚本;2)环境治理端,用于快速构建压力测试环境,对齐基线版本;3)监控端,用于获取各个模块的业务和硬件监控指标,并进行聚合计算和展示。As shown in Figure 1, a schematic structural diagram of a performance baseline platform system applied in a stress test scenario in the prior art is provided, which mainly involves three major modules: 1) The pressure generating end is used to prepare the pressure generating data, production and assemble various stress test scripts; 2) the environment management terminal, which is used to quickly build the stress test environment and align the baseline version; 3) the monitoring terminal, which is used to obtain the business and hardware monitoring indicators of each module, and perform aggregate calculation and display.

然而,现有的监控端需要人工分别在Zabbix监控组件中查看硬件监控指标和应用日志等来分析业务应用的监控情况,并根据业务应用维度手工汇总监控指标数据,该过程需要耗费大量的人力成本,且监控效率不高。However, the existing monitoring terminal needs to manually check the hardware monitoring indicators and application logs in the Zabbix monitoring component to analyze the monitoring situation of business applications, and manually summarize the monitoring indicator data according to the business application dimension, which requires a lot of labor costs. , and the monitoring efficiency is not high.

基于此,本申请实施例针对上述监控端提供了一种业务应用监控方法,这里需要说明的是,上述列举的应用场景仅是为了便于对本申请技术方案的理解,本申请的技术方案的具体应用场景不限于此,例如也可以应用于非测试场景下对业务应用的监控,因此不应当以此构成对本申请的保护范围的不当限定。Based on this, the embodiment of the present application provides a business application monitoring method for the above monitoring terminal. It should be noted here that the application scenarios listed above are only for the convenience of understanding the technical solution of the present application, and the specific application of the technical solution of the present application. The scenario is not limited to this, for example, it can also be applied to monitoring of business applications in non-test scenarios, so this should not constitute an improper limitation of the protection scope of the present application.

具体地,本申请实施例提供的业务应用监控方法由监控服务器执行,如图2所示,提供了一种业务应用监控方法的流程示意图,所述方法包括至少包括如下步骤S210至步骤S230:Specifically, the business application monitoring method provided by the embodiment of the present application is executed by a monitoring server. As shown in FIG. 2 , a schematic flowchart of a business application monitoring method is provided, and the method includes at least the following steps S210 to S230:

步骤S210,基于监控接口,获取业务应用的监控请求。Step S210, based on the monitoring interface, obtain the monitoring request of the business application.

本申请实施例的业务应用监控方法可以由单独部署的监控服务器来执行,例如上述列举的性能基线平台系统中的监控端就可以看作是一种监控服务器。在对业务应用监控之前,本申请实施例事先在监控服务器上设置了统一的监控接口,能够统一接收前端发送业务应用的监控请求,同时还能为后续的用户查询提供统一的查询入口,极大地方便了用户对于业务应用的监控需求,提高了监控效率。The business application monitoring method in the embodiment of the present application may be executed by a monitoring server deployed separately. For example, the monitoring terminal in the performance baseline platform system listed above may be regarded as a monitoring server. Before monitoring the business application, the embodiment of the present application sets a unified monitoring interface on the monitoring server in advance, which can uniformly receive the monitoring request of the business application sent by the front end, and can also provide a unified query entry for subsequent user queries, which greatly improves the It facilitates users' monitoring requirements for business applications and improves monitoring efficiency.

在进行业务应用监控时,通过上述预设好的统一监控接口,可以获取到前端的业务应用的监控请求,这里的获取方式可以是主动获取,也可以是被动接收,获取频率可以是实时获取,也可以是每隔预设时间如每5秒,或者每分钟获取一次,具体如何获取业务应用的监控请求,本领域技术人员可根据实际需求灵活设置,在此不作具体限定。During business application monitoring, the monitoring request of the front-end business application can be obtained through the above-mentioned preset unified monitoring interface. The obtaining method here can be active or passive receiving, and the obtaining frequency can be real-time obtaining. It may also be obtained every preset time, such as every 5 seconds, or once every minute. How to obtain the monitoring request of the business application can be flexibly set by those skilled in the art according to actual needs, which is not specifically limited here.

步骤S220,根据所述业务应用的监控请求,获取所述业务应用的原始监控数据。Step S220: Acquire original monitoring data of the business application according to the monitoring request of the business application.

在获取到业务应用的监控请求后,可以根据业务应用的监控请求采集业务应用对应的原始监控数据,数据采集的频率同样可以是实时采集,也可以是每隔预设时间如每5秒,或者每分钟采集一次,可以和上述业务应用的监控请求的获取频率相对应设置。当然,具体如何设置数据的采集频率,本领域技术人员也可根据实际需求灵活设置,在此不作具体限定。After the monitoring request of the business application is obtained, the raw monitoring data corresponding to the business application can be collected according to the monitoring request of the business application. The frequency of data collection can also be real-time collection, or every preset time such as every 5 seconds, or It is collected once every minute, which can be set corresponding to the acquisition frequency of the monitoring request of the above-mentioned business application. Of course, how to specifically set the data collection frequency can also be flexibly set by those skilled in the art according to actual needs, which is not specifically limited here.

这里的原始监控数据可以理解为是业务应用在实际运行过程中所产生的各种数据,以此作为后续处理的基础数据。The raw monitoring data here can be understood as various data generated during the actual operation of the business application, which is used as the basic data for subsequent processing.

步骤S230,对所述业务应用的原始监控数据进行聚合处理,并将所述业务应用的聚合处理结果存储到业务应用监控数据库中。Step S230: Perform aggregation processing on the original monitoring data of the business application, and store the aggregation processing result of the business application in a business application monitoring database.

由于业务应用在实际运行过程中所产生的数据量和数据维度是十分丰富的,为了便于后续用户对监控数据的查看,满足用户的监控需求,本申请实施例可以对上述采集到的原始监控数据进行聚合处理,使得聚合后的监控数据能够更加全面和清晰,省去了用户手动分析和汇总监控数据的环节,进而提高业务应用的监控效率,满足用户的监控需求。Since the amount of data and data dimensions generated by business applications in the actual operation process are very rich, in order to facilitate subsequent users to view the monitoring data and meet the monitoring needs of users, the embodiment of the present application may Aggregation processing makes the aggregated monitoring data more comprehensive and clear, eliminating the need for users to manually analyze and summarize monitoring data, thereby improving the monitoring efficiency of business applications and meeting the monitoring needs of users.

为了为后续用户查询监控数据提供查询基础,本申请实施例可以将聚合处理后得到的业务应用聚合处理结果存储到业务应用监控数据库中,实现对监控数据的有效管理。In order to provide a query basis for subsequent users to query the monitoring data, the embodiment of the present application can store the business application aggregation processing result obtained after the aggregation processing in the business application monitoring database, so as to achieve effective management of the monitoring data.

本申请实施例的业务应用监控方法通过预设的统一监控接口,能够根据用户的需求对相应的业务应用的数据进行采集和聚合处理,并将处理结果存储到业务应用监控数据库中,为后续用户对监控数据的查询提供了基础,且该过程无需人工分析和汇总监控数据,节省了大量的人力成本,提高了业务应用的监控效率。Through the preset unified monitoring interface, the business application monitoring method of the embodiment of the present application can collect and aggregate the data of corresponding business applications according to the needs of users, and store the processing results in the business application monitoring database for subsequent users. The query of monitoring data provides a basis, and the process does not require manual analysis and aggregation of monitoring data, which saves a lot of labor costs and improves the monitoring efficiency of business applications.

在本申请的一个实施例中,所述业务应用的监控请求包括业务应用名称和监控项,所述根据所述业务应用的监控请求,获取所述业务应用的原始监控数据包括:根据所述业务应用名称和所述监控项,获取所述业务应用名称对应的业务应用的监控项数据,并将所述业务应用的监控项数据作为所述业务应用的原始监控数据,其中所述业务应用的监控项数据包括业务指标数据和硬件指标数据。In an embodiment of the present application, the monitoring request of the business application includes a business application name and monitoring items, and obtaining the original monitoring data of the business application according to the monitoring request of the business application includes: according to the business application The application name and the monitoring item, obtain the monitoring item data of the business application corresponding to the business application name, and use the monitoring item data of the business application as the original monitoring data of the business application, wherein the monitoring of the business application Item data includes business indicator data and hardware indicator data.

本申请实施例的业务应用的监控请求具体可以包括业务应用名称和监控项等内容,业务应用名称即指用户想要监控的业务应用的名称标识,如业务应用A、业务应用B、业务应用C等等,监控项即指用户想要监控业务应用的哪些维度的数据,如监控项x1、监控项x2、监控项x3等。The monitoring request of the business application in this embodiment of the present application may specifically include the business application name and monitoring items, etc. The business application name refers to the name identifier of the business application that the user wants to monitor, such as business application A, business application B, and business application C. And so on, the monitoring items refer to the data of which dimensions of the business application the user wants to monitor, such as monitoring item x1, monitoring item x2, monitoring item x3, and so on.

在实际应用场景下,前端的页面上可以为用户展示可进行监控的业务应用列表及监控项列表,用户可以从中选择想要监控的业务应用,如业务应用A,以及对应的监控项,如监控项x1和监控项x2,这样本申请实施例在获取到前端的业务应用的监控请求时,就可以根据监控请求中携带的业务应用名称A和监控项x1和x2等信息,采集业务应用A在监控项x1和x2下的监控数据,作为业务应用A的原始监控数据。原始监控数据具体可以分为业务指标数据和硬件指标数据,业务指标数据即指业务应用本身的指标数据,硬件指标数据即指业务应用所在的主机的硬件指标数据。In the actual application scenario, the front-end page can display the list of business applications and monitoring items that can be monitored for users, from which the user can select the business application that he wants to monitor, such as business application A, and the corresponding monitoring items, such as monitoring Item x1 and monitoring item x2, so that when the embodiment of the present application obtains the monitoring request of the front-end business application, it can collect the business application A in the monitoring request according to the information such as the business application name A and the monitoring items x1 and x2 carried in the monitoring request. The monitoring data under monitoring items x1 and x2 are used as the original monitoring data of business application A. The raw monitoring data can be divided into business index data and hardware index data. The business index data refers to the index data of the business application itself, and the hardware index data refers to the hardware index data of the host where the business application is located.

在本申请的一个实施例中,所述获取所述业务应用名称对应的业务应用的监控项数据包括:确定所述业务应用的应用日志解析规则;根据所述应用日志解析规则,利用相应的数据采集工具采集所述业务应用的业务指标数据。In an embodiment of the present application, the obtaining the monitoring item data of the business application corresponding to the business application name includes: determining an application log parsing rule of the business application; using the corresponding data according to the application log parsing rule The collection tool collects service indicator data of the service application.

如前所述,业务应用的监控项数据可以包括业务指标数据,本申请实施例在获取业务应用的业务指标数据时,主要是基于业务应用的应用日志来获取,然而不同业务应用的应用日志解析规则不同,因此本申请实施例可以先根据业务应用名称确定业务应用对应的应用日志解析规则,然后根据应用日志解析规则,利用相应的数据采集工具采集业务应用的业务指标数据。As mentioned above, the monitoring item data of a business application may include business indicator data. When acquiring business indicator data of a business application in this embodiment of the present application, it is mainly acquired based on the application log of the business application. However, the application logs of different business applications are analyzed. The rules are different, so this embodiment of the present application can first determine the application log parsing rule corresponding to the business application according to the business application name, and then use the corresponding data collection tool to collect the business index data of the business application according to the application log parsing rule.

这里的数据采集工具例如可以包括Flume、Kafka和Logstash等工具。Flume是一款开源、高可靠、高扩展、容易管理、支持客户扩展的数据采集系统,Flume使用JRuby来构建,依赖Java运行环境。Kafka是一个分布式、分区的、多副本的、多订阅者,基于Zookeeper协调的分布式日志系统,常可用于Web/nginx日志、访问日志,消息服务等等。Logstash是一个开源数据收集引擎,具有实时管道功能,Logstash可以动态地将来自不同数据源的数据统一起来,并将数据标准化到用户所选择的目的地。The data collection tools here may include tools such as Flume, Kafka, and Logstash, for example. Flume is an open source, highly reliable, highly scalable, easy-to-manage data acquisition system that supports customer expansion. Flume uses JRuby to build and relies on the Java runtime environment. Kafka is a distributed, partitioned, multi-replica, multi-subscriber, distributed log system based on Zookeeper coordination. It is often used for Web/nginx logs, access logs, message services, and more. Logstash is an open source data collection engine with real-time pipeline capabilities, Logstash can dynamically unify data from different data sources and normalize the data to the destination of the user's choice.

除了上述列举的几种数据采集工具,还可以通过自定义脚本的方式采集原始监控数据,当然,具体采用哪些数据采集工具,本领域技术人员可根据实际需求灵活设置,在此不作具体限定。In addition to the several data collection tools listed above, raw monitoring data can also be collected through custom scripts. Of course, which data collection tools are used can be flexibly set by those skilled in the art according to actual needs, which is not specifically limited here.

在本申请的一个实施例中,所述获取所述业务应用名称对应的业务应用的监控项数据包括:获取所述业务应用与主机的关系列表;根据所述关系列表,获取与所述业务应用对应的主机的硬件指标数据。In an embodiment of the present application, the obtaining the monitoring item data of the business application corresponding to the business application name includes: obtaining a relationship list between the business application and the host; obtaining a relationship list with the business application according to the relationship list The hardware indicator data of the corresponding host.

如前所述,业务应用的监控项数据还可以包括硬件指标数据,本申请实施例在获取业务应用的硬件指标数据时,可以先获取业务应用与主机的关系列表,这里可以从Hippo企业应用开发平台中来获取业务应用与主机的关系列表,即Hippo中会存储有每个业务应用对应的主机列表,然后可以根据该主机列表,从Zabbix监控组件中获取用户事先配置好的主机的硬件监控项数据,作为业务应用对应的主机的硬件指标数据。As mentioned above, the monitoring item data of the business application may also include hardware indicator data. When acquiring the hardware indicator data of the business application in this embodiment of the present application, the relationship list between the business application and the host may be obtained first, which may be developed from the Hippo enterprise application. The relationship list between business applications and hosts is obtained from the platform, that is, Hippo will store the host list corresponding to each business application, and then according to the host list, the hardware monitoring items of the host configured in advance by the user can be obtained from the Zabbix monitoring component. The data is used as the hardware indicator data of the host corresponding to the business application.

Hippo是一个应用发布平台,能够为其接入的应用提供标准化的部署流程,满足应用标准的应用均可以接入应用发布平台,使用标准化部署流程进行部署。Zabbix是一个基于WEB界面的提供分布式系统监视以及网络监视功能的企业级的开源解决方案,Zabbix能够监视各种网络参数,保证服务器系统的安全运营,并提供灵活的通知机制以让系统管理员快速定位/解决存在的各种问题。当然,除了采用这两种工具采集主机的硬件指标数据,本领域技术人员也可以根据实际需求选择其他工具,在此不做具体限定。Hippo is an application publishing platform that can provide a standardized deployment process for the applications it accesses. Applications that meet the application standards can be connected to the application publishing platform and deployed using the standardized deployment process. Zabbix is an enterprise-level open source solution that provides distributed system monitoring and network monitoring functions based on WEB interface. Zabbix can monitor various network parameters, ensure the safe operation of server systems, and provide a flexible notification mechanism to allow system administrators Quickly locate/solve various problems. Of course, in addition to using these two tools to collect the hardware index data of the host, those skilled in the art can also select other tools according to actual needs, which are not specifically limited here.

在本申请的一个实施例中,所述主机和所述业务应用均包括多个,所述聚合处理结果包括主机维度的聚合处理结果和业务应用维度的聚合处理结果,所述对所述业务应用的原始监控数据进行聚合处理包括:确定目标主机上部署的各业务应用的业务指标数据及硬件指标数据,并将各业务应用的业务指标数据及硬件指标数据分别求平均值,作为所述目标主机在主机维度的聚合处理结果;确定目标业务应用所在的各主机的硬件指标数据及业务指标数据,并将各主机的硬件指标数据及业务指标数据分别求平均值,作为所述目标业务应用在业务应用维度的聚合处理结果;其中,所述目标主机为多个主机中的任意一个,所述目标业务应用为多个业务应用中的任意一个。。In an embodiment of the present application, both the host and the business application include multiple ones, and the aggregation processing result includes an aggregation processing result in a host dimension and an aggregation processing result in a business application dimension. Aggregating the raw monitoring data includes: determining the business indicator data and hardware indicator data of each business application deployed on the target host, and averaging the business indicator data and hardware indicator data of each business application respectively, as the target host. Aggregate processing results in the host dimension; determine the hardware index data and business index data of each host where the target business application is located, and calculate the average value of the hardware index data and business index data of each host, as the target business application in the business The aggregation processing result of the application dimension; wherein, the target host is any one of multiple hosts, and the target business application is any one of multiple business applications. .

在采集得到业务应用的业务指标数据和主机的硬件指标数据后,可以将主机的硬件指标数据与业务指标数据在业务应用维度和主机维度分别进行聚合处理,即将每一个业务应用对应的业务指标数据和硬件指标数据建立关联。After the business indicator data of the business application and the hardware indicator data of the host are collected, the hardware indicator data of the host and the business indicator data can be aggregated separately in the business application dimension and the host dimension, that is, the business indicator data corresponding to each business application Associate with hardware indicator data.

具体的,上述业务应用维度和主机维度均可以包括以下一种或多种监控项:CPU使用率、内存、流量、响应次数、响应时间和系统成功率,当然,本领域技术人员也可以根据实际需求灵活设置其他维度的监控项,在此不一一列举。Specifically, the above business application dimension and host dimension may include one or more of the following monitoring items: CPU usage, memory, traffic, number of responses, response time, and system success rate. Of course, those skilled in the art may It is required to flexibly set monitoring items of other dimensions, which are not listed here.

在对上述各个监控项进行聚合处理时,可以从业务应用维度和主机维度两个维度来进行聚合计算。举例说明,假设主机1上部署有业务应用A、业务应用B和业务应用C,那么对于流量这一监控项来说,就可以从Zabbix监控组件中分别获取到业务应用A、业务应用B和业务应用C在主机1上的流量,然后再对业务应用A、业务应用B和业务应用C在主机1上的流量之和求平均值,得到主机1的流量,以此作为主机维度的业务指标数据。When performing aggregation processing on the above monitoring items, the aggregation calculation can be performed from two dimensions, the business application dimension and the host dimension. For example, assuming that business application A, business application B and business application C are deployed on host 1, then for the monitoring item of traffic, business application A, business application B and business application can be obtained respectively from the Zabbix monitoring component. The traffic of application C on host 1, and then the sum of the traffic of business application A, business application B, and business application C on host 1 is averaged to obtain the traffic of host 1, which is used as the business indicator data of the host dimension. .

假设业务应用A所在的主机有主机1、主机2和主机3,那么对于CPU使用率这一监控项来说,就可以从Zabbix监控组件中分别获取到主机1、主机2和主机3对应的CPU使用率,然后再对主机1、主机2和主机3对应的CPU使用率之和求平均值,得到业务应用A的CPU使用率,以此作为业务应用维度的硬件指标数据。Assuming that the hosts where business application A is located include host 1, host 2 and host 3, then for the monitoring item of CPU usage, the CPU corresponding to host 1, host 2 and host 3 can be obtained from the Zabbix monitoring component respectively. The usage rate is calculated, and then the sum of the CPU usage rates corresponding to host 1, host 2, and host 3 is averaged to obtain the CPU usage rate of business application A, which is used as the hardware indicator data of the business application dimension.

通过上述聚合处理过程,能够将业务应用的业务应用指标和硬件指标数据进行汇总并建立关联,为后续的用户查询提供了有力支撑,节省了用户手动分析和汇总监控数据的环节,满足了用户的监控需求,提高了业务应用的监控效率。Through the above aggregation processing process, the business application indicators and hardware indicator data of business applications can be aggregated and associated, which provides strong support for subsequent user queries, saves the user's manual analysis and aggregation of monitoring data, and satisfies the user's needs. Monitoring requirements improve the monitoring efficiency of business applications.

在本申请的一个实施例中,所述业务应用监控数据库为ElasticSearch搜索引擎,所述将所述业务应用的聚合处理结果存储到业务应用监控数据库中包括:将所述业务应用的聚合处理结果以时间轴的形式存储到所述ElasticSearch搜索引擎对应的索引分片中。In an embodiment of the present application, the business application monitoring database is an ElasticSearch search engine, and the storing the aggregated processing result of the business application in the business application monitoring database includes: storing the aggregated processing result of the business application as a The form of the timeline is stored in the index shard corresponding to the ElasticSearch search engine.

为了为后续的用户查询提供有力的支撑,本申请实施例可以将业务应用的聚合处理结果存储到业务应用监控数据库中。具体地,可以采用ElasticSearch搜索引擎进行数据的存储,ElasticSearch是一个基于Lucene的搜索服务器,它提供了一个分布式多用户能力的全文搜索引擎,能够达到实时搜索,稳定,可靠,快速,安装使用方便。当然,除了可以采用ElasticSearch进行数据的存储,也可以采用其他数据库如MySQL,同样能够实现本申请实施例所要实现的目的,对此不再一一列举。In order to provide strong support for subsequent user queries, the embodiment of the present application may store the aggregated processing result of the business application in the business application monitoring database. Specifically, the ElasticSearch search engine can be used for data storage. ElasticSearch is a search server based on Lucene, which provides a full-text search engine with distributed multi-user capabilities, which can achieve real-time search, stable, reliable, fast, and easy to install and use. . Of course, in addition to using ElasticSearch for data storage, other databases such as MySQL can also be used, which can also achieve the purpose to be achieved by the embodiments of the present application, which will not be listed one by one.

如前所述,本申请对于原始监控数据的采集和聚合处理可以是实时或者按照一定时间间隔进行的,因此对于得到的聚合处理结果也可以实时或者或者按照一定时间间隔存储到数据库中,在具体存储时,可以采用时间轴的形式存储,例如,假设每5秒聚合一次原始监控数据,那么时间轴的横坐标就可以以5秒为时间间隔进行划分,纵坐标则可以分别设置为需要监控的监控项,如CPU使用率、内存等等,进而可以得到每个监控项指标随时间的变化情况。As mentioned above, the collection and aggregation processing of the original monitoring data in this application can be performed in real time or at certain time intervals, so the obtained aggregation processing results can also be stored in the database in real time or at certain time intervals. When storing, it can be stored in the form of a time axis. For example, if the raw monitoring data is aggregated every 5 seconds, the abscissa of the time axis can be divided into time intervals of 5 seconds, and the ordinate can be set to the monitoring data. Monitoring items, such as CPU usage, memory, etc., can then obtain the change of each monitoring item indicator over time.

在本申请的一个实施例中,所述方法还包括:基于所述监控接口,接收业务应用的监控数据查询请求;根据所述监控数据查询请求在所述业务应用监控数据库中进行查询,并返回监控数据查询结果。In an embodiment of the present application, the method further includes: based on the monitoring interface, receiving a monitoring data query request of a business application; querying the business application monitoring database according to the monitoring data query request, and returning Monitor data query results.

本申请实施例预设的统一监控接口还可以为用户提供统一的查询服务,具体地,前端的页面可以为用户提供查询界面,用户可以在查询界面中选择或输入想要查询的业务应用的相关信息,以此触发业务应用的监控数据查询请求,这样本申请实施例就可以通过监控接口,接收到用户在前端触发的业务应用的监控数据查询请求,然后根据监控数据查询请求在业务应用监控数据库中进行查询,并将监控数据查询结果返回至前端,以使前端的页面对监控数据查询结果进行显示。The unified monitoring interface preset in this embodiment of the present application can also provide users with a unified query service. Specifically, the front-end page can provide users with a query interface, and users can select or input relevant information about the business application they want to query in the query interface. information to trigger the monitoring data query request of the business application, so that the embodiment of the present application can receive the monitoring data query request of the business application triggered by the user at the front end through the monitoring interface, and then monitor the database in the business application according to the monitoring data query request. Query and return the monitoring data query results to the front-end, so that the front-end page can display the monitoring data query results.

在本申请的一个实施例中,所述监控数据查询请求包括时间范围、目标业务应用名称和目标监控项,所述根据所述监控数据查询请求在所述业务应用监控数据库中进行查询,并返回监控数据查询结果包括:在所述业务应用监控数据库中查询所述时间范围内,与所述目标业务应用名称和所述目标监控项对应的监控数据,作为所述监控数据查询结果。In an embodiment of the present application, the monitoring data query request includes a time range, a target business application name and a target monitoring item, the business application monitoring database is queried according to the monitoring data query request, and returned The monitoring data query result includes: querying the business application monitoring database for monitoring data corresponding to the target business application name and the target monitoring item within the time range as the monitoring data query result.

实际应用场景下,用户可以根据实际需求选择其想要查询和监控的时间范围、目标业务应用和目标监控项等,也即前端的查询界面可以为用户提供该功能,这样接收到的监控数据查询请求中就携带有时间范围、目标业务应用名称和目标监控项等信息。在进行数据查询时,可以在业务应用监控数据库中查询该时间范围内,与目标业务应用名称和目标监控项对应的监控数据,作为监控数据查询结果。当然需要说明的是,监控数据查询请求中具体包含哪些查询信息,本领域技术人员可以根据实际需求灵活设置,在此不一一列举。In practical application scenarios, users can select the time range, target business applications and target monitoring items they want to query and monitor according to actual needs, that is, the front-end query interface can provide users with this function, so that the received monitoring data can be queried. The request carries information such as time range, target business application name, and target monitoring items. When performing data query, the monitoring data corresponding to the target business application name and target monitoring item within the time range can be queried in the business application monitoring database as the monitoring data query result. Of course, it should be noted that the query information specifically included in the monitoring data query request can be flexibly set by those skilled in the art according to actual needs, and will not be listed one by one here.

举例说明,假设用户触发的监控数据查询请求中携带的时间范围为2020年9月1日上午10点至2020年9月1日上午11点,目标业务应用名称为业务应用A,目标监控项为CPU使用率和内存,则可以在业务应用监控数据库中调取业务应用A的CPU使用率和内存,并截取2020年9月1日上午10点至2020年9月1日上午11点这一时间段的数据作为最终的监控数据查询结果返回至前端。For example, suppose the time range carried in the monitoring data query request triggered by the user is from 10:00 am on September 1, 2020 to 11:00 am on September 1, 2020, the target business application name is business application A, and the target monitoring item is CPU usage and memory, you can call the CPU usage and memory of business application A in the business application monitoring database, and intercept the time from 10:00 am on September 1, 2020 to 11:00 am on September 1, 2020 The data of the segment is returned to the front end as the final monitoring data query result.

如前所述,一个业务应用可以部署在多台主机上,因此在本申请的一个实施例中,用户触发的监控数据查询请求即可以是针对某一业务应用在某一台主机上的监控数据的查询请求,也可以是针对该业务应用在其部署的所有主机上的监控数据的查询请求。因此本申请实施例的业务应用监控方法能够同时满足用户对业务应用维度和主机维度的监控数据的监控需求,灵活性更高。As mentioned above, a business application may be deployed on multiple hosts, so in an embodiment of the present application, the monitoring data query request triggered by the user may be the monitoring data for a business application on a certain host The query request can also be a query request for the monitoring data of the service application on all hosts where it is deployed. Therefore, the business application monitoring method according to the embodiment of the present application can satisfy the user's monitoring requirements for monitoring data of the business application dimension and the host dimension at the same time, and has higher flexibility.

在本申请的一个实施例中,所述业务应用是指压力测试环境下的被测试应用,所述业务应用的监控请求还包括压力测试脚本,所述根据所述业务应用的监控请求,获取所述业务应用的原始监控数据还包括:根据所述压力测试脚本,获取所述被测试应用在所述压力测试环境下的所述原始监控数据。In an embodiment of the present application, the business application refers to an application under test in a stress test environment, the monitoring request of the business application further includes a stress test script, and the monitoring request of the business application is to obtain all the The original monitoring data of the business application further includes: acquiring the original monitoring data of the application under test in the stress test environment according to the stress test script.

如前所述,本申请实施例的业务应用监控方法可以应用于压力测试场景中,因此这里的业务应用具体可以指压力测试环境下的被测试应用。在压力测试场景下,可以通过压力测试脚本来对被测试应用的性能和可靠性等进行测试,因此可以根据压力测试脚本的运行,获取被测试应用在压力测试环境下的原始监控数据,以满足用户对压力测试环境下业务应用的监控需求。As mentioned above, the business application monitoring method of the embodiment of the present application can be applied to a stress test scenario, so the business application here may specifically refer to a tested application in a stress test environment. In the stress test scenario, the performance and reliability of the application under test can be tested through the stress test script. Therefore, the original monitoring data of the application under test in the stress test environment can be obtained according to the operation of the stress test script to meet the User monitoring requirements for business applications in a stress test environment.

为了便于对本申请各实施例的理解,图3提供了一种业务应用监控流程示意图。如图3所示,本申请实施例的业务应用监控流程,先获取了业务应用的应用日志并进行解析,进而得到业务应用的业务指标数据,通过Hippo获取业务应用与主机的关系列表信息,通过Zabbix监控组件获取主机的硬件指标数据。然后对这三个方面的数据进行聚合处理,之后再将聚合处理结果写入到业务应用监控数据库中进行存储,进而为用户查询提供基础,使得用户可以通过统一的查询入口对监控数据进行查询。In order to facilitate the understanding of the embodiments of the present application, FIG. 3 provides a schematic diagram of a business application monitoring process. As shown in FIG. 3 , in the business application monitoring process of the embodiment of the present application, the application log of the business application is first obtained and analyzed, and then the business indicator data of the business application is obtained, and the relationship list information between the business application and the host is obtained through Hippo, The Zabbix monitoring component obtains the hardware metrics data of the host. Then, the data of these three aspects are aggregated, and then the aggregated processing results are written into the business application monitoring database for storage, thereby providing a basis for user query, so that users can query the monitoring data through a unified query portal.

相应地,图4提供了一种业务应用监控系统的整体架构图。如图4所示,本申请实施例的业务应用监控系统主要包括数据采集层、数据处理层、数据存储层和数据服务层。数据采集层主要用于利用各种数据采集工具采集业务应用的原始监控数据,数据处理层主要用于对采集到的原始监控数据进行聚合处理,数据存储层用于将聚合处理的结果进行存储,以为后续的用户查询提供基础,数据服务层则用于为用户提供统一的查询入口,满足用户对于不同业务应用的监控数据的查询需求。Correspondingly, FIG. 4 provides an overall architecture diagram of a business application monitoring system. As shown in FIG. 4 , the business application monitoring system of the embodiment of the present application mainly includes a data collection layer, a data processing layer, a data storage layer and a data service layer. The data collection layer is mainly used to collect raw monitoring data of business applications using various data collection tools, the data processing layer is mainly used to aggregate the collected raw monitoring data, and the data storage layer is used to store the results of the aggregation processing. In order to provide the basis for subsequent user queries, the data service layer is used to provide users with a unified query entry to meet users' query requirements for monitoring data of different business applications.

上述业务应用监控流程和业务应用监控系统能够定时、自驱动的去完成业务应用的业务指标数据和硬件指标数据的采集、处理和存储,用户只需要提供业务应用的必要信息,通过预设的统一监控接口服务,就可以自动、快速、准确的查询到业务应用所配置的各项业务指标和硬件指标,同时对历史数据具有可追溯性。该过程不再需要人工去不同的监控组件中查询监控数据并手工分析和汇总,节约了大量的人力和物力成本,同时提高了性能测试场景下的吞吐量和效率。The above-mentioned business application monitoring process and business application monitoring system can complete the collection, processing and storage of business index data and hardware index data of business applications in a timed and self-driven manner. By monitoring the interface service, you can automatically, quickly and accurately query various business indicators and hardware indicators configured by business applications, and at the same time have traceability to historical data. This process no longer needs to manually query monitoring data from different monitoring components and manually analyze and summarize it, saving a lot of manpower and material costs, while improving throughput and efficiency in performance testing scenarios.

本申请实施例还提供了一种业务应用监控装置500,应用于监控服务器,如图5所示,所述装置500包括:第一获取单元510、第二获取单元520和聚合单元530,其中:The embodiment of the present application further provides a business application monitoring device 500, which is applied to a monitoring server. As shown in FIG. 5, the device 500 includes: a first obtaining unit 510, a second obtaining unit 520, and an aggregation unit 530, wherein:

第一获取单元510,用于基于监控接口,获取业务应用的监控请求;The first obtaining unit 510 is configured to obtain the monitoring request of the business application based on the monitoring interface;

第二获取单元520,用于根据所述业务应用的监控请求,获取所述业务应用的原始监控数据;A second obtaining unit 520, configured to obtain the original monitoring data of the business application according to the monitoring request of the business application;

聚合单元530,用于对所述业务应用的原始监控数据进行聚合处理,并将所述业务应用的聚合处理结果存储到业务应用监控数据库中。The aggregation unit 530 is configured to perform aggregation processing on the original monitoring data of the business application, and store the aggregation processing result of the business application in a business application monitoring database.

在本申请的一个实施例中,所述业务应用的监控请求包括业务应用名称和监控项,所述第二获取单元520具体用于:根据所述业务应用名称和所述监控项,获取所述业务应用名称对应的业务应用的监控项数据,并将所述业务应用的监控项数据作为所述业务应用的原始监控数据,其中所述业务应用的监控项数据包括业务指标数据和硬件指标数据。In an embodiment of the present application, the monitoring request of the service application includes a service application name and a monitoring item, and the second obtaining unit 520 is specifically configured to: obtain the service application name and the monitoring item according to the service application name and the monitoring item. The monitoring item data of the business application corresponding to the business application name, and the monitoring item data of the business application is used as the original monitoring data of the business application, wherein the monitoring item data of the business application includes business indicator data and hardware indicator data.

在本申请的一个实施例中,所述第二获取单元520具体用于:确定所述业务应用的应用日志解析规则;根据所述应用日志解析规则,利用相应的数据采集工具采集所述业务应用的业务指标数据。In an embodiment of the present application, the second acquiring unit 520 is specifically configured to: determine an application log parsing rule of the business application; and use a corresponding data collection tool to collect the business application according to the application log parsing rule business metrics data.

在本申请的一个实施例中,所述第二获取单元520具体用于:获取所述业务应用与主机的关系列表;根据所述关系列表,获取与所述业务应用对应的主机的硬件指标数据。In an embodiment of the present application, the second obtaining unit 520 is specifically configured to: obtain a relationship list between the business application and the host; obtain hardware indicator data of the host corresponding to the business application according to the relationship list .

在本申请的一个实施例中,所述主机和所述业务应用均包括多个,所述聚合处理结果包括主机维度的聚合处理结果和业务应用维度的聚合处理结果,所述聚合单元530具体用于:确定目标主机上部署的各业务应用的业务指标数据及硬件指标数据,并将各业务应用的业务指标数据及硬件指标数据分别求平均值,作为所述目标主机在主机维度的聚合处理结果;确定目标业务应用所在的各主机的硬件指标数据及业务指标数据,并将各主机的硬件指标数据及业务指标数据分别求平均值,作为所述目标业务应用在业务应用维度的聚合处理结果;其中,所述目标主机为多个主机中的任意一个,所述目标业务应用为多个业务应用中的任意一个。In an embodiment of the present application, both the host and the service application include multiple, and the aggregation processing result includes the aggregation processing result of the host dimension and the aggregation processing result of the business application dimension. The aggregation unit 530 specifically uses To: determine the business index data and hardware index data of each business application deployed on the target host, and calculate the average value of the business index data and hardware index data of each business application respectively, as the aggregation processing result of the target host in the host dimension ; Determine the hardware index data and business index data of each host where the target business application is located, and calculate the average value of the hardware index data and business index data of each host, as the aggregation processing result of the target business application in the business application dimension; Wherein, the target host is any one of multiple hosts, and the target service application is any one of multiple service applications.

在本申请的一个实施例中,所述业务应用监控数据库为ElasticSearch搜索引擎,所述聚合单元530具体用于:将所述业务应用的聚合处理结果以时间轴的形式存储到所述ElasticSearch搜索引擎对应的索引分片中。In an embodiment of the present application, the business application monitoring database is an ElasticSearch search engine, and the aggregation unit 530 is specifically configured to: store the aggregated processing results of the business application in the ElasticSearch search engine in the form of a timeline in the corresponding index shard.

在本申请的一个实施例中,所述装置还包括:接收单元,用于基于所述监控接口,接收业务应用的监控数据查询请求;查询单元,用于根据所述监控数据查询请求在所述业务应用监控数据库中进行查询,并返回监控数据查询结果。In an embodiment of the present application, the apparatus further includes: a receiving unit, configured to receive a monitoring data query request of a business application based on the monitoring interface; a query unit, configured to perform a query request on the monitoring data in the The business application performs a query in the monitoring database, and returns the monitoring data query result.

在本申请的一个实施例中,所述监控数据查询请求包括时间范围、目标业务应用名称和目标监控项,所述查询单元具体用于:在所述业务应用监控数据库中查询所述时间范围内,与所述目标业务应用名称和所述目标监控项对应的监控数据,作为所述监控数据查询结果。In an embodiment of the present application, the monitoring data query request includes a time range, a target business application name and a target monitoring item, and the query unit is specifically configured to: query the business application monitoring database within the time range , and the monitoring data corresponding to the target service application name and the target monitoring item is used as the monitoring data query result.

在本申请的一个实施例中,所述业务应用是指压力测试环境下的被测试应用,所述业务应用的监控请求还包括压力测试脚本,所述第二获取单元520具体用于:根据所述压力测试脚本,获取所述被测试应用在所述压力测试环境下的所述原始监控数据。In an embodiment of the present application, the business application refers to an application under test in a stress test environment, the monitoring request of the business application further includes a stress test script, and the second obtaining unit 520 is specifically configured to: The stress test script is used to obtain the raw monitoring data of the application under test in the stress test environment.

在本申请的一个实施例中,所述原始监控数据的维度包括业务应用维度和主机维度,所述业务应用维度和所述主机维度均包括以下一种或多种监控项:CPU使用率、内存、流量、响应次数、响应时间和系统成功率。In an embodiment of the present application, the dimensions of the original monitoring data include a business application dimension and a host dimension, and both the business application dimension and the host dimension include one or more of the following monitoring items: CPU usage, memory , traffic, number of responses, response time, and system success rate.

能够理解,上述业务应用监控装置,能够实现前述实施例中提供的由监控系统服务器执行的业务应用监控方法的各个步骤,关于业务应用监控方法的相关阐释均适用于业务应用监控装置,此处不再赘述。It can be understood that the above-mentioned business application monitoring device can implement the various steps of the business application monitoring method performed by the monitoring system server provided in the foregoing embodiments. The relevant explanations about the business application monitoring method are all applicable to the business application monitoring device, and are not used here. Repeat.

图6是本申请的一个实施例电子设备的结构示意图。请参考图6,在硬件层面,该电子设备包括处理器,可选地还包括内部总线、网络接口、存储器。其中,存储器可能包含内存,例如高速随机存取存储器(Random-Access Memory,RAM),也可能还包括非易失性存储器(non-volatile memory),例如至少1个磁盘存储器等。当然,该电子设备还可能包括其他业务所需要的硬件。FIG. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present application. Referring to FIG. 6 , at the hardware level, the electronic device includes a processor, and optionally an internal bus, a network interface, and a memory. The memory may include memory, such as high-speed random-access memory (Random-Access Memory, RAM), and may also include non-volatile memory (non-volatile memory), such as at least one disk memory. Of course, the electronic equipment may also include hardware required for other services.

处理器、网络接口和存储器可以通过内部总线相互连接,该内部总线可以是ISA(Industry Standard Architecture,工业标准体系结构)总线、PCI(PeripheralComponent Interconnect,外设部件互连标准)总线或EISA(Extended Industry StandardArchitecture,扩展工业标准结构)总线等。所述总线可以分为地址总线、数据总线、控制总线等。为便于表示,图6中仅用一个双向箭头表示,但并不表示仅有一根总线或一种类型的总线。The processor, the network interface, and the memory can be connected to each other through an internal bus, which can be an ISA (Industry Standard Architecture, industry standard architecture) bus, a PCI (Peripheral Component Interconnect, peripheral component interconnect standard) bus or an EISA (Extended Industry Standard) bus. StandardArchitecture, extended industry standard structure) bus, etc. The bus can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one bidirectional arrow is shown in FIG. 6, but it does not mean that there is only one bus or one type of bus.

存储器,用于存放程序。具体地,程序可以包括程序代码,所述程序代码包括计算机操作指令。存储器可以包括内存和非易失性存储器,并向处理器提供指令和数据。memory for storing programs. Specifically, the program may include program code, and the program code includes computer operation instructions. The memory may include memory and non-volatile memory and provide instructions and data to the processor.

处理器从非易失性存储器中读取对应的计算机程序到内存中然后运行,在逻辑层面上形成业务应用监控装置。处理器,执行存储器所存放的程序,并具体用于执行以下操作:The processor reads the corresponding computer program from the non-volatile memory into the memory and runs it, forming a business application monitoring device on a logical level. The processor executes the program stored in the memory, and is specifically used to perform the following operations:

基于监控接口,获取业务应用的监控请求;Based on the monitoring interface, obtain the monitoring request of the business application;

根据所述业务应用的监控请求,获取所述业务应用的原始监控数据;According to the monitoring request of the business application, obtain the original monitoring data of the business application;

对所述业务应用的原始监控数据进行聚合处理,并将所述业务应用的聚合处理结果存储到业务应用监控数据库中。Perform aggregation processing on the original monitoring data of the business application, and store the aggregation processing result of the business application in a business application monitoring database.

上述如本申请图5所示实施例揭示的业务应用监控装置执行的方法可以应用于处理器中,或者由处理器实现。处理器可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法的各步骤可以通过处理器中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器可以是通用处理器,包括中央处理器(Central Processing Unit,CPU)、网络处理器(Network Processor,NP)等;还可以是数字信号处理器(Digital SignalProcessor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。可以实现或者执行本申请实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合本申请实施例所公开的方法的步骤可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器,处理器读取存储器中的信息,结合其硬件完成上述方法的步骤。The above-mentioned method executed by the service application monitoring apparatus disclosed in the embodiment shown in FIG. 5 of the present application may be applied to a processor, or implemented by a processor. A processor may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above-mentioned method can be completed by a hardware integrated logic circuit in a processor or an instruction in the form of software. The above-mentioned processor may be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it may also be a digital signal processor (Digital SignalProcessor, DSP), an application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), Field-Programmable Gate Array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components. The methods, steps, and logic block diagrams disclosed in the embodiments of this application can be implemented or executed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the methods disclosed in conjunction with the embodiments of the present application may be directly embodied as executed by a hardware decoding processor, or executed by a combination of hardware and software modules in the decoding processor. The software modules may be located in random access memory, flash memory, read-only memory, programmable read-only memory or electrically erasable programmable memory, registers and other storage media mature in the art. The storage medium is located in the memory, and the processor reads the information in the memory, and completes the steps of the above method in combination with its hardware.

该电子设备还可执行图5中业务应用监控装置执行的方法,并实现业务应用监控装置在图5所示实施例的功能,本申请实施例在此不再赘述。The electronic device can also execute the method executed by the service application monitoring apparatus in FIG. 5 , and implement the functions of the service application monitoring apparatus in the embodiment shown in FIG. 5 , which is not repeated in this embodiment of the present application.

本申请实施例还提出了一种计算机可读存储介质,该计算机可读存储介质存储一个或多个程序,该一个或多个程序包括指令,该指令当被包括多个应用程序的电子设备执行时,能够使该电子设备执行图5所示实施例中业务应用监控装置执行的方法,并具体用于执行:The embodiments of the present application also provide a computer-readable storage medium, where the computer-readable storage medium stores one or more programs, and the one or more programs include instructions, and the instructions are executed by an electronic device including multiple application programs. , the electronic device can be made to execute the method executed by the service application monitoring apparatus in the embodiment shown in FIG. 5 , and is specifically used to execute:

基于监控接口,获取业务应用的监控请求;Based on the monitoring interface, obtain the monitoring request of the business application;

根据所述业务应用的监控请求,获取所述业务应用的原始监控数据;According to the monitoring request of the business application, obtain the original monitoring data of the business application;

对所述业务应用的原始监控数据进行聚合处理,并将所述业务应用的聚合处理结果存储到业务应用监控数据库中。Perform aggregation processing on the original monitoring data of the business application, and store the aggregation processing result of the business application in a business application monitoring database.

本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。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, CD-ROM, optical storage, etc.) 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 in the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to the processor of a general purpose computer, special purpose computer, embedded processor or other programmable data processing device to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing device produce Means for implementing the functions specified in a flow or flow of a flowchart and/or a block or blocks of a block diagram.

这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory result in an article of manufacture comprising instruction means, the instructions The apparatus implements the functions specified in the flow or flow of the flowcharts and/or the block or blocks of the block diagrams.

这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded on a computer or other programmable data processing device to cause a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process such that The instructions provide steps for implementing the functions specified in the flow or blocks of the flowcharts and/or the block or blocks of the block diagrams.

在一个典型的配置中,计算设备包括一个或多个处理器(CPU)、输入/输出接口、网络接口和内存。In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.

内存可能包括计算机可读介质中的非永久性存储器,随机存取存储器(RAM)和/或非易失性内存等形式,如只读存储器(ROM)或闪存(flash RAM)。内存是计算机可读介质的示例。Memory may include non-persistent memory in computer readable media, random access memory (RAM) and/or non-volatile memory in the form of, for example, read only memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.

计算机可读介质包括永久性和非永久性、可移动和非可移动媒体可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。计算机的存储介质的例子包括,但不限于相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带,磁带磁磁盘存储或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。按照本文中的界定,计算机可读介质不包括暂存电脑可读媒体(transitory media),如调制的数据信号和载波。Computer-readable media includes both persistent and non-permanent, removable and non-removable media, and storage of information may be implemented by any method or technology. Information may be computer readable instructions, data structures, modules of programs, or other data. Examples of computer storage medium include, but not limited to phase variable memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), only read memory memory (ROM), electrical eradication, programmable only read memory (EEPROM), flash memory or other memory technologies, read only CD-ROMs (CD-ROM), digital multifunctional CD (DVD) or other optical storage, or other optical storage, or other optical storage, or other optical storage, or other optical storage, or other optical storage, or other optical storage, or other optical storage, or other optical storage, or other optical storage, or other optical storage, Magnetic box tape, tape magnetic disk storage or other magnetic storage device or any other non -transmission medium can be used to store information that can be accessed by computing devices. As defined herein, computer-readable media does not include transitory computer-readable media, such as modulated data signals and carrier waves.

还需要说明的是,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、商品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、商品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、商品或者设备中还存在另外的相同要素。It should also be explained that the term "includes", "includes" or any other variants that covers non -exclusive contains, so that the processes, methods, products or equipment of a series of elements include Other elements not expressly listed, or elements inherent in the process, method, commodity, or apparatus are also included. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in the process, method, article of manufacture, or device that includes the element.

本领域技术人员应明白,本申请的实施例可提供为方法、系统或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art should understand that the embodiments of the present application may be provided as methods, systems or computer program products. Accordingly, the present application can take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application 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, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.

以上所述仅为本申请的实施例而已,并不用于限制本申请。对于本领域技术人员来说,本申请可以有各种更改和变化。凡在本申请的精神和原理之内所作的任何修改、等同替换、改进等,均应包含在本申请的权利要求范围之内。The above descriptions are merely examples of the present application, and are not intended to limit the present application. Various modifications and variations of this application are possible for those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of this application shall be included within the scope of the claims of this application.

Claims (13)

1. A business application monitoring method performed by a monitoring server, wherein the method comprises:
acquiring a monitoring request of a service application based on a monitoring interface;
acquiring original monitoring data of the service application according to the monitoring request of the service application;
and aggregating the original monitoring data of the service application, and storing the aggregation processing result of the service application into a service application monitoring database.
2. The method of claim 1, wherein the monitoring request of the service application includes a service application name and a monitoring item, and the obtaining raw monitoring data of the service application according to the monitoring request of the service application includes:
and acquiring monitoring item data of the service application corresponding to the service application name according to the service application name and the monitoring item, and taking the monitoring item data of the service application as original monitoring data of the service application, wherein the monitoring item data of the service application comprises service index data and hardware index data.
3. The method of claim 2, wherein the obtaining of monitoring item data of the service application corresponding to the service application name comprises:
determining an application log analysis rule of the service application;
and acquiring the service index data of the service application by using a corresponding data acquisition tool according to the application log analysis rule.
4. The method of claim 3, wherein the obtaining monitoring item data of the service application corresponding to the service application name comprises:
acquiring a relation list of the service application and a host;
and acquiring hardware index data of the host corresponding to the service application according to the relation list.
5. The method of claim 4, wherein the host and the business application each include a plurality of hosts, the aggregation processing result includes an aggregation processing result of a host dimension and an aggregation processing result of a business application dimension, and the aggregating the raw monitoring data of the business application includes:
determining service index data and hardware index data of each service application deployed on a target host, and respectively averaging the service index data and the hardware index data of each service application to obtain an aggregation processing result of the target host in host dimensions;
determining hardware index data and service index data of each host where a target service application is located, and respectively averaging the hardware index data and the service index data of each host to serve as an aggregation processing result of the target service application in a service application dimension;
the target host is any one of a plurality of hosts, and the target business application is any one of a plurality of business applications.
6. The method of claim 1, wherein the business application monitoring database is an ElasticSearch search engine, and wherein storing the aggregated processing results of the business application into the business application monitoring database comprises:
and storing the aggregation processing result of the service application into the index fragment corresponding to the ElasticSearch search engine in a time axis form.
7. The method of claim 1, wherein the method further comprises:
receiving a monitoring data query request of a service application based on the monitoring interface;
and inquiring in the service application monitoring database according to the monitoring data inquiry request, and returning a monitoring data inquiry result.
8. The method of claim 7, wherein the monitoring data query request includes a time range, a target business application name and a target monitoring item, and the querying in the business application monitoring database according to the monitoring data query request and returning a monitoring data query result includes:
and querying the monitoring data corresponding to the target business application name and the target monitoring item in the time range in the business application monitoring database as the monitoring data query result.
9. The method of claim 1, wherein the service application refers to a tested application in a stress test environment, the monitoring request of the service application further includes a stress test script, and the obtaining raw monitoring data of the service application according to the monitoring request of the service application further includes:
and acquiring the original monitoring data of the tested application under the pressure test environment according to the pressure test script.
10. The method of any of claims 1 to 9, wherein the dimensions of the raw monitoring data include a business application dimension and a host dimension, each of the business application dimension and the host dimension including one or more of the following monitoring items: CPU utilization, memory, traffic, response times, response time, and system success rate.
11. A business application monitoring apparatus applied to a monitoring server, wherein the apparatus is configured to implement the method of any one of claims 1 to 10.
12. An electronic device, comprising:
a processor; and
a memory arranged to store computer executable instructions which, when executed, cause the processor to perform the method of any one of claims 1 to 10.
13. A computer readable storage medium storing one or more programs which, when executed by an electronic device comprising a plurality of application programs, cause the electronic device to perform the method of any of claims 1-10.
CN202110405674.XA 2021-04-15 2021-04-15 A business application monitoring method, device, electronic device, and storage medium Pending CN115220984A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110405674.XA CN115220984A (en) 2021-04-15 2021-04-15 A business application monitoring method, device, electronic device, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110405674.XA CN115220984A (en) 2021-04-15 2021-04-15 A business application monitoring method, device, electronic device, and storage medium

Publications (1)

Publication Number Publication Date
CN115220984A true CN115220984A (en) 2022-10-21

Family

ID=83604465

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110405674.XA Pending CN115220984A (en) 2021-04-15 2021-04-15 A business application monitoring method, device, electronic device, and storage medium

Country Status (1)

Country Link
CN (1) CN115220984A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117896284A (en) * 2024-01-17 2024-04-16 北京奇虎科技有限公司 Performance fluctuation positioning method, device, equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104767651A (en) * 2014-01-07 2015-07-08 中国移动通信集团黑龙江有限公司 A method, system and device for merging and processing multiple services
CN109587223A (en) * 2018-11-20 2019-04-05 北京奇艺世纪科技有限公司 Data aggregation method, device and system
CN109885453A (en) * 2019-02-18 2019-06-14 国家计算机网络与信息安全管理中心 Big data platform monitoring system based on flow data processing
CN110046070A (en) * 2018-10-25 2019-07-23 阿里巴巴集团控股有限公司 Monitoring method, device, electronic equipment and the storage medium of server cluster system
CN111641524A (en) * 2020-05-25 2020-09-08 北京青云科技股份有限公司 Monitoring data processing method, device, equipment and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104767651A (en) * 2014-01-07 2015-07-08 中国移动通信集团黑龙江有限公司 A method, system and device for merging and processing multiple services
CN110046070A (en) * 2018-10-25 2019-07-23 阿里巴巴集团控股有限公司 Monitoring method, device, electronic equipment and the storage medium of server cluster system
CN109587223A (en) * 2018-11-20 2019-04-05 北京奇艺世纪科技有限公司 Data aggregation method, device and system
CN109885453A (en) * 2019-02-18 2019-06-14 国家计算机网络与信息安全管理中心 Big data platform monitoring system based on flow data processing
CN111641524A (en) * 2020-05-25 2020-09-08 北京青云科技股份有限公司 Monitoring data processing method, device, equipment and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117896284A (en) * 2024-01-17 2024-04-16 北京奇虎科技有限公司 Performance fluctuation positioning method, device, equipment and storage medium
CN117896284B (en) * 2024-01-17 2024-11-26 北京奇虎科技有限公司 Performance fluctuation positioning method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
US9712410B1 (en) Local metrics in a service provider environment
US9576036B2 (en) Self-analyzing data processing job to determine data quality issues
US8635617B2 (en) Tracking requests that flow between subsystems using transaction identifiers for generating log data
CN112307057A (en) Data processing method and device, electronic device, computer storage medium
CN114490268A (en) Full-link monitoring method, apparatus, device, storage medium and program product
US11689536B1 (en) Server-based restricted access storage
US10657099B1 (en) Systems and methods for transformation and analysis of logfile data
CN108681589B (en) Method and device for generating structured query language instruction based on index system
TWI754269B (en) Method, apparatus and computer readable storage medium for data chain monitoring
CN112861182A (en) Database query method and system, computer equipment and storage medium
CN112860730A (en) SQL statement processing method and device, electronic equipment and readable storage medium
CN111522729A (en) Method, device and system for determining rule release
CN111382182A (en) Data processing method, device, electronic device and storage medium
CN115840687A (en) Visual log link tracking method and system based on service level
WO2015196885A1 (en) Method and apparatus for acquiring and storing performance data of cloud computing system
CN112526905B (en) Processing method and system for index abnormity
CN113596078A (en) Service problem positioning method and device
US9836506B2 (en) Dynamic query optimization with pilot runs
CN114648323B (en) Call chain processing method, device and medium for business scenarios
CN115220984A (en) A business application monitoring method, device, electronic device, and storage medium
CN116185856A (en) Software system health detection method, device, storage medium and equipment
CN113360553B (en) Data cold and hot degree evaluation method and server
CN118394800B (en) Index query method and device, electronic equipment and readable storage medium
US11620164B1 (en) Virtual partitioning of a shared message bus
CN114418342A (en) A business data processing method, device and readable 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