CN109474685A - Service monitoring method and system under a kind of framework based on micro services - Google Patents

Service monitoring method and system under a kind of framework based on micro services Download PDF

Info

Publication number
CN109474685A
CN109474685A CN201811365125.9A CN201811365125A CN109474685A CN 109474685 A CN109474685 A CN 109474685A CN 201811365125 A CN201811365125 A CN 201811365125A CN 109474685 A CN109474685 A CN 109474685A
Authority
CN
China
Prior art keywords
micro services
service monitoring
list
service
monitoring module
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
CN201811365125.9A
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.)
Bank of China Ltd
Original Assignee
Bank of China 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 Bank of China Ltd filed Critical Bank of China Ltd
Priority to CN201811365125.9A priority Critical patent/CN109474685A/en
Publication of CN109474685A publication Critical patent/CN109474685A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/51Discovery or management thereof, e.g. service location protocol [SLP] or web services

Landscapes

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

Abstract

The present invention provides service monitoring method and system under a kind of framework based on micro services, method includes: that service monitoring module periodically sends micro services list acquisition request to service register center module, the micro services list that service register center module returns is received, includes currently available all micro services that service register center module determines in the micro services list;Obtain the network address of each micro services in micro services list;According to the network address of each micro services, indication information acquisition request successively is sent to each micro services;Receive the indication information that each micro services return;According to the indication information that preconfigured parameter information, micro services list and each micro services return, judgement currently whether there is abnormal conditions;If it does, triggering executes alarm.The present invention is realized to the service monitoring under micro services framework.

Description

