CN115858306A - Micro-service monitoring method based on event stream, terminal equipment and storage medium - Google Patents

Micro-service monitoring method based on event stream, terminal equipment and storage medium Download PDF

Info

Publication number
CN115858306A
CN115858306A CN202211704562.5A CN202211704562A CN115858306A CN 115858306 A CN115858306 A CN 115858306A CN 202211704562 A CN202211704562 A CN 202211704562A CN 115858306 A CN115858306 A CN 115858306A
Authority
CN
China
Prior art keywords
monitoring
event
event stream
mode
stream
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211704562.5A
Other languages
Chinese (zh)
Inventor
雷晔
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Vispractice Technology Co ltd
Original Assignee
Shenzhen Vispractice 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 Shenzhen Vispractice Technology Co ltd filed Critical Shenzhen Vispractice Technology Co ltd
Priority to CN202211704562.5A priority Critical patent/CN115858306A/en
Publication of CN115858306A publication Critical patent/CN115858306A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

The invention discloses a micro-service monitoring method based on event streams, a terminal device and a storage medium, wherein the method comprises the following steps: acquiring an original event stream based on an event stream system, and determining a monitoring event stream according to the original event stream; determining a target monitoring mode according to the monitoring event stream, wherein the target monitoring mode comprises any one or more of a single-event monitoring mode, a multi-event monitoring mode and a complex event monitoring mode; and monitoring all events in the monitoring event stream based on the target monitoring mode. The invention can monitor and process the event by using a uniform monitoring mode, and the whole monitoring process is simpler, thereby being beneficial to improving the monitoring efficiency and reducing the delay.

Description

