CN107508722B - Service monitoring method and device - Google Patents

Service monitoring method and device Download PDF

Info

Publication number
CN107508722B
CN107508722B CN201710648361.0A CN201710648361A CN107508722B CN 107508722 B CN107508722 B CN 107508722B CN 201710648361 A CN201710648361 A CN 201710648361A CN 107508722 B CN107508722 B CN 107508722B
Authority
CN
China
Prior art keywords
monitored
data
application program
log
monitoring data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710648361.0A
Other languages
Chinese (zh)
Other versions
CN107508722A (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.)
Beijing Deta Jingyao Information Technology Co ltd
Original Assignee
Beijing Deta Jingyao 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 Beijing Deta Jingyao Information Technology Co ltd filed Critical Beijing Deta Jingyao Information Technology Co ltd
Priority to CN201710648361.0A priority Critical patent/CN107508722B/en
Publication of CN107508722A publication Critical patent/CN107508722A/en
Application granted granted Critical
Publication of CN107508722B publication Critical patent/CN107508722B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/04Processing captured monitoring data, e.g. for logfile generation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/06Generation of reports

Abstract

The invention provides a service monitoring method and a device, wherein the method comprises the following steps: s1, according to the container cluster created in advance, the containerization processing is carried out on the application program to be monitored; and S2, acquiring various monitoring data generated in the running process of the application program to be monitored, and analyzing the various monitoring data. According to the invention, the application program to be monitored is subjected to containerization processing, and various monitoring data of the application program are simultaneously acquired by using a container technology, so that the defect that a specific data acquisition mode corresponds to a specific monitoring product in the prior art is overcome, the simultaneous acquisition and multi-latitude unified analysis of various monitoring data are realized, the efficiency of acquiring the monitoring data by a user is improved, and the acquisition cost is reduced.

Description