Service monitoring method and system under a kind of framework based on micro services
Technical field
The present invention relates to the service monitoring method under monitoring technology field more particularly to a kind of framework based on micro services and it is System.
Background technique
Micro services framework is the framework style that a kind of micro services by multiple loose couplings form a complete application system, Wherein each micro services realize single responsibility and function, can pass through lightweight between micro services with stand-alone development, test, deployment Communication protocol (such as HTTP) interacts.
With the development of business, more and more enterprises using micro services framework come development and application system, an and complexity Application system may be made of dozens of even a micro services up to a hundred, therefore how effectively these micro services to be serviced Monitoring is the current technical issues that need to address.
Summary of the invention
In view of this, the present invention provides service monitoring method and system under a kind of framework based on micro services.Technical solution It is as follows:
Based on an aspect of of the present present invention, the present invention provides the service monitoring method under a kind of framework based on micro services, method Include:
Service monitoring module timing sends micro services list acquisition request to service register center module, so that the clothes Registration center's module of being engaged in obtains a micro services list according to the micro services list acquisition request, and the micro services list is returned It is back to the service monitoring module, wherein in the micro services list including the current of service register center module determination can All micro services;
The service monitoring module receives the micro services list that the service register center module returns, and obtains institute State the network address of each micro services in micro services list;
Network address of the service monitoring module according to each micro services successively sends indication information to each micro services Acquisition request, so that each micro services are back to institute after receiving the indication information acquisition request, by its indication information State service monitoring module;
The service monitoring module receives the indication information that each micro services return;
The service monitoring module is returned according to preconfigured parameter information, the micro services list and each micro services The indication information returned, judgement currently whether there is abnormal conditions;
If it is determined that the service monitoring module triggering executes alarm there is currently abnormal conditions.
Optionally, the preconfigured parameter information includes at least micro services mark, the micro services example for needing to monitor Several and indices threshold value;
The service monitoring module is returned according to preconfigured parameter information, the micro services list and each micro services The indication information returned, judgement currently include: with the presence or absence of abnormal conditions
The service monitoring module is sentenced according to the preconfigured micro services mark and the micro services list for needing to monitor Whether break in the micro services list includes the micro services for needing to monitor;
The service monitoring module judges described micro- according to preconfigured micro services instance number and the micro services list Whether the current micro services instance number for including in service list is less than the preconfigured micro services instance number;
The index that the service monitoring module is returned according to preconfigured indices threshold value and the micro services received Information, judges whether the indices parameter in the indication information of micro services return meets metrics-thresholds requirement.
Optionally, a period of time that at least the following occurs judges that there is currently abnormal conditions:
It does not include the micro services for needing to monitor in the micro services list;
The current micro services instance number for including in the micro services list is less than the preconfigured micro services instance number;
At least one index parameter in the indication information that micro services return is unsatisfactory for metrics-thresholds requirement.
Optionally, the service monitoring module and each micro services are registered in the service register center module In;Each micro services regularly send heartbeat message to the service register center module, the service register center module foundation The heartbeat message received determines that the micro services for sending the heartbeat message are currently available.
Optionally, the method also includes:
When any one micro services occurs calling abnormal, occur that abnormal micro services is called to send to log collection module Exception information, the exception information include the network address that abnormal micro services are called in the appearance;
The service monitoring module obtains the exception information from the log collection module, according in the exception information Including the appearance call the network address of abnormal micro services, determine that abnormal micro services are called in the appearance.
Based on another aspect of the present invention, the present invention provides the service monitoring system under a kind of framework based on micro services, is System includes: service monitoring module, service register center module and multiple micro services;Wherein,
The service monitoring module timing sends micro services list acquisition request to the service register center module;
The service register center module obtains a micro services list according to the micro services list acquisition request, and by institute It states micro services list and is back to the service monitoring module, wherein including the service register center mould in the micro services list Currently available all micro services that block determines;
The service monitoring module receives the micro services list that the service register center module returns, and obtains institute State the network address of each micro services in micro services list;
Network address of the service monitoring module according to each micro services successively sends indication information to each micro services Acquisition request;
Each micro services are referred to after receiving the indication information acquisition request that the service monitoring module is sent Mark information is back to the service monitoring module;
The service monitoring module receives the indication information that each micro services return;
The service monitoring module is returned according to preconfigured parameter information, the micro services list and each micro services The indication information returned, judgement currently whether there is abnormal conditions;
If it is determined that the service monitoring module triggering executes alarm there is currently abnormal conditions.
Optionally, the preconfigured parameter information includes at least micro services mark, the micro services example for needing to monitor Several and indices threshold value;
The service monitoring module is returned according to preconfigured parameter information, the micro services list and each micro services The indication information returned, judgement currently include: with the presence or absence of abnormal conditions
The service monitoring module is sentenced according to the preconfigured micro services mark and the micro services list for needing to monitor Whether break in the micro services list includes the micro services for needing to monitor;
The service monitoring module judges described micro- according to preconfigured micro services instance number and the micro services list Whether the current micro services instance number for including in service list is less than the preconfigured micro services instance number;
The index that the service monitoring module is returned according to preconfigured indices threshold value and the micro services received Information, judges whether the indices parameter in the indication information of micro services return meets metrics-thresholds requirement.
Optionally, a period of time that at least the following occurs, the service monitoring module judged that there is currently abnormal conditions:
It does not include the micro services for needing to monitor in the micro services list;
The current micro services instance number for including in the micro services list is less than the preconfigured micro services instance number;
At least one index parameter in the indication information that micro services return is unsatisfactory for metrics-thresholds requirement.
Optionally, the service monitoring module and each micro services are registered in the service register center module In;Each micro services regularly send heartbeat message to the service register center module, the service register center module foundation The heartbeat message received determines that the micro services for sending the heartbeat message are currently available.
Optionally, the system also includes log collection modules;Wherein,
When any one micro services occurs calling abnormal, occur calling abnormal micro services to the log collection module Exception information is sent, the exception information includes the network address that abnormal micro services are called in the appearance;
The service monitoring module obtains the exception information from the log collection module, according in the exception information Including the appearance call the network address of abnormal micro services, determine that abnormal micro services are called in the appearance.
In service monitoring method and system under the framework provided by the invention based on micro services, the timing of service monitoring module to Service register center module sends micro services list acquisition request, to obtain the micro services column of service register center module return Table includes currently available all micro services that service register center module determines in the micro services list.Service monitoring module The micro services list is received, and obtains the network address of each micro services in micro services list, and then according to each micro services Network address, successively indication information acquisition request is sent to each micro services, to obtain the index that each micro services return Information.Finally, the finger that service monitoring module is returned according to preconfigured parameter information, micro services list and each micro services Information is marked, judgement currently whether there is abnormal conditions;If it is present triggering executes alarm.The present invention is realized to micro services Service monitoring under framework.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this The embodiment of invention for those of ordinary skill in the art without creative efforts, can also basis The attached drawing of offer obtains other attached drawings.
Fig. 1 is the structural schematic diagram of the service monitoring system under a kind of framework based on micro services provided by the invention;
Fig. 2 is another structural schematic diagram based on the service monitoring system under micro services framework provided by the invention;
Fig. 3 is the flow chart of the service monitoring method under a kind of framework based on micro services provided by the invention;
Fig. 4 is another flow chart based on the service monitoring method under micro services framework provided by the invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
As shown in Figure 1, the service monitoring system under the framework provided by the invention based on micro services includes service monitoring module 100, service register center module 200 and multiple micro services 300.Wherein service monitoring module 100 and each micro services 300 have been Registration in advance is registered in service register center module 200, and each micro services 300 regularly send heartbeat message to service registration Center module 200, service register center module 200, which is then determined according to the heartbeat message received, sends the heartbeat message in incognito It is engaged in 300 currently available.
In the present invention, service monitoring module 100 is provided with parameter information in advance, the parameter information describe application system by The threshold value of which micro services composition, the example quantity of each micro services and indices parameter, wherein indices parameter example It such as include memory, storehouse, Thread Count, response time, access frequency.
Service register center module 200 provides unified api interface, and service register center module 200 passes through the api interface Micro services list including currently available all micro services is externally provided.
In actual application of the present invention, 100 timing of service monitoring module sends micro- to service register center module 200 Service list acquisition request, service register center module 200 obtain micro services column according to the micro services list acquisition request Table, and the micro services list is back to service monitoring module 100, it wherein include service register center in the micro services list Currently available all micro services that module 200 determines.
Service monitoring module 100 receives the micro services list that service register center module 200 returns, and further from service The network address of each micro services in micro services list is obtained in registration center's module 200.In turn, service monitoring module 100 according to According to the network address of each micro services of acquisition, indication information acquisition request successively is sent to each micro services 300.
Each micro services 300 obtain respective after the indication information acquisition request for receiving the transmission of service monitoring module 100 Indication information, and the indication information that will acquire is back to service monitoring module 100.
Service monitoring module 100 receives the indication information that each micro services 300 return.
Service monitoring module 100 is returned according to preconfigured parameter information, micro services list and each micro services 300 Indication information, judgement currently whether there is abnormal conditions, if it is determined that then triggering there is currently abnormal conditions and executing alarm.
It is further preferred that as shown in Fig. 2, the service monitoring system under the framework provided by the invention based on micro services may be used also To include log collection module 400.Wherein,
When any one micro services 300 occurs calling abnormal, occur calling abnormal micro services 300 just to log collection Module 400 sends exception information, and the exception information includes the network address that abnormal micro services 300 are called in the appearance.
Service monitoring module 100 obtains the exception information from log collection module 400, and according in the exception information Including the appearance call the network address of abnormal micro services 300, determine that abnormal micro services 300 are called in the appearance.
In the following, applicant is by from the angle of method, to the service monitoring side under the framework provided by the invention based on micro services Method is described in further detail, as shown in figure 3, method may include:
Step 101, the timing of service monitoring module sends micro services list acquisition request to service register center module.
Step 102, service register center module obtains a micro services list according to the micro services list acquisition request, and The micro services list is back to service monitoring module, wherein including that service register center module is true in the micro services list Fixed currently available all micro services.
In the present invention, service monitoring module and each micro services all complete note in service register center module in advance Volume registration.Wherein specifically, each micro services are just to send micro services information to service register center module on startup to carry out Registration, wherein micro services information may include Service name, IP, port numbers etc..Service monitoring module itself be used as one it is micro- Service is also to be registered by sending service information to service register center module.
In actual application, for completed in service register center module registration any one in incognito Business, can all regularly send heartbeat message to service register center module to show that this service is currently available, wherein heartbeat message In may include mark for characterizing micro services identity, such as Service name, IP, port numbers.Service register center module passes through The heartbeat message received can determine that the micro services for sending the heartbeat message are currently available.
As a result, after service register center module receives the micro services list acquisition request of service monitoring module transmission, Determining currently available all micro services are counted, a micro services list is obtained to generate, is recorded in the micro services list Currently available all micro services that service register center module determines.
In the present invention, service register center module externally provides unified api interface, and service register center module is by being somebody's turn to do Micro services list is returned to service monitoring module by api interface.
Step 103, service monitoring module receives the micro services list that service register center module returns, and obtains institute State the network address of each micro services in micro services list.
It, can be further from service after service monitoring module receives the micro services list of service register center module return The network address of each micro services in micro services list is obtained in registration center's module.
Step 104, network address of the service monitoring module according to each micro services successively sends index to each micro services Information acquisition request.
Step 105, its indication information is back to clothes after receiving the indication information acquisition request by each micro services Business monitoring module.
Wherein indication information includes the indices parameter in micro services, as memory size, storehouse size, Thread Count are more Less, response time, access frequency etc..
Step 106, service monitoring module receives the indication information that each micro services return.
Step 107, service monitoring module according to preconfigured parameter information, the micro services list and it is each in incognito The indication information that business returns, judgement currently whether there is abnormal conditions.If it does, step 108 is executed, if it does not, returning Receipt row step 101.
In the present invention, service monitoring module preset configuration has parameter information, which includes at least what needs monitored Micro services mark, micro services instance number and indices threshold value.
Service monitoring module can judge that this is micro- according to the preconfigured micro services mark and micro services list for needing to monitor It whether include the micro services for needing to monitor in service list.Specifically, service monitoring module judges in the micro services list Whether illustrate currently the micro services monitored to be needed all to exist if including including the mark for needing the micro services monitored, and If there is at least one needs the mark of the micro services monitored not in micro services list, then explanation is current needs to monitor at least One micro services is not present, and triggering executes alarm at this time.
Service monitoring module can judge the micro services list according to preconfigured micro services instance number and micro services list In include current micro services instance number whether be less than the preconfigured micro services instance number.If it is not, explanation is worked as Preceding micro services instance number meets performance requirement, and if it is less, illustrating that current micro services instance number is insufficient, triggering executes at this time Alarm.
Service monitoring module can be according to the index letter that preconfigured indices threshold value and the micro services received return Breath, judges whether the indices parameter in the indication information of micro services return meets metrics-thresholds requirement.If micro services are returned The indices parameter in indication information returned is all satisfied metrics-thresholds requirement, then illustrates micro services normal operation, and if micro- At least one index parameter serviced in the indication information returned is unsatisfactory for metrics-thresholds requirement, then illustrates that micro services operation is different Often, triggering executes alarm at this time.
Step 108, service monitoring module triggering executes alarm.
Specifically, it may include: the flashing of triggering warning lamp, triggering bee that the triggering of service monitoring module, which executes alarm, in the present invention The yowl of ring device, transmission alarm information to operation maintenance personnel etc..
Applicant it should be noted that about above-mentioned steps 103 of the present invention to step 107 execution sequence without limitation, In the present invention, when step 103, after service monitoring module receives the micro services list of service register center module return, The micro services mark and micro services list that service monitoring module is monitored according to preconfigured needs in step 107 are directly executed, Judge in the micro services list whether to include the micro services for needing to monitor, and according to preconfigured micro services instance number With micro services list, it is described preconfigured micro- to judge whether the current micro services instance number for including in the micro services list is less than The step of Service Instance number is held again after need not wait until that service monitoring module receives the indication information of each micro services return Row.
In service monitoring method under the framework provided by the invention based on micro services, service monitoring module timing is infused to service Volume center module sends micro services list acquisition request, and to obtain the micro services list of service register center module return, this is micro- It include currently available all micro services that service register center module determines in service list.Service monitoring module receives this Micro services list, and the network address of each micro services in micro services list is obtained, and then the network according to each micro services Location successively sends indication information acquisition request to each micro services, to obtain the indication information that each micro services return.Most Afterwards, the indication information that service monitoring module is returned according to preconfigured parameter information, micro services list and each micro services, Judgement currently whether there is abnormal conditions;If it is present triggering executes alarm.The present invention is realized under micro services framework Service monitoring.
It is further preferred that as shown in figure 4, the service monitoring method under the framework provided by the invention based on micro services may be used also To include:
Step 201, when any one micro services occurs calling abnormal, occur calling abnormal micro services to log collection Module sends exception information, and the exception information includes the network address that abnormal micro services are called in the appearance.
Step 202, service monitoring module obtains the exception information from the log collection module, according to the abnormal letter The network address of abnormal micro services is called in the appearance for including in breath, determines that abnormal micro services are called in the appearance.
In the present invention, service monitoring module periodically can detect whether that there are exception informations from log collection module, such as Fruit exists, then obtains the exception information;Service monitoring module can also real-time monitoring log collection module with the presence or absence of abnormal letter Breath, if it is present obtaining the exception information.In the present invention, log collection module can also be main after receiving exception information It is dynamic that exception information is sent to service monitoring module.
Service monitoring module is after log collection module acquisition exception information, according to the micro services for including in exception information Network address determines and occurs calling abnormal micro services, so that the position for occurring calling abnormal micro services is accurately positioned, so that The timely misarrangement of operation maintenance personnel.
It should be noted that all the embodiments in this specification are described in a progressive manner, each embodiment weight Point explanation is the difference from other embodiments, and the same or similar parts between the embodiments can be referred to each other. For system class embodiment, since it is basically similar to the method embodiment, so being described relatively simple, related place ginseng See the part explanation of embodiment of the method.
Finally, it is to be noted that, herein, relational terms such as first and second and the like be used merely to by One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning Covering non-exclusive inclusion, so that the process, method, article or equipment for including a series of elements not only includes that A little elements, but also including other elements that are not explicitly listed, or further include for this process, method, article or The intrinsic element of equipment.In the absence of more restrictions, the element limited by sentence "including a ...", is not arranged Except there is also other identical elements in the process, method, article or apparatus that includes the element.
Above under a kind of framework based on micro services provided herein service monitoring method and system carried out in detail Thin to introduce, specific examples are used herein to illustrate the principle and implementation manner of the present application, and above embodiments are said It is bright to be merely used to help understand the present processes and its core concept;At the same time, for those skilled in the art, foundation The thought of the application, there will be changes in the specific implementation manner and application range, in conclusion the content of the present specification is not It is interpreted as the limitation to the application.