Micro-service monitoring method based on event stream, terminal equipment and storage medium
Technical Field
The present invention relates to the field of event stream processing technologies, and in particular, to a method, a terminal device, and a storage medium for monitoring microservice based on an event stream.
Background
The business of any enterprise or organization is, in essence, a series of event streams that are continually generated and responded to. The mainstream service design, development and operation paradigm widely accepted in the current it industry is microservice and cloud-native. However, services based on a synchronous manner, i.e., a request/response manner, have a great adverse effect on performance and coupling, and asynchronous production and consumption event/event streams can be stored permanently on a large scale, consumed by any service for many times as required, and simultaneously, computational resources can be easily acquired and released in the modern day with the vigorous development of big data technologies.
The monitoring object package of the micro service system comprises the following major classes: the log data, the index data and the link data are included, but the objects are dispersed, large in quantity and redundant, so that the processing and analysis of the objects are difficult to perform, and the objects are difficult to process and analyze in a simple mode in the prior art.
Thus, there is a need for improvements and enhancements in the art.
Disclosure of Invention
The technical problem to be solved by the present invention is to provide a microservice monitoring method, a terminal device and a storage medium based on event streams, aiming at solving the problem that it is difficult to process and analyze the monitored object of a microservice system in a simple manner in the prior art.
In order to solve the technical problems, the technical scheme adopted by the invention is as follows:
in a first aspect, the present invention provides a method for monitoring microservice based on event flow, wherein the method includes:
acquiring an original event stream based on an event stream system, and determining a monitoring event stream according to the original event stream;
determining a target monitoring mode according to the monitoring event stream, wherein the target monitoring mode comprises any one or more of a single event monitoring mode, a multi-event monitoring mode and a complex event monitoring mode;
and monitoring all events in the monitoring event stream based on the target monitoring mode.
In one implementation, the event stream based system obtaining an original event stream includes:
acquiring a monitored object corresponding to the monitored object, wherein the monitored object comprises: log data, index data, and link data;
and inputting the monitoring object into the event stream system to generate the original event stream.
In one implementation, the determining a monitoring event stream from the original event stream includes:
inputting the original event stream into a preset monitoring event preprocessing module;
and processing the original event stream based on the monitoring event preprocessing module to obtain the monitoring event stream.
In one implementation, the monitoring all events in the monitoring event stream based on the target monitoring mode includes:
if the target monitoring mode is a single-event monitoring mode, reading each event in the monitoring event stream in sequence;
and respectively carrying out checking, expanding, filtering and analyzing operations on each event so as to determine an error event stream and an alarm event stream in the monitoring event stream.
In one implementation, the monitoring all events in the monitoring event stream based on the target monitoring mode includes:
if the target monitoring mode is a multi-event monitoring mode, selecting a plurality of events from the monitoring event stream;
forming an event window from the selected events and carrying out window analysis to obtain a window event stream;
or, carrying out sequence resetting processing on the selected events to obtain a reset event stream.
In one implementation, the monitoring all events in the monitoring event stream based on the target monitoring mode includes:
if the target monitoring mode is a complex event monitoring mode, performing feature analysis on each event in the monitoring event stream to obtain a feature analysis result, wherein the feature analysis result is used for reflecting events with the same feature in the monitoring event stream;
based on the characteristic analysis result, selecting an analysis mode corresponding to the characteristic analysis result, and based on the analysis mode, obtaining a mode event stream;
or, based on the feature analysis result, performing aggregation analysis on a plurality of events in the monitoring event stream to obtain an aggregated event stream.
In one implementation, the method further comprises:
and performing monitoring alarm analysis and/or monitoring visualization analysis on the monitoring event stream to obtain an alarm result and/or a visualization result.
In a second aspect, an embodiment of the present invention further provides an event stream-based micro-service monitoring apparatus, where the apparatus includes:
the monitoring event flow determining module is used for acquiring an original event flow based on an event flow system and determining a monitoring event flow according to the original event flow;
a monitoring mode determining module, configured to determine a target monitoring mode according to the monitoring event stream, where the target monitoring mode includes any one or more of a single-event monitoring mode, a multiple-event monitoring mode, and a complex-event monitoring mode;
and the event monitoring processing module is used for monitoring and processing all events in the monitoring event stream based on the target monitoring mode.
In a third aspect, an embodiment of the present invention further provides a terminal device, where the terminal device includes a memory, a processor, and a micro-service monitoring program based on an event stream, which is stored in the memory and is capable of running on the processor, and when the processor executes the micro-service monitoring program based on the event stream, the step of implementing the micro-service monitoring method based on the event stream in any of the above schemes is implemented.
In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, where an event stream-based micro-service monitoring program is stored on the computer-readable storage medium, and when the event stream-based micro-service monitoring program is executed by a processor, the steps of the event stream-based micro-service monitoring method in any of the above schemes are implemented.
Has the beneficial effects that: compared with the prior art, the invention provides a micro-service monitoring method based on event streams. Then, according to the monitoring event stream, determining a target monitoring mode, wherein the target monitoring mode comprises any one or more of a single-event monitoring mode, a multi-event monitoring mode and a complex event monitoring mode. And finally, monitoring all events in the monitoring event stream based on the target monitoring mode. The invention monitors and processes the monitoring event stream by determining the target monitoring mode, thereby utilizing the uniform monitoring mode to monitor and process the event, and the whole monitoring process is simpler, which is beneficial to improving the monitoring efficiency and reducing the delay.
Drawings
Fig. 1 is a flowchart of a method for monitoring microservice based on event streams according to an embodiment of the present invention.
Fig. 2 is a schematic view of an event model in the event flow-based micro-service monitoring method according to the embodiment of the present invention.
Fig. 3 is a schematic flow chart of a micro-service monitoring method based on event streams according to an embodiment of the present invention in specific application.
Fig. 4 is a flowchart of a single-event monitoring mode in the event-flow-based micro-service monitoring method according to the embodiment of the present invention.
Fig. 5 is a flowchart of a multiple-event monitoring mode in the event-flow-based micro-service monitoring method according to the embodiment of the present invention.
Fig. 6 is a flowchart of a complex event monitoring mode in the event stream-based micro-service monitoring method according to the embodiment of the present invention.
Fig. 7 is a schematic block diagram of an event stream-based microservice monitoring apparatus according to an embodiment of the present invention.
Fig. 8 is a schematic block diagram of an internal structure of a terminal device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and effects of the present invention clearer and clearer, the present invention is further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
In specific implementation, the embodiment first obtains an original event stream based on an event stream system, and determines a monitoring event stream according to the original event stream. Then, according to the monitoring event stream, determining a target monitoring mode, wherein the target monitoring mode comprises any one or more of a single-event monitoring mode, a multi-event monitoring mode and a complex event monitoring mode. And finally, monitoring all events in the monitoring event stream based on the target monitoring mode. The embodiment can monitor and process the monitoring event stream by determining the target monitoring mode, so that the event is monitored and processed by utilizing the uniform monitoring mode, the whole monitoring process is simpler, the monitoring efficiency is improved, and the delay is reduced.
Exemplary method
The micro-service monitoring method based on the event stream can be applied to terminal equipment, and the terminal equipment can be an intelligent product terminal such as a computer, a mobile phone, an intelligent television and the like. As shown in fig. 1, the event stream-based microservice monitoring method of the present embodiment includes the following steps:
step S100, an original event stream is obtained based on an event stream system, and a monitoring event stream is determined according to the original event stream.
In this embodiment, the monitoring object packages of the microservice system are several major classes: log data, index data, link data. In order to implement monitoring of these monitored objects, the present embodiment may obtain an original event stream based on an event stream system, specifically, the present embodiment may first obtain log data, index data, and link data, and then input the log data, the index data, and the link data into the event stream system to obtain the original event stream, where the original event stream includes the log data, the index data, and the link data, an event model in the present embodiment is shown in fig. 2, the event model includes an extension, an id, and a type, and further includes a subject, a predicate, an object, a state, and a rule, and the rule reflects routing, parameters, initialization, and monitoring conditions. The original event streams obtained in this embodiment can be r1, r2, r3 and r4 in fig. 3. After the original event stream is obtained, the present embodiment may input the original event stream to a preset monitoring event preprocessing module, and then process the original event stream based on the monitoring event preprocessing module to obtain the monitoring event stream. The monitoring event streams of the present embodiment are e1, e2, e3, and e4 in fig. 3.
Step S200, determining a target monitoring mode according to the monitoring event stream, wherein the target monitoring mode comprises any one or more of a single-event monitoring mode, a multi-event monitoring mode and a complex event monitoring mode.
After the monitoring event stream is obtained, the embodiment analyzes the monitoring event stream, and selects a suitable target monitoring mode, where the target monitoring mode of the embodiment includes a single-event monitoring mode, a multiple-event monitoring mode, and a complex event monitoring mode. That is, the present embodiment needs to determine which monitoring mode the monitoring event stream applies for monitoring. In this embodiment, the single-event monitoring mode refers to monitoring/responding to a single event in the monitoring event stream, that is, monitoring zero or more output data or events generated by a single event (such as index change or log exception) in the monitoring event stream. The multiple-event monitoring mode refers to monitoring/responding to multiple events in the monitoring event stream at the same time, that is, monitoring zero or more output data or events generated by multiple events (e.g., multiple indexes) in the monitoring event stream. The complex Event monitoring mode is a fusion of a single Event monitoring mode and a multi-Event monitoring mode, and mainly means that a Comp ex Event Process i ng (CEP) related technology is added into a monitoring system, so that a monitoring mode based on the single Event monitoring mode can be supported, and a monitoring mode based on the multi-Event monitoring mode can also be supported. Specifically, for the determination of the target monitoring mode, the present embodiment may determine the degree of association between the events in the monitoring event stream, for example, if the degree of association between the events in the monitoring event stream is not large, it indicates that the events are independent, and therefore, the target monitoring mode at this time may be determined to be the single-event monitoring mode. If the correlation degree between certain events in the monitoring event stream is larger, the target monitoring mode at the moment can be determined to be a multi-event monitoring mode. In another implementation manner, the present embodiment may also autonomously select a target monitoring mode, and based on the selection of the user, select a target monitoring mode most suitable for the monitoring event stream, so as to better perform monitoring processing on the monitoring event stream.
Step S300, monitoring all events in the monitoring event stream based on the target monitoring mode.
In this embodiment, if the target monitoring mode of this embodiment is a single-event monitoring mode, this embodiment reads each event in the monitoring event stream in turn. As shown in fig. 4, the embodiment performs operations of checking, expanding, field filtering, and analyzing on each event, so as to determine an error event stream and an alarm event stream in the monitoring event stream. If the target monitoring mode of the present embodiment is the multiple-event monitoring mode, the present embodiment selects a plurality of events from the monitoring event stream, for example, e1 to e4 and e5 to e8 selected in fig. 5. Next, in this embodiment, an event window is formed by the selected multiple events, and window analysis is performed, when there are multiple events in the monitoring event stream, the window moving average value may be preset during window analysis in this embodiment, and window analysis is performed on multiple events in sequence, so as to obtain a window event stream, as shown in fig. 5, the window analysis is performed on e1 to e4 in this embodiment, and the obtained window event stream is e1 to e4. In another implementation manner, in this embodiment, sequence resetting may be further performed on the selected multiple events to obtain a reset event stream, as shown in fig. 5, in this embodiment, sequence resetting is performed on e5 to e5, and the obtained reset event stream is e5 to e5. If the target monitoring mode of this embodiment is a complex event monitoring mode, performing feature analysis on each event in the monitoring event stream to obtain a feature analysis result, where the feature analysis result is used to reflect events having the same feature in the monitoring event stream, that is, to reflect which category each event belongs to respectively. That is to say, when the target monitoring mode is the complex event monitoring mode, the present embodiment may perform feature analysis on each event first, so as to classify the event stream, and facilitate subsequent monitoring. As shown in fig. 6, this embodiment may select an analysis pattern corresponding to the feature analysis result based on the feature analysis result, and since the feature analysis result reflects which events belong to the same category, the analysis pattern obtained at this time corresponds to each determined category. Then, the present embodiment may perform monitoring processing on events of each category based on the analysis mode, so as to obtain a mode event stream. In another implementation manner, the feature analysis result reflects which events belong to the same category, so this embodiment may further perform aggregation analysis on a plurality of events in the monitoring event stream based on the feature analysis result, that is, aggregate and analyze events of the same category, so as to obtain an aggregated event stream. When monitoring and processing the monitoring event stream, the method and the device directly act on the event stream, do not need to query a persistent database, do not generate any pressure on a bottom database, have strong mode discovery capability, and can greatly enhance the real-time performance and the application range of alarm in a monitoring system.
In addition, in another implementation manner, as shown in fig. 3, the present embodiment may further perform monitoring alarm analysis and/or monitoring visualization analysis on the monitoring event stream to obtain an alarm result and/or a visualization result. In addition, this embodiment may also generate a new monitoring event, that is, a secondary monitoring event stream, such as ne1 to ne4 in fig. 3.
In summary, in the present embodiment, an original event stream is first obtained based on an event stream system, and a monitoring event stream is determined according to the original event stream. Then, according to the monitoring event stream, determining a target monitoring mode, wherein the target monitoring mode comprises any one or more of a single-event monitoring mode, a multi-event monitoring mode and a complex event monitoring mode. And finally, monitoring all events in the monitoring event stream based on the target monitoring mode. The embodiment can monitor and process the monitoring event stream by determining the target monitoring mode, so that the event is monitored and processed by utilizing the uniform monitoring mode, the whole monitoring process is simpler, the monitoring efficiency is improved, and the delay is reduced.
Exemplary devices
Based on the foregoing embodiment, the present invention further provides a micro service monitoring apparatus based on event stream, as shown in fig. 7, the apparatus includes: a monitoring event flow determination module 10, a monitoring mode determination module 20, and an event monitoring processing module 30. Specifically, the monitoring event stream determining module 10 is configured to obtain an original event stream based on an event stream system, and determine a monitoring event stream according to the original event stream. The monitoring mode determining module 20 is configured to determine a target monitoring mode according to the monitoring event stream, where the target monitoring mode includes any one or more of a single-event monitoring mode, a multiple-event monitoring mode, and a complex-event monitoring mode. The event monitoring processing module 30 is configured to perform monitoring processing on all events in the monitoring event stream based on the target monitoring mode.
In one implementation, the monitoring event stream determination module 10 includes:
a monitored object obtaining unit, configured to obtain a monitored object corresponding to a monitored object, where the monitored object includes: log data, index data, and link data;
and the event stream generating unit is used for inputting the monitoring object into the event stream system and generating the original event stream.
In one implementation, the monitoring event stream determination module 10 includes:
the input unit is used for inputting the original event stream to a preset monitoring event preprocessing module;
and the processing unit is used for processing the original event stream based on the monitoring event pre-processing module to obtain the monitoring event stream.
In one implementation, the event monitoring processing module 30 includes:
the single-event monitoring unit is used for reading each event in the monitoring event stream in sequence if the target monitoring mode is a single-event monitoring mode;
and the single event processing unit is used for respectively carrying out checking, expanding, filtering and analyzing operations on each event so as to determine an error event stream and an alarm event stream in the monitoring event stream.
In one implementation, the event monitoring processing module 30 includes:
a multiple-event monitoring unit, configured to select a plurality of events from the monitoring event stream if the target monitoring mode is the multiple-event monitoring mode;
the multi-event processing unit is used for forming an event window from the selected events and carrying out window analysis to obtain a window event stream; or, carrying out sequence resetting processing on the selected events to obtain a reset event stream.
In one implementation, the event monitoring processing module 30 includes:
the complex event monitoring unit is used for performing feature analysis on each event in the monitoring event stream to obtain a feature analysis result if the target monitoring mode is the complex event monitoring mode, wherein the feature analysis result is used for reflecting events with the same feature in the monitoring event stream;
the complex event processing unit is used for selecting an analysis mode corresponding to the characteristic analysis result based on the characteristic analysis result and obtaining a mode event stream based on the analysis mode; or, based on the feature analysis result, performing aggregation analysis on a plurality of events in the monitoring event stream to obtain an aggregated event stream.
In one implementation, the apparatus further comprises:
and the alarm and visualization module is used for carrying out monitoring alarm analysis and/or monitoring visualization analysis on the monitoring event stream to obtain an alarm result and/or a visualization result.
The working principle of each functional module of the event stream-based microservice monitoring apparatus of this embodiment is the same as the execution process of each step in the above method embodiment, and is not described herein again.
Based on the above embodiments, the present invention further provides a terminal device, and a schematic block diagram of the terminal device may be as shown in fig. 8. The terminal device of the present embodiment may include one or more processors 100 (only one is shown in fig. 8), a memory 101, and a computer program 102 stored in the memory 101 and executable on the one or more processors 100, for example, a program for event stream based microservice monitoring. The steps in method embodiments of event stream based microservice monitoring may be implemented by one or more processors 100 executing a computer program 102. Alternatively, the one or more processors 100, when executing the computer program 102, may implement the functions of the modules/units in the apparatus embodiment of event stream based microservice monitoring, which is not limited herein.
In one embodiment, the Processor 100 may be a Central Processing Unit (CPU), other general purpose Processor, a digital signal Processor (Di gita I Si gna I Processor, DSP), an application specific integrated circuit (App I cat I on Spec I f I cI integrated cI, AS ic), an off-the-shelf programmable gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
In one embodiment, the storage 101 may be an internal storage unit of the electronic device, such as a hard disk or a memory of the electronic device. The memory 101 may also be an external storage device of the electronic device, such as a plug-in hard disk, a Smart Memory Card (SMC), a secure digital (secure i g ita l, SD) card, a flash memory card (f l ash card), and the like provided on the electronic device. Further, the memory 101 may also include both an internal storage unit and an external storage device of the electronic device. The memory 101 is used for storing computer programs and other programs and data required by the terminal device. The memory 101 may also be used to temporarily store data that has been output or is to be output.
It will be understood by those skilled in the art that the block diagram of fig. 8 is only a block diagram of a part of the structure related to the solution of the present invention, and does not constitute a limitation to the terminal device to which the solution of the present invention is applied, and a specific terminal device may include more or less components than those shown in the figure, or may combine some components, or have different arrangements of components.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware related to instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, the computer program can include the processes of the embodiments of the methods described above. Any reference to memory, storage, operational databases, or other media used in embodiments provided herein may include non-volatile and/or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual operation data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synch Lnk DRAM (SLDRAM), rambus Direct RAM (RDRAM), direct Rambus Dynamic RAM (DRDRAM), and Rambus Dynamic RAM (RDRAM), among others.
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 should 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 (10)