Service monitoring method and device
Technical Field
The invention relates to the technical field of computers, in particular to a service monitoring method and a service monitoring device.
Background
The monitoring system is the most important ring in the whole operation and maintenance link and even the whole life cycle of the product; the fault is early-warned in advance and timely, and detailed data is provided for tracing and positioning problems afterwards. As a mature operation and maintenance product, the monitoring system has many open-source monitoring products to choose from in the prior art.
In the prior art, monitoring products are classified into the following categories according to different monitoring targets: the method comprises the steps of applying a performance management product, an operation and maintenance monitoring tool (zabbix, nagios and open-fault), an operation and maintenance log monitoring analysis tool and capturing and analyzing service messages in a network by an APM (application and performance management).
The APM product has the following defects that an agent code needs to be injected into an application program of a client production environment, and the agent code runs in the process of the client product; certain influence is caused to the running performance of the client application program; the client product code may need to be modified to complete according to different language environments in which the client application program runs, for example, the nodejs application cannot dynamically implant code, and the product source code must be modified.
Wherein, the operation and maintenance monitoring tool has the following defects: the inability to monitor the client application itself; the monitoring tool mainly monitors a container in which the application program runs; monitoring third party components, such as databases, on which the application depends; network device status in a network environment in which an application is running is monitored.
The log monitoring tool has the following defects: the application program needs a special acquisition means, and an acquisition agent needs to be implanted into a machine where the application program is located; different log specifications output by different applied components need different log analysis programs to understand different logs; the number of logs generated by an application program is generally huge, and the problem needs to be analyzed according to the logs and the experience of a professional is required.
The capturing and analyzing of the service messages in the network has the following defects: a message capturing server needs to be deployed on a switch connected with a host where an application is located; if the application is distributed under different switches, a plurality of servers need to be deployed, so that the cost is high; if a server is deployed on the upper layer of the switch, it may not be possible to obtain communication messages of the network between the programs.
Therefore, the prior art has at least the following technical drawbacks: because the monitoring targets of the monitoring products are different, different monitoring products are required to be constructed according to different monitoring targets; however, since each monitoring product has its own application conditions, a user needs to construct specific conditions and adopt a specific monitoring product to acquire specific monitoring data; when a user needs to acquire various monitoring data, the user needs to respectively perform multiple times of acquisition work, which wastes time and labor.
Disclosure of Invention
Aiming at the defects in the prior art, the invention provides a service monitoring method and a service monitoring device.
One aspect of the present invention provides a service monitoring method, including: s1, according to the container cluster created in advance, the containerization processing is carried out on the application program to be monitored; and S2, acquiring various monitoring data generated in the running process of the application program to be monitored, and analyzing the various monitoring data.
Wherein, before the step S1, the method further includes: creating the container cluster comprising a plurality of servers according to a container technique; and respectively creating a virtual network card and a virtual switch on each server.
Wherein the plurality of monitoring data comprises: message data, log data and running data; correspondingly, the step of performing parsing processing on the multiple kinds of monitoring data in S2 further includes: and performing message analysis, log analysis and statistical field supplement processing on the various monitoring data.
Wherein, after step S1, the method further comprises: setting a message grabbing tool on each server; correspondingly, the step of acquiring various monitoring data generated in the running process of the application to be monitored in S2 further includes: and acquiring the message data of the application program to be monitored through the message grabbing tool, and sending the message data to an analysis component.
In S1, the step of performing containerization processing on the application to be monitored further includes: setting a log output path and a log collection tool of the application program to be monitored; correspondingly, the step of acquiring various monitoring data generated in the running process of the application to be monitored in S2 further includes: mapping the log data of the application program to be monitored to a container log through the log output path; sending, by the log collection tool, the container log to an analysis component.
Wherein, the step of acquiring various monitoring data generated in the running process of the application to be monitored in S2 further includes: acquiring running data of the application program to be monitored, and sending the running data to an analysis component; the operation data comprises one or more of CPU occupancy rate, memory usage condition, network flow and disk IO condition.
Wherein, after step S2, the method further comprises: and storing and establishing indexes for the various monitoring data after analysis processing, and inquiring and displaying the various monitoring data.
Another aspect of the present invention provides a service monitoring apparatus, including: the processing module is used for performing containerization processing on the application program to be monitored according to the pre-established container cluster; and the acquisition module is used for acquiring various monitoring data generated in the running process of the application program to be monitored and analyzing the various monitoring data.
Another aspect of the present invention provides a service monitoring apparatus, including: at least one processor; and at least one memory communicatively coupled to the processor, wherein: the memory stores program instructions executable by the processor, and the processor calls the program instructions to perform the service monitoring method provided by the above aspect of the present invention, for example, the method includes: s1, according to the container cluster created in advance, the containerization processing is carried out on the application program to be monitored; and S2, acquiring various monitoring data generated in the running process of the application program to be monitored, and analyzing the various monitoring data.
Yet another aspect of the present invention provides a non-transitory computer-readable storage medium storing computer instructions that cause the computer to perform the traffic monitoring method provided by the above aspect of the present invention, for example, including: s1, according to the container cluster created in advance, the containerization processing is carried out on the application program to be monitored; and S2, acquiring various monitoring data generated in the running process of the application program to be monitored, and analyzing the various monitoring data.
According to the business monitoring method and device provided by the invention, the application program to be monitored is subjected to containerization processing, and various monitoring data of the application program are simultaneously acquired by using a container technology, so that the defect that a specific data acquisition mode corresponds to a specific monitoring product in the prior art is overcome, the simultaneous acquisition and multi-latitude unified analysis of various monitoring data are realized, the efficiency of acquiring the monitoring data by a user is improved, and the acquisition cost is reduced.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and those skilled in the art can also obtain other drawings according to the drawings without creative efforts.
Fig. 1 is a schematic flow chart of a service monitoring method according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a virtual network of a service monitoring method according to an embodiment of the present invention;
fig. 3 is a schematic flow chart of a service monitoring method according to another embodiment of the present invention;
fig. 4 is a schematic structural diagram of a service monitoring apparatus according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a service monitoring device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some embodiments, but not all embodiments, of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In the past, the data acquisition means are limited, and different products have to be built for different scenes. Now, with the development of container technology, virtualization is pushed to the level of operating system virtualization. In the container layer and the virtual network, corresponding data can be directly obtained from the container and the virtual switch, so that a unified multi-latitude monitoring scheme is formed.
Fig. 1 is a schematic flow chart of a service monitoring method according to an embodiment of the present invention, as shown in fig. 1, including: s1, according to the container cluster created in advance, the containerization processing is carried out on the application program to be monitored; and S2, acquiring various monitoring data generated in the running process of the application program to be monitored, and analyzing the various monitoring data.
The container technology is beneficial to achieving flexibility and portability, and the application program can be operated anywhere, whether a public cloud, a private cloud, a stand-alone machine or the like.
Wherein containerization refers to deploying the application to be monitored in a container.
The container cluster is composed of a plurality of servers, each server comprises a plurality of containers, and an application program to be monitored can be deployed in each container.
In step S1, according to the container cluster created in advance, the application program to be monitored is subjected to containerization processing, and the application program to be monitored is respectively deployed in each container in the container cluster, so as to monitor the application program to be monitored by using a container technology.
In step S2, according to the application program subjected to containerization processing in step S1, when the application program to be monitored generates data during operation, collecting the data of the application program to be monitored by using the container cluster, and analyzing the obtained monitoring data; it should be noted that the container may be processed accordingly according to actual needs, so that various monitoring data can be acquired.
According to the business monitoring method provided by the embodiment of the invention, the application program to be monitored is subjected to containerization processing, and various monitoring data of the application program are simultaneously acquired by using a container technology, so that the defect that a specific data acquisition mode corresponds to a specific monitoring product in the prior art is overcome, the simultaneous acquisition and multi-latitude unified analysis of various monitoring data are realized, the efficiency of acquiring the monitoring data by a user is improved, and the acquisition cost is reduced.
On the basis of any of the above embodiments, the step S1 is preceded by: creating the container cluster comprising a plurality of servers according to a container technique; and respectively creating a virtual network card and a virtual switch on each server.
Specifically, the creation or orchestration of container clusters may be based on Google's kubernets open source orchestration software, a developed CaaS cluster platform.
The Kubernets built above Docker can construct scheduling service of a container, and the purpose is to enable a user to manage a cloud container cluster through the Kubernets cluster without complex setting work of the user; the system automatically selects a proper working node to execute specific container cluster scheduling processing work; the core concept is Container Pod, and a Pod is composed of a set of containers working in the same physical working node. The group containers have the same network namespace and storage quota, and port mapping can be performed on each Pod according to actual conditions. In addition, the Kubernetes worker node is managed by the host system, and the node contains services used to run the Docker container.
The CaaS platform developed based on Kubernetes realizes remote application deployment/upgrading, application authorization and application monitoring.
Fig. 2 is a schematic structural diagram of a virtual network of the service monitoring method according to the embodiment of the present invention, and as shown in fig. 2, a virtual network of a container cluster can be established by creating a virtual network card and a virtual switch on each server. In particular, the Weave virtual network may be used. The weaves create a bridge and a path pair between the bridge and each instance, and when a weaverun assigns an IP and a corresponding mask to the instance side of each path. The end of veth's bridge is the weaves routing instance and assigns the IP and mask at the time of the weaves launch.
By setting the network driver of the container to overlay, it means that all containers can ping directly, so the ip addresses of all containers are not duplicated. To achieve this, a lightweight store is required to store the already allocated ip information and some other configuration information. Technically, Docker uses libkv and libnetwork to realize own overlay network, which are both written in go language, the former is an abstraction layer for operating distributed key value storage systems such as consul, etcd and zookeeper, and the latter realizes network connection of containers.
On the basis of any of the above embodiments, the various monitoring data includes: message data, log data and running data; correspondingly, the step of performing parsing processing on the multiple kinds of monitoring data in S2 further includes: and performing message analysis, log analysis and statistical field supplement processing on the various monitoring data.
The message data is network communication message data of the application program to be monitored, which is acquired from the virtual switch.
The log data includes events recorded by the application to be monitored, and mainly records events in the program operation aspect, for example, the database program can record file errors in the application program log, and the program developer can decide which events to monitor by himself. If an application program crashes, a developer can find a corresponding record from the program event log, which is helpful for solving the problem.
The running data is running state information reported when the application program to be monitored runs.
Specifically, the plurality of monitoring data includes one or more of the message data, log data, and operation data; therefore, when the monitoring data is obtained and analyzed, message analysis is carried out on the message data, and log analysis is carried out on the log data; after the steps of message parsing and log parsing are performed, statistical field supplementation is required.
Wherein, the statistics field supplement means: collected message data, log data and operation data are usually processed or analyzed into individual fields, for example, the message data is processed into a source IP, a destination IP, a status and content, etc.; for example, for message data, data of one time slice needs to be merged into the same source IP and destination IP, etc.
On the basis of any of the above embodiments, the step S1 is further followed by: setting a message grabbing tool on each server; correspondingly, the step of acquiring various monitoring data generated in the running process of the application to be monitored in S2 further includes: and acquiring the message data of the application program to be monitored through the message grabbing tool, and sending the message data to an analysis component.
Specifically, through the container cluster, the message grabbing tool can acquire network communication message data of an application program to be monitored from the virtual switch and send the message data to the analysis component in storage, the analysis component further analyzes the message data, the analysis component can directly analyze the message data corresponding to the public protocol such as HTTP and MySQ L, a corresponding analysis module can be developed in a targeted mode aiming at special message data used by the application program to be monitored, and the analysis module can uniformly analyze the message data in the analysis component after being identified.
On the basis of any of the foregoing embodiments, the step of performing containerization processing on the application to be monitored in S1 further includes: setting a log output path and a log collection tool of the application program to be monitored; correspondingly, the step of acquiring various monitoring data generated in the running process of the application to be monitored in S2 further includes: mapping the log data of the application program to be monitored to a container log through the log output path; sending, by the log collection tool, the container log to an analysis component.
Specifically, in order to collect and analyze log data of the application program to be monitored, a log output path of the application program to be monitored can be configured in the process of containerization processing of the application program to be monitored; through the log output path, the log data generated by the application program can be mapped into the container log; in addition, log data can be uniformly sent to the analysis components in the storage through a log collection tool; the log analysis module configured in the analysis component can recognize the meaning of the log and then carry out unified analysis.
On the basis of any of the foregoing embodiments, the step of acquiring, in S2, a plurality of kinds of monitoring data generated in the running process of the application to be monitored, further includes: acquiring running data of the application program to be monitored, and sending the running data to an analysis component; the operation data comprises one or more of CPU occupancy rate, memory usage condition, network flow and disk IO condition.
Specifically, in the running process of the application program to be monitored, the container can report the running state of the program in real time, such as the CPU occupancy rate, the memory usage condition, the network traffic and the disk IO condition; the above-described status data of the containers may be collected and sent to an analysis component in storage for unified analysis. For example, a network traffic data collector (PacketBeats) may be employed to collect network traffic data; corresponding file data is collected using file data collectors (FileBeats).
On the basis of any of the above embodiments, the step S2 is further followed by: and storing and establishing indexes for the various monitoring data after analysis processing, and inquiring and displaying the various monitoring data.
For example, after the monitoring data is analyzed and filtered, the data is sent to a NoSQ L database for storage, and for example, an Elasticissearch database can be selected.
In order to describe the service monitoring method provided by the above embodiment, the above method is exemplified below. Fig. 3 is a schematic flow chart of a service monitoring method according to another embodiment of the present invention, as shown in fig. 3, including:
step 1, acquiring message data, log data and monitoring data generated by an application program to be monitored, and sending the data to an analysis processing center by a collector;
step 2, the analysis processing center analyzes the message data, analyzes the log of the log data, and performs the field supplement processing of statistics on all data after the analysis is completed;
step 3, storing the monitoring data and establishing an index;
and 4, inquiring and displaying the monitoring data.
Fig. 4 is a schematic structural diagram of a service monitoring apparatus according to an embodiment of the present invention, as shown in fig. 4, including: the processing module 401 is configured to perform containerization processing on the application to be monitored according to a container cluster created in advance; an obtaining module 402, configured to obtain multiple kinds of monitoring data generated in the running process of the application to be monitored, and analyze the multiple kinds of monitoring data.
The processing module 401 performs containerization processing on the application program to be monitored according to a pre-established container cluster; the processing module 401 deploys the application to be monitored in each container in the container cluster, so as to monitor the application to be monitored by using a container technology.
The acquiring module 402 collects data of the application to be monitored by using the container cluster when the application to be monitored generates data in the running process according to the application subjected to containerization processing in the processing module 401, and analyzes and processes the obtained monitoring data; it should be noted that the obtaining module 402 can perform corresponding processing on the container according to actual needs, so as to obtain various monitoring data.
The business monitoring device provided by the embodiment of the invention has the advantages that the application program to be monitored is subjected to containerization treatment, and various monitoring data of the application program are simultaneously acquired by utilizing a container technology, so that the defect that a specific data acquisition mode corresponds to a specific monitoring product in the prior art is overcome, the simultaneous acquisition and multi-latitude unified analysis of various monitoring data are realized, the efficiency of acquiring the monitoring data by a user is improved, and the acquisition cost is reduced.
On the basis of any one of the above embodiments, the apparatus further comprises: a creation module to create the container cluster comprising a plurality of servers according to a container technique; and respectively creating a virtual network card and a virtual switch on each server.
On the basis of any of the above embodiments, the various monitoring data includes: message data, log data and running data; accordingly, the obtaining module 402 is further configured to: and performing message analysis, log analysis and statistical field supplement processing on the various monitoring data.
On the basis of any one of the above embodiments, the apparatus further comprises: the setting module is used for setting a message grabbing tool on each server; accordingly, the obtaining module 402 is further configured to: and acquiring the message data of the application program to be monitored through the message grabbing tool, and sending the message data to an analysis component.
On the basis of any of the above embodiments, the processing module 401 further includes: the path unit is used for setting a log output path and a log collection tool of the application program to be monitored; accordingly, the obtaining module 402 is further configured to: mapping the log data of the application program to be monitored to a container log through the log output path; sending, by the log collection tool, the container log to an analysis component.
On the basis of any of the foregoing embodiments, the obtaining module 402 is further configured to: acquiring running data of the application program to be monitored, and sending the running data to an analysis component; the operation data comprises one or more of CPU occupancy rate, memory usage condition, network flow and disk IO condition.
On the basis of any one of the above embodiments, the apparatus further comprises: and the storage module is used for storing and establishing indexes for the various monitoring data after the analysis processing, and inquiring and displaying the various monitoring data.
Fig. 5 is a schematic structural diagram of a service monitoring device according to an embodiment of the present invention, and as shown in fig. 5, the service monitoring device includes: at least one processor 501; and at least one memory 502 communicatively coupled to the processor 501, wherein: the memory 502 stores program instructions executable by the processor 501, and the processor 501 calls the program instructions to perform the service monitoring method provided by the foregoing embodiments, for example, the method includes: s1, according to the container cluster created in advance, the containerization processing is carried out on the application program to be monitored; and S2, acquiring various monitoring data generated in the running process of the application program to be monitored, and analyzing the various monitoring data.
An embodiment of the present invention further provides a non-transitory computer-readable storage medium, where the non-transitory computer-readable storage medium stores a computer instruction, and the computer instruction causes a computer to execute a service monitoring method provided in the corresponding embodiment, where the method includes: s1, according to the container cluster created in advance, the containerization processing is carried out on the application program to be monitored; and S2, acquiring various monitoring data generated in the running process of the application program to be monitored, and analyzing the various monitoring data.
The above-described embodiments of the service monitoring device and the like are merely illustrative, where units illustrated as separate components may or may not be physically separate, and components displayed as units may or may not be physical units, may be located in one place, or may also be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium, such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute the various embodiments or some parts of the methods of the embodiments.
The business monitoring method, the device and the equipment provided by the embodiment of the invention realize multi-latitude monitoring of business application through a container technology, and break through the situation that a single data acquisition mode corresponds to a single product in the past, thereby achieving multi-latitude unified analysis and unified display; therefore, the collection times of clients are reduced, the cost is reduced, and a complete monitoring view from a network to a service is achieved by using multi-latitude unified analysis.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (7)