Claims (10)

1. the service monitoring method under a kind of framework based on micro services, which is characterized in that method includes:
Service monitoring module timing sends micro services list acquisition request to service register center module, so that the service is infused Volume center module obtains a micro services list according to the micro services list acquisition request, and the micro services list is back to The service monitoring module, wherein including the currently available of service register center module determination in the micro services list All micro services;
The service monitoring module receives the micro services list that the service register center module returns, and obtains described micro- The network address of each micro services in service list;
Network address of the service monitoring module according to each micro services successively sends indication information to each micro services and obtains Request, so that each micro services are back to the clothes after receiving the indication information acquisition request, by its indication information Business monitoring module;
The service monitoring module receives the indication information that each micro services return;
The service monitoring module is returned according to preconfigured parameter information, the micro services list and each micro services Indication information, judgement currently whether there is abnormal conditions;
If it is determined that the service monitoring module triggering executes alarm there is currently abnormal conditions.
2. the method according to claim 1, wherein
The preconfigured parameter information includes at least micro services mark, micro services instance number and the indices for needing to monitor Threshold value;
The service monitoring module is returned according to preconfigured parameter information, the micro services list and each micro services Indication information, judgement currently include: with the presence or absence of abnormal conditions
The service monitoring module judges institute according to the preconfigured micro services mark and the micro services list for needing to monitor Whether state in micro services list includes the micro services for needing to monitor;
The service monitoring module judges the micro services according to preconfigured micro services instance number and the micro services list Whether the current micro services instance number for including in list is less than the preconfigured micro services instance number;
The indication information that the service monitoring module is returned according to preconfigured indices threshold value and the micro services received, Judge whether the indices parameter in the indication information of micro services return meets metrics-thresholds requirement.
3. according to the method described in claim 2, it is characterized in that, a period of time that at least the following occurs judge that there is currently different Reason condition:
It does not include the micro services for needing to monitor in the micro services list;
The current micro services instance number for including in the micro services list is less than the preconfigured micro services instance number;
At least one index parameter in the indication information that micro services return is unsatisfactory for metrics-thresholds requirement.
4. the method according to claim 1, wherein
The service monitoring module and each micro services are registered in the service register center module;Each micro services Heartbeat message is regularly sent to the service register center module, the service register center module is according to the heartbeat letter received Breath determines that the micro services for sending the heartbeat message are currently available.
5. method according to claim 1-4, which is characterized in that the method also includes:
When any one micro services occurs calling abnormal, it is abnormal that appearance calls abnormal micro services to send to log collection module Information, the exception information include the network address that abnormal micro services are called in the appearance;
The service monitoring module obtains the exception information from the log collection module, according to including in the exception information The appearance call the network address of abnormal micro services, determine that abnormal micro services are called in the appearance.
6. the service monitoring system under a kind of framework based on micro services, which is characterized in that system includes: service monitoring module, clothes Registration center's module of being engaged in and multiple micro services;Wherein,
The service monitoring module timing sends micro services list acquisition request to the service register center module;
The service register center module obtains a micro services list according to the micro services list acquisition request, and will be described micro- Service list is back to the service monitoring module, wherein including that the service register center module is true in the micro services list Fixed currently available all micro services;
The service monitoring module receives the micro services list that the service register center module returns, and obtains described micro- The network address of each micro services in service list;
Network address of the service monitoring module according to each micro services successively sends indication information to each micro services and obtains Request;
Each micro services believe its index after receiving the indication information acquisition request that the service monitoring module is sent Breath is back to the service monitoring module;
The service monitoring module receives the indication information that each micro services return;
The service monitoring module is returned according to preconfigured parameter information, the micro services list and each micro services Indication information, judgement currently whether there is abnormal conditions;
If it is determined that the service monitoring module triggering executes alarm there is currently abnormal conditions.
7. system according to claim 6, which is characterized in that the preconfigured parameter information, which includes at least, to need to supervise Micro services mark, micro services instance number and the indices threshold value of control;
The service monitoring module is returned according to preconfigured parameter information, the micro services list and each micro services Indication information, judgement currently include: with the presence or absence of abnormal conditions
The service monitoring module judges institute according to the preconfigured micro services mark and the micro services list for needing to monitor Whether state in micro services list includes the micro services for needing to monitor;
The service monitoring module judges the micro services according to preconfigured micro services instance number and the micro services list Whether the current micro services instance number for including in list is less than the preconfigured micro services instance number;
The indication information that the service monitoring module is returned according to preconfigured indices threshold value and the micro services received, Judge whether the indices parameter in the indication information of micro services return meets metrics-thresholds requirement.
8. system according to claim 7, which is characterized in that a period of time that at least the following occurs service monitoring mould Block judges that there is currently abnormal conditions:
It does not include the micro services for needing to monitor in the micro services list;
The current micro services instance number for including in the micro services list is less than the preconfigured micro services instance number;
At least one index parameter in the indication information that micro services return is unsatisfactory for metrics-thresholds requirement.
9. system according to claim 6, which is characterized in that
The service monitoring module and each micro services are registered in the service register center module;Each micro services Heartbeat message is regularly sent to the service register center module, the service register center module is according to the heartbeat letter received Breath determines that the micro services for sending the heartbeat message are currently available.
10. according to the described in any item systems of claim 6-9, which is characterized in that the system also includes log collection modules; Wherein,
When any one micro services occurs calling abnormal, occur that abnormal micro services is called to send to the log collection module Exception information, the exception information include the network address that abnormal micro services are called in the appearance;
The service monitoring module obtains the exception information from the log collection module, according to including in the exception information The appearance call the network address of abnormal micro services, determine that abnormal micro services are called in the appearance.
CN201811365125.9A 2018-11-16 2018-11-16 Service monitoring method and system under a kind of framework based on micro services Pending CN109474685A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811365125.9A CN109474685A (en) 2018-11-16 2018-11-16 Service monitoring method and system under a kind of framework based on micro services

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811365125.9A CN109474685A (en) 2018-11-16 2018-11-16 Service monitoring method and system under a kind of framework based on micro services

