CN107508722A - A kind of business monitoring method and device - Google Patents

A kind of business monitoring method and device Download PDF

Info

Publication number
CN107508722A
CN107508722A CN201710648361.0A CN201710648361A CN107508722A CN 107508722 A CN107508722 A CN 107508722A CN 201710648361 A CN201710648361 A CN 201710648361A CN 107508722 A CN107508722 A CN 107508722A
Authority
CN
China
Prior art keywords
monitored
application program
variety
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.)
Granted
Application number
CN201710648361.0A
Other languages
Chinese (zh)
Other versions
CN107508722B (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 Delta Of Information Technology Co Ltd
Original Assignee
Beijing Delta Of 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 Delta Of Information Technology Co Ltd filed Critical Beijing Delta Of 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

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Mining & Analysis (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention provides a kind of business monitoring method and device, methods described includes:S1, according to the container cluster being pre-created, containerization processing is carried out to application program to be monitored;S2, caused a variety of monitoring datas in the application program running to be monitored are obtained, and dissection process is carried out to a variety of monitoring datas.The present invention by application program to be monitored by carrying out containerization processing, a variety of monitoring datas of application program gather simultaneously using container technique, solves the defects of specific data acquisition mode corresponds to specifically monitored product in the prior art, collection and multidimensional united analysis while realizing a variety of monitoring datas, the efficiency of user's acquisition monitoring data is improved, reduces acquisition cost.

Description

A kind of business monitoring method and device
Technical field
The present invention relates to field of computer technology, and in particular to a kind of business monitoring method and device.
Background technology
Monitoring system is whole O&M link, or even a most important ring in the whole product life cycle;It is in advance pre- in time It is alert to find failure, full and accurate data are provided afterwards and are used to trace orientation problem.The monitoring system O&M product ripe as one, It is available to there is the monitoring product much increased income in the prior art.
In the prior art, difference of the product according to monitoring objective is monitored, is divided into following a few classes:APM(application Performance management) application performance management class product, O&M monitoring tools (zabbix, nagios and open- Falcon), the service message in O&M daily record monitoring analysis instrument and crawl analysis network.
Wherein, there is following defect in APM products:The application program in client's production environment is needed to inject agent codes, Agent codes are in consumer product process internal operation;Client applications runnability is caused necessarily to influence;Should for client The difference for the language environment run with program, it may be necessary to which changing consumer product code could complete, such as nodejs application nothings Method dynamic code implant, it is necessary to change product source code.
Wherein, there is following defect in O&M monitoring tools:Client applications can not be monitored in itself;Monitoring tools are main The container of sort run is applied in monitoring;Monitor third party's component that application program relies on, such as database;Monitor application program operation Network environment in network device state.
Wherein, there is following defect in daily record monitoring tools:Application program needs special acquisition means, it is necessary to using journey Machine implantation collection agent where sequence;The daily record specification of the different components output of application is different, it is necessary to which different daily records parses journey Sequence understands different daily records;The general enormous amount of daily record caused by application program, needed to rely on specialty according to log analysis problem The experience of personnel.
Wherein, there is following defect in the service message in crawl analysis network:The friendship for needing the main frame where application to connect Deployment message of changing planes captures server;If for application distribution, it is necessary to dispose multiple servers under different interchangers, cost is high; If layer deployment services device on switches, the communication packet of the network between program possibly can not be obtained.
Therefore, at least there is following technological deficiency in prior art:Because the monitoring objective of each monitoring product is different, therefore, Need to build different monitoring products for different monitoring objectives;But because various monitoring products have respective application bar Part, therefore, user need to build specific condition, could obtain specific monitoring data using specific monitoring product;When with , it is necessary to carry out multi collect work respectively when family needs to obtain a variety of monitoring datas, waste time and energy.
The content of the invention
For appealing defect present in prior art, the present invention provides a kind of business monitoring method and device.
An aspect of of the present present invention provides a kind of business monitoring method, including:S1 is right according to the container cluster being pre-created Application program to be monitored carries out containerization processing;S2, obtain caused a variety of prisons in the application program running to be monitored Data are controlled, and dissection process is carried out to a variety of monitoring datas.
Wherein, also include before the step S1:According to container technique, the sets of containers for including multiple servers is created Group;Microsoft Loopback Adapter and virtual switch are created on each server respectively.
Wherein, a variety of monitoring datas include:Message data, daily record data and service data;Correspondingly, in the S2 The step of carrying out dissection process to a variety of monitoring datas further comprises:Message solution is carried out to a variety of monitoring datas Analysis, daily record parsing and static fields supplement process.
Wherein, also include after the step S1:Message gripping tool is set on each server;Correspondingly, institute The step of obtaining caused a variety of monitoring datas in the application program running to be monitored in S2 is stated to further comprise:Pass through The message gripping tool obtains the message data of the application program to be monitored, and the message data is sent to analysis group Part.
Wherein, the step of carrying out containerization processing to application program to be monitored in the S1 also includes:Wait to supervise described in setting Control the daily record outgoing route and log collection instrument of application program;Correspondingly, obtained in the S2 and described to be monitored apply journey Further comprise during sort run the step of caused a variety of monitoring datas:Wait to supervise by described by the daily record outgoing route The daily record data of control application program maps to container daily record;By the log collection instrument by the container daily record send to point Analyse component.
Wherein, the step of caused a variety of monitoring datas in the application program running to be monitored are obtained in the S2 Further comprise:The service data of the application program to be monitored is obtained, and the service data is sent to analytic unit;Its In, the service data includes one or more of CPU usage, internal memory service condition, network traffics and disk I/O situation.
Wherein, also include after the step S2:A variety of monitoring datas after dissection process are stored and built Lithol draws, and a variety of monitoring datas are inquired about and shown.
Another aspect of the present invention provides a kind of business monitoring device, including:Processing module, for according to the appearance being pre-created Device cluster, containerization processing is carried out to application program to be monitored;Acquisition module, for obtaining the application program operation to be monitored During caused a variety of monitoring datas, and dissection process are carried out to a variety of monitoring datas.
Another aspect of the present invention provides a kind of business monitoring equipment, including:At least one processor;And with the place At least one memory of device communication connection is managed, wherein:The memory storage has and can referred to by the program of the computing device Order, the processor calls described program instruction to be able to carry out the business monitoring method that the above-mentioned aspect of the present invention provides, such as wraps Include:S1, according to the container cluster being pre-created, containerization processing is carried out to application program to be monitored;S2, obtain described to be monitored Caused a variety of monitoring datas in application program running, and dissection process is carried out to a variety of monitoring datas.
Another aspect of the present invention provides a kind of non-transient computer readable storage medium storing program for executing, and the non-transient computer is readable Storage medium stores computer instruction, and the computer instruction makes the computer perform the business that the above-mentioned aspect of the present invention provides Monitoring method, such as including:S1, according to the container cluster being pre-created, containerization processing is carried out to application program to be monitored; S2, caused a variety of monitoring datas in the application program running to be monitored are obtained, and a variety of monitoring datas are entered Row dissection process.
Business monitoring method and device provided by the invention, by the way that application program to be monitored is carried out into containerization processing, profit A variety of monitoring datas of application program are carried out while gathered with container technique, solve specific data acquisition side in the prior art Formula corresponds to the defects of specifically monitored product, and collection and multidimensional united analysis, are improved while realizing a variety of monitoring datas The efficiency of user's acquisition monitoring data, reduces acquisition cost.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is the required accompanying drawing used in technology description to be briefly described, it should be apparent that, drawings in the following description are this hairs Some bright embodiments, for those of ordinary skill in the art, on the premise of not paying creative work, can be with root Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is the schematic flow sheet of business monitoring method provided in an embodiment of the present invention;
Fig. 2 is the structural representation of the virtual network of business monitoring method provided in an embodiment of the present invention;
Fig. 3 is the schematic flow sheet for the business monitoring method that another embodiment of the present invention provides;
Fig. 4 is the structural representation of business monitoring device provided in an embodiment of the present invention;
Fig. 5 is the structural representation of business monitoring equipment provided in an embodiment of the present invention.
Embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention In accompanying drawing, the technical scheme in the embodiment of the present invention is explicitly described, it is clear that described embodiment be the present invention Part of the embodiment, rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art are not having The every other embodiment obtained under the premise of creative work is made, belongs to the scope of protection of the invention.
The limitation of data acquisition means is limited in the past, it has to different products is built for different scenes.Now, with The development of container technique, virtualization is advanced to the level of operating system virtualization.Container aspect and virtual network I Can be obtained directly from container and virtual switch corresponding to data, so as to form unified multidimensional monitoring scheme.
Fig. 1 is the schematic flow sheet of business monitoring method provided in an embodiment of the present invention, as shown in figure 1, including:S1, root According to the container cluster being pre-created, containerization processing is carried out to application program to be monitored;S2, obtain the application program to be monitored Caused a variety of monitoring datas in running, and dissection process is carried out to a variety of monitoring datas.
Wherein, container (Docker) is an open-source software project, allows application deployment under software container Work can automate progress, whereby on (SuSE) Linux OS, there is provided an extra software abstract layer, and operation The automatic administrative mechanism of system layer virtualization.Container technique helps to realize flexibility and portability, application program it is in office where Side can be run, either public cloud, private clound or unit etc..
Wherein, containerization refers to application deployment to be monitored in a reservoir.
Wherein, container cluster by multiple server groups into each server includes several containers, can in each container To dispose an application program to be monitored.
In step sl, according to the container cluster being pre-created, containerization processing is carried out to the application program that needs monitor, Application program to be monitored is deployed in each container in container cluster respectively, to utilize container technique to application program to be monitored It is monitored.
In step s 2, the application program handled according to containerization is passed through in step S1, when application program to be monitored is being transported When data are produced during row, the data that monitoring application program is treated using container cluster are collected, and to the monitoring of acquisition Data carry out dissection process;It should be noted that container can be handled accordingly according to being actually needed, so as to obtain Take a variety of monitoring datas.
Business monitoring method provided in an embodiment of the present invention, by the way that application program to be monitored is carried out into containerization processing, profit A variety of monitoring datas of application program are carried out while gathered with container technique, solve specific data acquisition side in the prior art Formula corresponds to the defects of specifically monitored product, and collection and multidimensional united analysis, are improved while realizing a variety of monitoring datas The efficiency of user's acquisition monitoring data, reduces acquisition cost.
On the basis of any of the above-described embodiment, also include before the step S1:According to container technique, establishment includes multiple The container cluster of server;Microsoft Loopback Adapter and virtual switch are created on each server respectively.
Specifically, container cluster establishment or layout can be increased income based on Google Kubernetes arrangement software, grind The CaaS cluster platforms of hair.
Wherein, the dispatch service of a container can be built by being built in the Kubernetes on Docker, and the purpose is to allow User carries out the management of high in the clouds container cluster through Kubernetes clusters, and complicated setting work is carried out without user; System can choose suitable working node automatically to perform specific container cluster dispatch deal work;Its key concept is Container Pod (container storehouse), a Pod are that have one group of container for working in same Physics Work node to form.These Group container possesses identical network namespace and storage quota, can carry out port to each Pod according to actual conditions Mapping.In addition, Kubernetes working nodes can be managed by main system, node, which contains, can run Docker containers institute The service used.
Wherein, based on Kubernetes research and development CaaS platforms, realize using remote deployment/upgrading, using authorize and Using monitoring.
Fig. 2 is the structural representation of the virtual network of business monitoring method provided in an embodiment of the present invention, as shown in Fig. 2 By creating Microsoft Loopback Adapter and virtual switch on every server, the virtual network of container cluster can be established.Specifically may be used To use Weave virtual networks.Weave creates a bridge, and one veth pairs is created between bridge and each example, Can distributes an IP and corresponding mask to each veth example end when weave run.This end of veth bridge It is exactly weave routing instances, and IP and mask is distributed when weave launch.
By the way that the network-driven of container is arranged into overlay, it is meant that all containers can directly ping lead to, So the ip addresses of all containers are all without repetition.To achieve it, deposited with regard to needing the storage of a lightweight The allocated ip information gone out and some other configuration informations.Technical Docker has used libkv and libnetwork to come The overlay network of oneself is realized, they are write with go language, and the former is to operating distributed key assignments storage system such as Consul, etcd, zookeeper level of abstraction, the latter realize the network connection of container.
On the basis of any of the above-described embodiment, a variety of monitoring datas include:Message data, daily record data and operation Data;Correspondingly, the step of carrying out dissection process to a variety of monitoring datas in the S2 further comprises:To described a variety of Monitoring data carries out packet parsing, daily record parsing and static fields supplement process.
Wherein, message data is the network communication message data of the application program to be monitored obtained from virtual switch.
Wherein, daily record data includes the event by application records to be monitored, the thing in terms of essential record program operation Part, such as database program log file mistake, application developer can decide prison in its sole discretion in application log Depending on which event.If there is collapse case in some application program, then developer can find from program event daily record Corresponding record, is conducive to the solution of problems.
Wherein, service data is the running state information that application program to be monitored is operationally reported.
Specifically, a variety of monitoring datas include one or more of above-mentioned message data, daily record data and service data; Therefore, above-mentioned monitoring data is being got, when being parsed, packet parsing is being carried out to message data, daily record data is carried out Daily record parses;, it is necessary to carry out static fields supplement after the step of having carried out packet parsing and daily record parses.
Wherein, static fields supplement refers to:Message data, daily record data and the service data of collection would generally be processed or Field one by one is parsed into, such as message data is processed into source IP, purpose IP, state and content etc.;And in order to which user inquires about With read, it is necessary to these fields are collected and supplemented, for example, it is necessary to number by a timeslice for message data Merge according to identical sources IP and purpose IP etc. is merged.
On the basis of any of the above-described embodiment, also include after the step S1:Report is set on each server Literary gripping tool;Correspondingly, caused a variety of monitoring datas in the application program running to be monitored are obtained in the S2 The step of further comprise:Obtain the message data of the application program to be monitored by the message gripping tool, and by institute Message data is stated to send to analytic unit.
Specifically, application program to be monitored can be obtained from virtual switch by container cluster, message gripping tool Network communication message data, and message data is sent to the analytic unit into storage;Analytic unit is further to message number According to progress packet parsing.For the corresponding message data of such as HTTP, MySQL common protocol, analytic unit can be direct Analysis;And for the specific message data that application program to be monitored uses, corresponding parsing module can be pointedly developed, is passed through After crossing parsing module identification, uniformly it can be analyzed in analytic unit.
On the basis of any of the above-described embodiment, in the S1 to application program to be monitored carry out containerization processing the step of Also include:The daily record outgoing route and log collection instrument of the application program to be monitored are set;Correspondingly, obtained in the S2 The step of taking caused a variety of monitoring datas in the application program running to be monitored further comprises:Pass through the daily record The daily record data of the application program to be monitored is mapped to container daily record by outgoing route;By the log collection instrument by institute Container daily record is stated to send to analytic unit.
Specifically, in order to which the daily record data of application program to be monitored is acquired and analyzed, enter treating monitoring programme During the processing of row containerization, the daily record outgoing route of application program to be monitored can be configured;, can by daily record outgoing route So that daily record data caused by application program is mapped in container daily record;Furthermore it is possible to by log collection instrument, uniformly will Daily record data sends the analytic unit into storage;So that the log analyzing module configured in analytic unit, can identify daily record After implication, united analysis.
On the basis of any of the above-described embodiment, obtain in the S2 and produced in the application program running to be monitored A variety of monitoring datas the step of further comprise:Obtain the service data of the application program to be monitored, and by the operation Data are sent to analytic unit;Wherein, the service data includes CPU usage, internal memory service condition, network traffics and disk One or more of IO situations.
Specifically, in the running of application program to be monitored, container is capable of the running status of report procedure in real time, example Such as, CPU usage, internal memory service condition, network traffics, disk I/O situation;The above-mentioned status data collection of container can be risen Come, and the analytic unit sent into storing, uniformly analyzed.It is for instance possible to use network flow data collector (PacketBeats) network flow data is acquired;Corresponding text is gathered using file data collector (FileBeats) Number of packages evidence.
On the basis of any of the above-described embodiment, also include after the step S2:To described a variety of after dissection process Monitoring data is stored and established index, and a variety of monitoring datas are inquired about and shown.
Specifically, after unified analysis, index is stored and established to monitoring data, to monitoring number after facilitating According to displaying and inquiry.For example, monitoring data after parsing, filtering, sends data to NoSQL database purchases, such as can To select Elasticsearch databases.
In order to illustrate the business monitoring method that above-described embodiment provides, below the above method illustrate It is bright.Fig. 3 is the schematic flow sheet for the business monitoring method that another embodiment of the present invention provides, as shown in figure 3, including:
Step 1, message data, daily record data and monitoring data caused by application program to be monitored are obtained, collector will be upper Data are stated to send to analyzing and processing center;
Step 2, analyze and process center and packet parsing is carried out to message data, daily record parsing, parsing are carried out to daily record data After the completion of to all data carry out static fields supplement processing;
Step 3, monitoring data is stored and establishes index;
Step 4, monitoring data is inquired about and shown.
Fig. 4 is the structural representation of business monitoring device provided in an embodiment of the present invention, as shown in figure 4, including:Handle mould Block 401, for according to the container cluster being pre-created, containerization processing to be carried out to application program to be monitored;Acquisition module 402, Enter for obtaining caused a variety of monitoring datas in the application program running to be monitored, and to a variety of monitoring datas Row dissection process.
Wherein, processing module 401 carries out containerization according to the container cluster being pre-created to the application program that needs monitor Processing;Application program to be monitored is deployed in each container in container cluster by processing module 401 respectively, to utilize container technique Application program to be monitored is monitored.
Wherein, the application program that acquisition module 402 is handled according to containerization is passed through in processing module 401, answered when to be monitored When producing data in the process of running with program, the data that acquisition module 402 treats monitoring application program using container cluster are entered Row is collected, and carries out dissection process to the monitoring data of acquisition;It should be noted that acquisition module 402 can be according to actual need Container is handled accordingly, so as to obtain a variety of monitoring datas.
Business monitoring device provided in an embodiment of the present invention, by the way that application program to be monitored is carried out into containerization processing, profit A variety of monitoring datas of application program are carried out while gathered with container technique, solve specific data acquisition side in the prior art Formula corresponds to the defects of specifically monitored product, and collection and multidimensional united analysis, are improved while realizing a variety of monitoring datas The efficiency of user's acquisition monitoring data, reduces acquisition cost.
On the basis of any of the above-described embodiment, described device also includes:Creation module, for according to container technique, wound Build the container cluster including multiple servers;Microsoft Loopback Adapter and virtual switch are created on each server respectively Machine.
On the basis of any of the above-described embodiment, a variety of monitoring datas include:Message data, daily record data and operation Data;Correspondingly, the acquisition module 402 is further used for:A variety of monitoring datas are carried out with packet parsing, daily record parsing With static fields supplement process.
On the basis of any of the above-described embodiment, described device also includes:Setup module, in each server Upper setting message gripping tool;Correspondingly, the acquisition module 402 is further used for:Obtained by the message gripping tool The message data of the application program to be monitored, and the message data is sent to analytic unit.
On the basis of any of the above-described embodiment, the processing module 401 also includes:Path unit, it is described for setting The daily record outgoing route and log collection instrument of application program to be monitored;Correspondingly, acquisition module 402 is further used for:It is logical Cross the daily record outgoing route and the daily record data of the application program to be monitored is mapped into container daily record;Received by the daily record Collection instrument sends the container daily record to analytic unit.
On the basis of any of the above-described embodiment, the acquisition module 402 is further used for:Obtain the application to be monitored The service data of program, and the service data is sent to analytic unit;Wherein, the service data include CPU usage, One or more of internal memory service condition, network traffics and disk I/O situation.
On the basis of any of the above-described embodiment, described device also includes:Memory module, for after dissection process A variety of monitoring datas are stored and established index, and a variety of monitoring datas are inquired about and shown.
Fig. 5 is the structural representation of business monitoring equipment provided in an embodiment of the present invention, as shown in figure 5, the equipment includes: At least one processor 501;And at least one memory 502 with the processor 501 communication connection, wherein:It is described to deposit Reservoir 502 is stored with the programmed instruction that can be performed by the processor 501, and the processor 501 calls described program instruction energy The business monitoring method that enough execution the various embodiments described above are provided, such as including:S1 is right according to the container cluster being pre-created Application program to be monitored carries out containerization processing;S2, obtain caused a variety of prisons in the application program running to be monitored Data are controlled, and dissection process is carried out to a variety of monitoring datas.
The embodiment of the present invention also provides a kind of non-transient computer readable storage medium storing program for executing, the non-transient computer readable storage Medium storing computer instructs, and the computer instruction makes computer perform the business monitoring method that corresponding embodiment is provided, example Such as include:S1, according to the container cluster being pre-created, containerization processing is carried out to application program to be monitored;S2, treat described in acquisition Caused a variety of monitoring datas in application program running are monitored, and dissection process is carried out to a variety of monitoring datas.
The embodiments such as business monitoring equipment described above are only schematical, wherein illustrate as separating component Unit can be or may not be physically separate, can be as the part that unit is shown or may not be thing Manage unit, you can with positioned at a place, or can also be distributed on multiple NEs.It can select according to the actual needs Some or all of module therein is selected to realize the purpose of this embodiment scheme.Those of ordinary skill in the art are not paying wound In the case of the work for the property made, you can to understand and implement.
Through the above description of the embodiments, those skilled in the art can be understood that each embodiment can Realized by the mode of software plus required general hardware platform, naturally it is also possible to pass through hardware.Based on such understanding, on The part that technical scheme substantially in other words contributes to prior art is stated to embody in the form of software product, should Computer software product can store in a computer-readable storage medium, such as ROM/RAM, magnetic disc, CD, including some fingers Make to cause a computer equipment (can be personal computer, server, or network equipment etc.) to perform each implementation Some Part Methods of example or embodiment.
Business monitoring method, device and equipment provided in an embodiment of the present invention, by container technique, realize service application Multidimensional monitoring, break the situation that single data acquisition modes in the past correspond to single product, so as to reach multidimensional unification point Analysis, unified displaying;So as to reduce client's times of collection, reduce cost, using multidimensional united analysis, accomplish from network to Business completely monitors view.
Finally it should be noted that:The above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although The present invention is described in detail with reference to the foregoing embodiments, it will be understood by those within the art that:It still may be used To be modified to the technical scheme described in foregoing embodiments, or equivalent substitution is carried out to which part technical characteristic; And these modification or replace, do not make appropriate technical solution essence depart from various embodiments of the present invention technical scheme spirit and Scope.

Claims (10)

  1. A kind of 1. business monitoring method, it is characterised in that including:
    S1, according to the container cluster being pre-created, containerization processing is carried out to application program to be monitored;
    S2, caused a variety of monitoring datas in the application program running to be monitored are obtained, and to a variety of monitoring numbers According to progress dissection process.
  2. 2. according to the method for claim 1, it is characterised in that also include before the step S1:
    According to container technique, the container cluster for including multiple servers is created;
    Microsoft Loopback Adapter and virtual switch are created on each server respectively.
  3. 3. according to the method for claim 2, it is characterised in that a variety of monitoring datas include:
    Message data, daily record data and service data;
    Correspondingly, the step of carrying out dissection process to a variety of monitoring datas in the S2 further comprises:
    Packet parsing, daily record parsing and static fields supplement process are carried out to a variety of monitoring datas.
  4. 4. according to the method for claim 3, it is characterised in that also include after the step S1:
    Message gripping tool is set on each server;
    Correspondingly, the step of caused a variety of monitoring datas in the application program running to be monitored are obtained in the S2 is entered One step includes:
    The message data of the application program to be monitored is obtained by the message gripping tool, and the message data is sent To analytic unit.
  5. 5. according to the method for claim 3, it is characterised in that application program to be monitored is carried out at containerization in the S1 The step of reason, also includes:
    The daily record outgoing route and log collection instrument of the application program to be monitored are set;
    Correspondingly, the step of caused a variety of monitoring datas in the application program running to be monitored are obtained in the S2 is entered One step includes:
    The daily record data of the application program to be monitored is mapped to by container daily record by the daily record outgoing route;
    The container daily record is sent to analytic unit by the log collection instrument.
  6. 6. according to the method for claim 3, it is characterised in that the application program to be monitored is obtained in the S2 and was run Further comprise in journey the step of caused a variety of monitoring datas:
    The service data of the application program to be monitored is obtained, and the service data is sent to analytic unit;
    Wherein, the service data includes one in CPU usage, internal memory service condition, network traffics and disk I/O situation It is or multiple.
  7. 7. according to the method for claim 1, it is characterised in that also include after the step S2:
    Index is stored and established to a variety of monitoring datas after dissection process, and a variety of monitoring datas are entered Row inquiry and displaying.
  8. A kind of 8. business monitoring device, it is characterised in that including:
    Processing module, for according to the container cluster being pre-created, containerization processing to be carried out to application program to be monitored;
    Acquisition module, for obtaining caused a variety of monitoring datas in the application program running to be monitored, and to described A variety of monitoring datas carry out dissection process.
  9. A kind of 9. business monitoring equipment, it is characterised in that including:
    At least one processor;
    And at least one memory being connected with the processor communication, wherein:The memory storage has can be by the place The programmed instruction that device performs is managed, the processor calls described program instruction to be able to carry out as described in claim 1 to 7 is any Method.
  10. 10. a kind of non-transient computer readable storage medium storing program for executing, it is characterised in that the non-transient computer readable storage medium storing program for executing is deposited Computer instruction is stored up, the computer instruction makes the computer perform the method as described in claim 1 to 7 is any.
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 true CN107508722A (en) 2017-12-22
CN107508722B 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)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108920250A (en) * 2018-06-05 2018-11-30 麒麟合盛网络技术股份有限公司 The method and device of Application Container
CN109245931A (en) * 2018-09-19 2019-01-18 四川长虹电器股份有限公司 The log management of container cloud platform based on kubernetes and the implementation method of monitoring alarm
CN109240887A (en) * 2018-09-04 2019-01-18 北京世纪东方通讯设备有限公司 Long-distance monitoring method, monitoring client and the monitoring server of application program running state
CN109656776A (en) * 2018-11-05 2019-04-19 阿里巴巴集团控股有限公司 The completeness method for inspecting and its equipment of computer system abnormal monitoring
CN109660397A (en) * 2018-12-21 2019-04-19 北京百度网讯科技有限公司 For acquiring system, the method and apparatus of log
CN109743199A (en) * 2018-12-25 2019-05-10 中国联合网络通信集团有限公司 Containerization management system based on micro services
CN110007914A (en) * 2017-12-29 2019-07-12 珠海市君天电子科技有限公司 A kind of big data calculation method and device
CN110262941A (en) * 2019-05-28 2019-09-20 深圳市汇川技术股份有限公司 Application Container cluster alarm implementation method, system, equipment and storage medium
CN110858341A (en) * 2018-08-22 2020-03-03 ***通信集团重庆有限公司 Index monitoring method, device, equipment and medium based on distributed storage system
CN111444172A (en) * 2019-01-17 2020-07-24 北京京东尚科信息技术有限公司 Data monitoring method, device, medium and equipment
CN112230924A (en) * 2020-11-09 2021-01-15 平安普惠企业管理有限公司 Popup frame prompting method and device, computer equipment and storage medium

Citations (6)

* 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
CN104092575A (en) * 2014-07-29 2014-10-08 中国联合网络通信集团有限公司 Resource monitoring method and system
CN105119952A (en) * 2015-07-07 2015-12-02 北京京东尚科信息技术有限公司 Method and system for automatically and flexibly assigning resource under cloud platform
CN105893205A (en) * 2015-11-20 2016-08-24 乐视云计算有限公司 Method and system for monitoring containers created based on docker
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
CN106776212A (en) * 2016-12-09 2017-05-31 中电科华云信息技术有限公司 The supervisory systems and method of container clustered deploy(ment) multi-process application

Patent Citations (6)

* 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
CN104092575A (en) * 2014-07-29 2014-10-08 中国联合网络通信集团有限公司 Resource monitoring method and system
CN105119952A (en) * 2015-07-07 2015-12-02 北京京东尚科信息技术有限公司 Method and system for automatically and flexibly assigning resource 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
CN106776212A (en) * 2016-12-09 2017-05-31 中电科华云信息技术有限公司 The supervisory systems and method of container clustered deploy(ment) multi-process application

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110007914A (en) * 2017-12-29 2019-07-12 珠海市君天电子科技有限公司 A kind of big data calculation method and device
CN108920250A (en) * 2018-06-05 2018-11-30 麒麟合盛网络技术股份有限公司 The method and device of Application Container
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
CN109245931A (en) * 2018-09-19 2019-01-18 四川长虹电器股份有限公司 The log management of container cloud platform based on kubernetes and the implementation method of monitoring alarm
CN109656776A (en) * 2018-11-05 2019-04-19 阿里巴巴集团控股有限公司 The completeness method for inspecting and its equipment of computer system abnormal monitoring
CN109656776B (en) * 2018-11-05 2022-05-13 创新先进技术有限公司 Completeness inspection method and equipment for abnormal monitoring of computer system
CN109660397A (en) * 2018-12-21 2019-04-19 北京百度网讯科技有限公司 For acquiring system, the method and apparatus of log
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
CN110262941A (en) * 2019-05-28 2019-09-20 深圳市汇川技术股份有限公司 Application Container cluster alarm implementation method, system, equipment and storage medium
CN112230924A (en) * 2020-11-09 2021-01-15 平安普惠企业管理有限公司 Popup frame prompting method and device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN107508722B (en) 2020-08-04

Similar Documents

Publication Publication Date Title
CN107508722A (en) A kind of business monitoring method and device
CN102739802B (en) Service application-oriented IT centralized operation and maintenance analyzing system
CN104025549B (en) Postpone the related technology of information to server transaction
CN105812177B (en) A kind of network failure processing method and processing equipment
CN106055608B (en) The method and apparatus of automatic collection and analysis interchanger log
CN108600029A (en) A kind of configuration file update method, device, terminal device and storage medium
CN108459939A (en) A kind of log collecting method, device, terminal device and storage medium
CN110855473A (en) Monitoring method, device, server and storage medium
CN108521339B (en) Feedback type node fault processing method and system based on cluster log
CN103546343B (en) The network traffics methods of exhibiting of network traffic analysis system and system
CN107317724A (en) Data collecting system and method based on cloud computing technology
CN110519077A (en) Log acquisition system, method, device, server and storage medium
CN107168844B (en) Performance monitoring method and device
CN107370796A (en) A kind of intelligent learning system based on Hyper TF
CN109669976A (en) Data service method and equipment based on ETL
CN113542074B (en) Method and system for visually managing east-west network flow of kubernets cluster
CN114598586A (en) Multi-cloud scene computing power gridding method and system
CN114070707A (en) Internet performance monitoring method and system
CN108427709A (en) A kind of multi-source mass data processing system and method
CN114900430A (en) Container network optimization method and device, computer equipment and storage medium
CN114912255A (en) On-line simulation experiment system and method
CN107426017A (en) A kind of method for carrying out data analysis by gathering switch network flow
CN112671586B (en) Automatic migration and guarantee method and device for service configuration
CN107995026B (en) Management and control method, management node, managed node and system based on middleware
CN109710263A (en) Compilation Method, device, storage medium and the electronic equipment of code

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