1. A micro-service monitoring method based on event flow is characterized in that the method comprises the following steps:
acquiring an original event stream based on an event stream system, and determining a monitoring event stream according to the original event stream;
determining a target monitoring mode according to the monitoring event stream, wherein the target monitoring mode comprises any one or more of a single event monitoring mode, a multi-event monitoring mode and a complex event monitoring mode;
and monitoring all events in the monitoring event stream based on the target monitoring mode.
2. The method for monitoring microservice based on event stream as claimed in claim 1, wherein the event stream system obtaining original event stream comprises:
acquiring a monitored object corresponding to the monitored object, wherein the monitored object comprises: log data, index data, and link data;
and inputting the monitoring object into the event stream system to generate the original event stream.
3. The method for monitoring microservice based on event stream as claimed in claim 1, wherein said determining a monitoring event stream according to said original event stream comprises:
inputting the original event stream into a preset monitoring event preprocessing module;
and processing the original event stream based on the monitoring event pre-processing module to obtain the monitoring event stream.
4. The method for monitoring microservice based on event stream according to claim 1, wherein the monitoring all events in the monitoring event stream based on the target monitoring mode comprises:
if the target monitoring mode is a single-event monitoring mode, reading each event in the monitoring event stream in sequence;
and respectively carrying out checking, expanding, filtering and analyzing operations on each event so as to determine an error event stream and an alarm event stream in the monitoring event stream.
5. The method for monitoring microservice based on event stream according to claim 1, wherein the monitoring all events in the monitoring event stream based on the target monitoring mode comprises:
if the target monitoring mode is a multi-event monitoring mode, selecting a plurality of events from the monitoring event stream;
forming an event window from the selected events and carrying out window analysis to obtain a window event stream;
or, carrying out sequence resetting processing on the selected events to obtain a reset event stream.
6. The method for monitoring microservice based on event stream according to claim 1, wherein the monitoring all events in the monitoring event stream based on the target monitoring mode comprises:
if the target monitoring mode is a complex event monitoring mode, performing feature analysis on each event in the monitoring event stream to obtain a feature analysis result, wherein the feature analysis result is used for reflecting the events with the same feature in the monitoring event stream;
based on the characteristic analysis result, selecting an analysis mode corresponding to the characteristic analysis result, and based on the analysis mode, obtaining a mode event stream;
or, based on the feature analysis result, performing aggregation analysis on a plurality of events in the monitoring event stream to obtain an aggregated event stream.
7. The method for monitoring microservice based on event stream as claimed in claim 1, wherein said method further comprises:
and performing monitoring alarm analysis and/or monitoring visualization analysis on the monitoring event stream to obtain an alarm result and/or a visualization result.
8. An event stream based microservice monitoring apparatus, the apparatus comprising:
the monitoring event flow determining module is used for acquiring an original event flow based on an event flow system and determining a monitoring event flow according to the original event flow;
a monitoring mode determining module, configured to determine a target monitoring mode according to the monitoring event stream, where the target monitoring mode includes any one or more of a single-event monitoring mode, a multiple-event monitoring mode, and a complex-event monitoring mode;
and the event monitoring processing module is used for monitoring and processing all events in the monitoring event stream based on the target monitoring mode.
9. A terminal device, characterized in that the terminal device comprises a memory, a processor and a micro-service monitoring program based on event stream stored in the memory and operable on the processor, and the processor implements the steps of the micro-service monitoring method based on event stream according to any one of claims 1 to 7 when executing the micro-service monitoring program based on event stream.
10. A computer-readable storage medium, wherein an event stream-based micro-service monitor program is stored on the computer-readable storage medium, and when executed by a processor, the event stream-based micro-service monitor program implements the steps of the event stream-based micro-service monitor method according to any one of claims 1 to 7.
CN202211704562.5A 2022-12-29 2022-12-29 Micro-service monitoring method based on event stream, terminal equipment and storage medium Pending CN115858306A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211704562.5A CN115858306A (en) 2022-12-29 2022-12-29 Micro-service monitoring method based on event stream, terminal equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211704562.5A CN115858306A (en) 2022-12-29 2022-12-29 Micro-service monitoring method based on event stream, terminal equipment and storage medium