Publications (1)

Publication Number Publication Date
CN109474685A true CN109474685A (en) 2019-03-15

Family

ID=65673712

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811365125.9A Pending CN109474685A (en) 2018-11-16 2018-11-16 Service monitoring method and system under a kind of framework based on micro services

Country Status (1)

Country Link
CN (1) CN109474685A (en)

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110275724A (en) * 2019-06-26 2019-09-24 广州小鹏汽车科技有限公司 A kind of Service Instance update method and device
CN110362494A (en) * 2019-07-18 2019-10-22 腾讯科技(深圳)有限公司 Method, model training method and the relevant apparatus that micro services status information is shown
CN110365762A (en) * 2019-07-10 2019-10-22 腾讯科技(深圳)有限公司 Service processing method, device, equipment and storage medium
CN110445636A (en) * 2019-07-03 2019-11-12 平安科技(深圳)有限公司 Micro services method for early warning, device and computer equipment based on management platform
CN110708356A (en) * 2019-09-06 2020-01-17 国云科技股份有限公司 Method and system for managing third-party application by registry
CN110740172A (en) * 2019-09-29 2020-01-31 北京淇瑀信息科技有限公司 routing management method, device and system based on micro-service architecture
CN110990047A (en) * 2019-11-06 2020-04-10 北京云思畅想科技有限公司 Fusion method and device for multiple microservice architectures
CN111130880A (en) * 2019-12-24 2020-05-08 杭州米络星科技(集团)有限公司 Micro-service system exception mechanism transfer method
CN111198804A (en) * 2019-12-30 2020-05-26 中电工业互联网有限公司 Gateway-based industrial internet platform third-party micro-service monitoring and early warning method
CN111200651A (en) * 2019-12-31 2020-05-26 优刻得科技股份有限公司 Method, system, device and medium for timed calling of microservice
CN111459770A (en) * 2020-04-01 2020-07-28 深圳市伊欧乐科技有限公司 Server operation state warning method and device, server and storage medium
CN111586097A (en) * 2020-04-01 2020-08-25 车智互联(北京)科技有限公司 Network request processing method, computing device and storage medium
CN112134922A (en) * 2020-08-14 2020-12-25 中信银行股份有限公司 Service calling method and device based on micro-service and storage medium
CN112217864A (en) * 2020-09-04 2021-01-12 微民保险代理有限公司 Micro-service monitoring method, device, system, computer equipment and storage medium
CN112540895A (en) * 2019-09-20 2021-03-23 北京国双科技有限公司 Micro-service management method, device and equipment
CN112596946A (en) * 2020-12-10 2021-04-02 长沙市到家悠享网络科技有限公司 Service running state control method and device, electronic equipment and storage medium
CN112631860A (en) * 2020-12-21 2021-04-09 常州微亿智造科技有限公司 Industrial Internet of things data transmission Worker service monitoring method and device
CN113722187A (en) * 2021-09-14 2021-11-30 杭州振牛信息科技有限公司 Service monitoring system for micro-service architecture
CN113778807A (en) * 2021-09-17 2021-12-10 中国农业银行股份有限公司 Method and system for acquiring micro-service application running data

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106610836A (en) * 2016-12-23 2017-05-03 国网信息通信产业集团有限公司 Micro-service operation management tool
CN107102847A (en) * 2016-02-23 2017-08-29 中国水电工程顾问集团有限公司 Software development methodology, apparatus and system based on micro services
US20180113790A1 (en) * 2016-10-20 2018-04-26 Cisco Technology, Inc. Agentless distributed monitoring of microservices through a virtual switch
US20180136931A1 (en) * 2016-11-14 2018-05-17 Ca, Inc. Affinity of microservice containers
CN108282368A (en) * 2018-01-24 2018-07-13 云宏信息科技股份有限公司 A kind of micro services management system, method and computer storage media
CN108390766A (en) * 2017-10-25 2018-08-10 国云科技股份有限公司 A kind of service register and discovery method suitable for micro services

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107102847A (en) * 2016-02-23 2017-08-29 中国水电工程顾问集团有限公司 Software development methodology, apparatus and system based on micro services
US20180113790A1 (en) * 2016-10-20 2018-04-26 Cisco Technology, Inc. Agentless distributed monitoring of microservices through a virtual switch
US20180136931A1 (en) * 2016-11-14 2018-05-17 Ca, Inc. Affinity of microservice containers
CN106610836A (en) * 2016-12-23 2017-05-03 国网信息通信产业集团有限公司 Micro-service operation management tool
CN108390766A (en) * 2017-10-25 2018-08-10 国云科技股份有限公司 A kind of service register and discovery method suitable for micro services
CN108282368A (en) * 2018-01-24 2018-07-13 云宏信息科技股份有限公司 A kind of micro services management system, method and computer storage media