1. A method for monitoring a service, comprising:
s1, according to the container cluster created in advance, the containerization processing is carried out on the application program to be monitored;
s2, acquiring various monitoring data generated in the running process of the application program to be monitored, and analyzing the various monitoring data;
the plurality of monitoring data includes:
message data, log data and running data;
correspondingly, the step of performing parsing processing on the multiple kinds of monitoring data in S2 further includes:
performing message analysis, log analysis and statistical field supplementary processing on the various monitoring data;
the step S1 is followed by:
setting a message grabbing tool on each server;
correspondingly, the step of acquiring various monitoring data generated in the running process of the application to be monitored in S2 further includes:
acquiring message data of the application program to be monitored through the message grabbing tool, and sending the message data to an analysis component;
the step of performing containerization processing on the application to be monitored in S1 further includes:
setting a log output path and a log collection tool of the application program to be monitored;
correspondingly, the step of acquiring various monitoring data generated in the running process of the application to be monitored in S2 further includes:
mapping the log data of the application program to be monitored to a container log through the log output path;
sending, by the log collection tool, the container log to an analysis component.
2. The method according to claim 1, wherein the step S1 is preceded by:
creating the container cluster comprising a plurality of servers according to a container technique;
and respectively creating a virtual network card and a virtual switch on each server.
3. The method according to claim 1, wherein the step of acquiring various monitoring data generated during the operation of the application to be monitored in S2 further comprises:
acquiring running data of the application program to be monitored, and sending the running data to an analysis component;
the operation data comprises one or more of CPU occupancy rate, memory usage condition, network flow and disk IO condition.
4. The method according to claim 1, wherein the step S2 is further followed by:
and storing and establishing indexes for the various monitoring data after analysis processing, and inquiring and displaying the various monitoring data.
5. A traffic monitoring apparatus, comprising:
the processing module is used for performing containerization processing on the application program to be monitored according to the pre-established container cluster;
the acquisition module is used for acquiring various monitoring data generated in the running process of the application program to be monitored and analyzing the various monitoring data;
the plurality of monitoring data includes: message data, log data and running data;
accordingly, the obtaining module is further configured to: performing message analysis, log analysis and statistical field supplementary processing on the various monitoring data;
after the containerization processing is performed on the application program to be monitored according to the pre-established container cluster, the method further comprises the following steps:
setting a message grabbing tool on each server;
correspondingly, the step of obtaining various monitoring data generated in the running process of the application program to be monitored further comprises the following steps:
acquiring message data of the application program to be monitored through the message grabbing tool, and sending the message data to an analysis component;
the step of containerizing the application program to be monitored further comprises:
setting a log output path and a log collection tool of the application program to be monitored;
correspondingly, the step of obtaining various monitoring data generated in the running process of the application program to be monitored further includes:
mapping the log data of the application program to be monitored to a container log through the log output path;
sending, by the log collection tool, the container log to an analysis component.
6. A traffic monitoring device, comprising:
at least one processor;
and at least one memory communicatively coupled to the processor, wherein: the memory stores program instructions executable by the processor, the processor invoking the program instructions to perform the method of any of claims 1 to 4.
7. A non-transitory computer-readable storage medium storing computer instructions for causing a computer to perform the method of any one of claims 1 to 4.
CN201710648361.0A 2017-08-01 2017-08-01 Service monitoring method and device Active CN107508722B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710648361.0A CN107508722B (en) 2017-08-01 2017-08-01 Service monitoring method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710648361.0A CN107508722B (en) 2017-08-01 2017-08-01 Service monitoring method and device