Publications (1)

Publication Number Publication Date
CN115858306A true CN115858306A (en) 2023-03-28

Family

ID=85655764

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211704562.5A Pending CN115858306A (en) 2022-12-29 2022-12-29 Micro-service monitoring method based on event stream, terminal equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115858306A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116436772A (en) * 2023-06-08 2023-07-14 上海观安信息技术股份有限公司 Real-time alarm method and device, electronic equipment and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116436772A (en) * 2023-06-08 2023-07-14 上海观安信息技术股份有限公司 Real-time alarm method and device, electronic equipment and storage medium
CN116436772B (en) * 2023-06-08 2023-08-11 上海观安信息技术股份有限公司 Real-time alarm method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
US10831562B2 (en) Method and system for operating a data center by reducing an amount of data to be processed
US10977248B2 (en) Processing records in dynamic ranges
CN109471718B (en) Computing resource configuration method, device, equipment and medium based on face recognition
CN107402863B (en) Method and equipment for processing logs of service system through log system
CN110780870A (en) Service execution method, device, equipment and storage medium
CN115858306A (en) Micro-service monitoring method based on event stream, terminal equipment and storage medium
CN112526905B (en) Processing method and system for index abnormity
CN112631754A (en) Data processing method, data processing device, storage medium and electronic device
CN110084476B (en) Case adjustment method, device, computer equipment and storage medium
CN115576973B (en) Service deployment method, device, computer equipment and readable storage medium
CN112199401B (en) Data request processing method, device, server, system and storage medium
CN111459474B (en) Templated data processing method and device
WO2020140623A1 (en) Electronic device, metadata processing method and computer readable storage medium
CN113312434A (en) Pre-polymerization treatment method for massive structured data
CN110851249A (en) Data exporting method and equipment
CN115795342B (en) Method and device for classifying business scenes, storage medium and electronic equipment
CN117009094B (en) Data oblique scattering method and device, electronic equipment and storage medium
US11526486B2 (en) Time-based data retrieval prediction
CN113014412B (en) Method and system for predicting delay time of downtime fault service
CN115470225A (en) Data processing method, data query method, data processing device and electronic equipment
CN113610636A (en) Iterative feature screening method and system
CN114116614A (en) Log storage method and device, computer equipment and storage medium
CN117931714A (en) Chip multichannel cooperative transmission method and system
CN116739420A (en) Data quality checking method based on transaction, storage medium and related equipment
CN116541413A (en) Method and system for optimizing FlinkSQL repeated consumption data source data

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