Cited By (27)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110275724A (en) * 2019-06-26 2019-09-24 广州小鹏汽车科技有限公司 A kind of Service Instance update method and device
CN110445636A (en) * 2019-07-03 2019-11-12 平安科技(深圳)有限公司 Micro services method for early warning, device and computer equipment based on management platform
CN110445636B (en) * 2019-07-03 2022-03-18 平安科技(深圳)有限公司 Management platform-based micro-service early warning method and device and computer equipment
CN110365762A (en) * 2019-07-10 2019-10-22 腾讯科技(深圳)有限公司 Service processing method, device, equipment and storage medium
CN110362494A (en) * 2019-07-18 2019-10-22 腾讯科技(深圳)有限公司 Method, model training method and the relevant apparatus that micro services status information is shown
CN110362494B (en) * 2019-07-18 2021-06-15 腾讯科技(深圳)有限公司 Method for displaying microservice state information, model training method and related device
CN110708356A (en) * 2019-09-06 2020-01-17 国云科技股份有限公司 Method and system for managing third-party application by registry
CN110708356B (en) * 2019-09-06 2024-01-05 国云科技股份有限公司 Method and system for managing third party application by registry
CN112540895A (en) * 2019-09-20 2021-03-23 北京国双科技有限公司 Micro-service management method, device and equipment
CN110740172A (en) * 2019-09-29 2020-01-31 北京淇瑀信息科技有限公司 routing management method, device and system based on micro-service architecture
CN110740172B (en) * 2019-09-29 2022-04-29 北京淇瑀信息科技有限公司 Routing management method, device and system based on micro-service architecture
CN110990047A (en) * 2019-11-06 2020-04-10 北京云思畅想科技有限公司 Fusion method and device for multiple microservice architectures
CN111130880A (en) * 2019-12-24 2020-05-08 杭州米络星科技(集团)有限公司 Micro-service system exception mechanism transfer method
CN111130880B (en) * 2019-12-24 2023-04-07 杭州米络星科技(集团)有限公司 Micro-service system exception mechanism transfer method
CN111198804A (en) * 2019-12-30 2020-05-26 中电工业互联网有限公司 Gateway-based industrial internet platform third-party micro-service monitoring and early warning method
CN111198804B (en) * 2019-12-30 2023-09-05 中电工业互联网有限公司 Gateway-based industrial Internet platform third-party micro-service monitoring and early warning method
CN111200651A (en) * 2019-12-31 2020-05-26 优刻得科技股份有限公司 Method, system, device and medium for timed calling of microservice
CN111459770A (en) * 2020-04-01 2020-07-28 深圳市伊欧乐科技有限公司 Server operation state warning method and device, server and storage medium
CN111586097A (en) * 2020-04-01 2020-08-25 车智互联(北京)科技有限公司 Network request processing method, computing device and storage medium
CN112134922A (en) * 2020-08-14 2020-12-25 中信银行股份有限公司 Service calling method and device based on micro-service and storage medium
CN112217864A (en) * 2020-09-04 2021-01-12 微民保险代理有限公司 Micro-service monitoring method, device, system, computer equipment and storage medium
CN112596946A (en) * 2020-12-10 2021-04-02 长沙市到家悠享网络科技有限公司 Service running state control method and device, electronic equipment and storage medium
CN112631860A (en) * 2020-12-21 2021-04-09 常州微亿智造科技有限公司 Industrial Internet of things data transmission Worker service monitoring method and device
CN113722187A (en) * 2021-09-14 2021-11-30 杭州振牛信息科技有限公司 Service monitoring system for micro-service architecture
CN113722187B (en) * 2021-09-14 2024-03-26 杭州振牛信息科技有限公司 Service monitoring system for micro-service architecture
CN113778807A (en) * 2021-09-17 2021-12-10 中国农业银行股份有限公司 Method and system for acquiring micro-service application running data
CN113778807B (en) * 2021-09-17 2024-02-23 中国农业银行股份有限公司 Method and system for acquiring running data of micro-service application