Publications (2)

Publication Number Publication Date
CN107508722A CN107508722A (en) 2017-12-22
CN107508722B true CN107508722B (en) 2020-08-04

Family

ID=60689734

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710648361.0A Active CN107508722B (en) 2017-08-01 2017-08-01 Service monitoring method and device

Country Status (1)

Country Link
CN (1) CN107508722B (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110007914B (en) * 2017-12-29 2022-08-19 珠海市君天电子科技有限公司 Big data calculation method and device
CN108920250B (en) * 2018-06-05 2021-11-19 麒麟合盛网络技术股份有限公司 Application program containerization method and device
CN110858341A (en) * 2018-08-22 2020-03-03 中国移动通信集团重庆有限公司 Index monitoring method, device, equipment and medium based on distributed storage system
CN109240887A (en) * 2018-09-04 2019-01-18 北京世纪东方通讯设备有限公司 Long-distance monitoring method, monitoring client and the monitoring server of application program running state
CN109245931B (en) * 2018-09-19 2021-04-16 四川虹微技术有限公司 Log management and monitoring alarm realization method of container cloud platform based on kubernets
CN109656776B (en) * 2018-11-05 2022-05-13 创新先进技术有限公司 Completeness inspection method and equipment for abnormal monitoring of computer system
CN109660397B (en) * 2018-12-21 2022-02-15 北京百度网讯科技有限公司 System, method and device for collecting logs
CN109743199A (en) * 2018-12-25 2019-05-10 中国联合网络通信集团有限公司 Containerization management system based on micro services
CN111444172A (en) * 2019-01-17 2020-07-24 北京京东尚科信息技术有限公司 Data monitoring method, device, medium and equipment
CN110262941B (en) * 2019-05-28 2023-06-16 深圳市汇川技术股份有限公司 Method, system, equipment and storage medium for realizing cluster alarm of application program container
CN112230924A (en) * 2020-11-09 2021-01-15 平安普惠企业管理有限公司 Popup frame prompting method and device, computer equipment and storage medium

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104092575A (en) * 2014-07-29 2014-10-08 中国联合网络通信集团有限公司 Resource monitoring method and system

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104009883A (en) * 2014-05-09 2014-08-27 烽火通信科技股份有限公司 Computer resource centralized remote real-time monitoring system and method
CN105119952B (en) * 2015-07-07 2018-12-21 北京京东尚科信息技术有限公司 The method and system of resource is distributed to automatic elastic under cloud platform
US20170142203A1 (en) * 2015-11-17 2017-05-18 Le Holdings (Beijing) Co., Ltd. Method for host scheduling for container deployment, electronic device and non-transitory computer-readable storage medium
CN105893205A (en) * 2015-11-20 2016-08-24 乐视云计算有限公司 Method and system for monitoring containers created based on docker
CN106776212B (en) * 2016-12-09 2020-02-25 中电科华云信息技术有限公司 Supervision system and method for container cluster deployment of multi-process application

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104092575A (en) * 2014-07-29 2014-10-08 中国联合网络通信集团有限公司 Resource monitoring method and system

Also Published As

Publication number Publication date
CN107508722A (en) 2017-12-22

Similar Documents

Publication Publication Date Title
CN107508722B (en) Service monitoring method and device
CN105653425B (en) Monitoring system based on complex event processing engine
CN105631026B (en) Safety data analysis system
CN102739802B (en) Service application-oriented IT centralized operation and maintenance analyzing system
CN104022904B (en) Distributed computer room information technoloy equipment management platform
US11483218B2 (en) Automating 5G slices using real-time analytics
CN111176879A (en) Fault repairing method and device for equipment
CN108964995A (en) Log correlation analysis method based on time shaft event
CN108521339A (en) A kind of reaction type node failure processing method and system based on cluster daily record
CN103546343B (en) The network traffics methods of exhibiting of network traffic analysis system and system
CN109672583A (en) Method for monitoring network, equipment, storage medium and device
CN112350854B (en) Flow fault positioning method, device, equipment and storage medium
CN112714013B (en) Application fault positioning method in cloud environment
CN110209518A (en) A kind of multi-data source daily record data, which is concentrated, collects storage method and device
CN107168844B (en) Performance monitoring method and device
CN110806921A (en) OVS (optical virtual system) abnormity alarm monitoring system and method
CN108390907B (en) Management monitoring system and method based on Hadoop cluster
CN113505048A (en) Unified monitoring platform based on application system portrait and implementation method
CN110855481B (en) Data acquisition system and method
CN107463490B (en) Cluster log centralized collection method applied to platform development
CN111970151A (en) Flow fault positioning method and system for virtual and container network
CN109981377B (en) Distributed data center link monitoring method and system
CN111193643A (en) Cloud server state monitoring system and method
CN112671586B (en) Automatic migration and guarantee method and device for service configuration
CN110609761B (en) Method and device for determining fault source, storage medium and electronic equipment

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
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: A service monitoring method and device

Effective date of registration: 20210903

Granted publication date: 20200804

Pledgee: Haidian Beijing science and technology enterprise financing Company limited by guarantee

Pledgor: BEIJING DETA JINGYAO INFORMATION TECHNOLOGY Co.,Ltd.

Registration number: Y2021110000040

PE01 Entry into force of the registration of the contract for pledge of patent right