Similar Documents

Publication Publication Date Title
CN109474685A (en) Service monitoring method and system under a kind of framework based on micro services
CN105183609B (en) A kind of real-time monitoring system for being applied to software system and method
CN109660380A (en) Monitoring method, platform, system and the readable storage medium storing program for executing of operation condition of server
CN103220173B (en) A kind of alarm monitoring method and supervisory control system
CN100536403C (en) Method and equipment of intelligent patrol detection for communication network
US9041544B2 (en) Power outage detection
CN112965874B (en) Configurable monitoring alarm method and system
CN103544093A (en) Monitoring and alarm control method and system
CN103581951B (en) Base station detection method and device
CN100578507C (en) Data-base space automatic extended method and management module
CN106411659A (en) Business data monitoring method and apparatus
CN102937930A (en) Application program monitoring system and method
CN101741615A (en) Server-based alarm filtering system and method
CN100421393C (en) Method for recognizing failure node in network
US10708155B2 (en) Systems and methods for managing network operations
CN104199819B (en) A kind of WEB system mistakes processing method and processing device
CN102325036B (en) The method for diagnosing faults of a kind of network system, system and device
CN106468904B (en) The real-time accumulated quality management and control implementation method of dynamically configurable process
CN109218102A (en) A kind of alarm monitoring method and system
US11770199B2 (en) Traffic data self-recovery processing method, readable storage medium, server and apparatus
CN103440190A (en) Equipment failure warning method, device and CIM system
EP3272068A1 (en) Building and applying operational experiences for cm operations
CN109885453A (en) Big data platform monitoring system based on flow data processing
CN113190423A (en) Service data monitoring method, device and system
CN105302697A (en) Running state monitoring method and system of density data model database

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20190315

RJ01 Rejection of invention patent application after publication