Business impact scope presentation apparatus and method thereof
The system integrates operation steps and microservices to analyze trace data, effectively identifying and addressing abnormalities in API request paths, ensuring business functions are not adversely impacted.
Patent Information
- Application Number
- JP2023031780
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-03-02
- Publication Date
- 2024-09-12
- Estimated Expiration
- 2043-03-02
AI Technical Summary
Existing methods struggle to identify the impact of abnormalities in microservices on business functions when performance deterioration or failure occurs in API request paths, making it difficult to determine the affected business content.
A system that integrates operation steps and microservices, collects test and monitoring data, and analyzes trace data to identify the affected business content by associating use cases with API request paths, enabling the detection of abnormalities and their impact.
Enables precise identification of business functions affected by abnormalities in microservices, allowing proactive measures to maintain system performance and achieve business goals.
Smart Images

Figure 2024123939000001
Abstract
Description
[Technical field]
[0001] The present invention relates to a business impact scope presentation device and method. [Background technology]
[0002] As microservices become more widespread, system monitoring has become more complex. As stakeholders require information for business decisions, operations managers must perform daily operations management that takes into account the relationship between the target of operations and the business. To achieve this, technology is required to identify the relationship between a system and business operations from the system's behavior.
[0003] To introduce such an operation support method, the operations manager must define the relationship between the business and the system in advance, and must understand that relationship. Therefore, the operations manager must cooperate with the developers to prepare for proper operation of the system. By introducing such an operation support method, the operations manager can constantly check the relationship between the business and the system.
[0004] Here, Patent Document 1 describes an operational support method that retains information relating to association between IT (Information Technology) systems and business operations, retains information on systems important to business operations, recovery levels for business continuity, and recovery procedures, and enables appropriate selection of countermeasures when an incident occurs. [Prior art documents] [Patent documents]
[0005] [Patent Document 1] JP 2020-160567 A Summary of the Invention [Problem to be solved by the invention]
[0006] According to the method described in Patent Document 1, by correspondingly retaining the business functions that make up the business support system, the business's target recovery level, the achievement criteria, and the implementation items, it is possible to present countermeasures for achieving the target recovery level in the event of a failure in the business support system.
[0007] However, the method described in Patent Document 1 searches for information relating to association between already understood business content and business functions that constitute a business support system. Therefore, when the method described in Patent Document 1 is applied to microservices, when an abnormality such as performance degradation or failure occurs in an API request path including a microservice and an API (Application Programming Interface), it is difficult to identify the business content that is affected by the abnormality in the API request path.
[0008] An object of the present invention is to identify the content of a business operation that is affected by an abnormality in a request path that includes a microservice when an abnormality occurs in the request path. [Means for solving the problem]
[0009] In order to achieve the above-mentioned object, the present invention includes a test log collection unit that collects test record information indicating results of tests on monitored software in which one or more operation steps indicating components of the contents of each of a plurality of business operations and a plurality of microservices that execute processing by the operation of the one or more operation steps are connected via one or more request paths, and collects test case information indicating a relationship between the contents of each of the business operations and each of the operation steps; a use case association unit that generates use case association information by associating a request path corresponding to each of the operation steps among the one or more request paths with the contents of each of the business operations based on the test record information and the test case information collected by the test log collection unit; a monitoring information acquisition unit that acquires trace data indicating an execution result of each of the microservices as a result of execution in a production environment for the monitored software; and a business impact scope analysis unit that determines whether an abnormality has occurred in any of the one or more request paths based on the trace data acquired by the monitoring information acquisition unit, and is characterized in that, when it is determined that the abnormality has occurred in any of the request paths, the business impact scope analysis unit refers to the use case association information based on the request path in which the abnormality has occurred, and identifies the contents of the business operations that are affected by the request path in which the abnormality has occurred among the contents of each of the business operations. Effect of the Invention
[0010] According to the present invention, when an abnormality occurs in a request path that includes a microservice, it is possible to identify the content of the business that is affected by the abnormality in the request path.
[0011] Problems, configurations, and effects other than those described above will become apparent from the following description of the embodiments. [Brief description of the drawings]
[0012] [Figure 1] 1 is a block diagram illustrating an example of the configuration of a computer system including a business impact scope presentation device according to a first embodiment of the present invention. [Diagram 2]FIG. 2 is a configuration diagram showing an example of the configuration of monitored software managed in the monitored system according to the first embodiment of the present invention. [Diagram 3] 1 is a functional block diagram illustrating a configuration example of a business impact scope presentation device according to a first embodiment of the present invention. [Figure 4] FIG. 2 is a diagram showing an example of the configuration of test case information according to the first embodiment of the present invention. [Diagram 5] FIG. 4 is a diagram showing an example of the configuration of test record information according to the first embodiment of the present invention. [Figure 6] FIG. 2 is a configuration diagram showing an example of the configuration of use case association information according to the first embodiment of the present invention. [Figure 7] 3 is a configuration diagram showing an example of target value information of monitoring items according to the first embodiment of the present invention; FIG. [Figure 8] FIG. 2 is a diagram showing an example of the structure of trace data according to the first embodiment of the present invention; [Figure 9] 4 is a flowchart showing an example of processing of the business impact scope presentation device according to the first embodiment of the present invention. [Figure 10] FIG. 2 is a configuration diagram showing an example of a display screen of the display device according to the first embodiment of the present invention. [Figure 11] FIG. 4 is a configuration diagram showing an example of another display screen of the display device according to the first embodiment of the present invention. [Figure 12] 10 is a flowchart showing an example of processing of a business impact scope presentation device according to a second embodiment of the present invention. [Figure 13] FIG. 11 is a diagram illustrating an example of the configuration of update information according to the third embodiment of the present invention. [Figure 14] 13 is a flowchart showing an example of processing of a business impact scope presentation device according to a third embodiment of the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0013] Hereinafter, an embodiment of the present invention will be described with reference to the drawings. The following description and drawings are examples for explaining the present invention, and are omitted and simplified as appropriate for clarity of explanation. The present invention can be implemented in various other forms. Unless otherwise limited, each component may be singular or plural. The position, size, shape, range, etc. of each component shown in the drawings may not represent the actual position, size, shape, range, etc. in order to facilitate understanding of the invention. Therefore, the present invention is not necessarily limited to the position, size, shape, range, etc. disclosed in the drawings. In the following description, various information may be described using expressions such as "table" and "list", but various information may be expressed in a data structure other than these. In order to indicate that it does not depend on the data structure, "XX table", "XX list", etc. may be called "XX information". When expressions such as "identification information", "identifier", "name", "ID", and "number" are used in explaining identification information, these can be replaced with each other. EXAMPLES
[0014] This embodiment identifies the content of a business that is affected by an abnormality in a request path that includes a microservice, based on the execution results in a test environment and the execution results in a production environment of a monitored system that manages monitored software that includes multiple microservices that specify the processing content of one or more operational steps belonging to multiple business operations, when an abnormality occurs in the request path that includes a microservice.
[0015] Fig. 1 is a block diagram showing an example of the configuration of a computer system including a business impact scope presentation device according to a first embodiment of the present invention. In Fig. 1, the computer system includes a monitored system 1, a test device 2, a monitoring device 3, a network 4, a business impact scope presentation device 100, and a display device 5. The business impact scope presentation device 100 is connected to the test device 2, the monitoring device 3, and the display device 5 via the network 4 so as to be able to communicate with each other. The network 4 is, for example, a public network such as the Internet, a LAN (Local Area Network), or a WAN (Wide Area Network).
[0016] The monitored system 1 is an IT system for executing business operations, and is composed of, for example, a computer (not shown) equipped with a processor, a storage device, an input device, an output device, and a communication device. The processor is composed of, for example, a CPU (Central Processing Unit) or an MPU (Micro Processing Unit). The processor executes a monitored program for executing processing according to the business contents (hereinafter sometimes referred to as a use case) of the IT system in a production environment. At this time, data such as access history and error history generated by the processor while executing the monitored program is stored as a system log in a database 10 belonging to the storage device. Note that the means for storing the system log is not limited.
[0017] The test device 2 is a device that checks whether the monitored system 1 operates normally in a test environment before being introduced into a production environment, and is composed of, for example, a computer (not shown) equipped with a processor, a storage device, an input device, an output device, and a communication device. A database 20 belonging to the storage device of the test device 2 stores, as a test log, information (test record information) indicating test results when, for example, the monitored system 1 executes a monitored program in a test environment. The test log is, for example, information for checking whether a specific use case can be realized normally, and is used as information on what operation was performed to obtain an expected processing result, etc. It should be noted that the means for storing the test log is not limited.
[0018] The monitoring device 3 is a device that collects various monitoring data from the monitored system 1 in a test environment and a production environment in order to check whether the monitored system 1 is operating normally, and is composed of, for example, a computer (not shown) equipped with a processor, a storage device, an input device, an output device, and a communication device. A database 30 belonging to the storage device of the monitoring device 3 stores, as monitoring data, for example, metrics data such as CPU utilization rate and memory utilization rate, trace data including the path of an API (Application Programming Interface) request (in what order the operations are performed), and data logs such as access history and error history. Note that the means for storing the monitoring data is not limited.
[0019] The display device 5 is, for example, a device belonging to a server computer, which is physical computer hardware owned by an IT system operations management department. The display device 5 has a function of displaying information output from the business impact scope presentation device 100 via the network 4 and a visualization chart attached to this information.
[0020] FIG. 2 is a configuration diagram showing a configuration example of the monitored software managed by the monitored system according to the first embodiment of the present invention. In FIG. 2, the monitored system 1 includes use cases 11, 12, . . . , operation steps 21, 22, 23, . . . , microservices 31, 32, . . . , microservices 41, 42, . . . , microservice 51, and API endpoints 31A, 32A, 41A, 42A, 51A as monitored software for executing the business of the IT system. The use cases 11 and 12 are contents of business that the IT system wants to realize. For example, the use case 11 indicates that the business of the IT system is the order settlement of registered users, and the use case 12 indicates that the business of the IT system is the order settlement of guests. The operation steps 21, 22, 23 are, for example, components that belong to the use case 11, and are components when the use case 11 is divided into a plurality of parts according to its contents. Operation step 21 is a step for controlling the order settlement process of a registered user, such as checkout. Operation step 22 is a step for controlling the order settlement process of a registered user, such as order creation. Operation step 23 is a step for controlling the order settlement process of a registered user, such as payment.
[0021] Microservices 31, 32, 41, 42, and 51 are programs for providing service functions, and are independent of each other. Microservice 31 is a program having a function of executing checkout processing. Microservice 32 is a program having a function of executing order creation processing. Microservice 41 is a program having a function of executing calculation processing. Microservice 42 is a program having a function of executing inventory confirmation processing. Microservice 51 is a program having a function of executing coupon acquisition processing. API endpoints 31A, 32A, 41A, 42A, and 51A are reception points for triggering the execution of functions of each microservice 31, 32, 41, 42, and 51. One use case is composed of multiple operation steps. One operation step is executed via one or more microservices and API endpoints.
[0022] That is, in order to execute the processing of one operation step, one operation step is connected via an input / output interface of a request (access) belonging to any microservice or API endpoint. For example, operation step 21 connected to use case 11 is connected to API endpoint 31A of microservice 31. Operation step 22 connected to use case 11 is connected to endpoint 51A of microservice 51 via API endpoint 32A of microservice 32 and API endpoint 41A of microservice 41, and is also connected to API endpoint 32A of microservice 32 and API endpoint 42A of microservice 42. At this time, each microservice and each API endpoint constitutes an API request path indicating a transmission path of a request (access) from any microservice (client) to another microservice (server).
[0023] Fig. 3 is a functional block diagram showing a configuration example of a business impact scope presentation device according to the first embodiment of the present invention. In Fig. 3, the business impact scope presentation device 100 includes, for example, an input unit 110, an output unit 120, a storage unit 130, a calculation unit 140, and a communication unit 150 as software resources. The business impact scope presentation device 100 includes, as hardware resources, a computer (not shown) including a processor, a main storage device, an auxiliary storage device, an input device, an output device, and a communication device.
[0024] The main memory device is a device that stores computer programs and data, and is, for example, a Read Only Memory (ROM), a Random Access Memory (RAM), or a non-volatile semiconductor memory.
[0025] The auxiliary storage device is, for example, a hard disk drive, a solid state drive (SSD), an optical storage medium (i.e., a compact disc (CD) and a digital versatile disc (DVD)), a storage system, an integrated circuit card (IC card), a secure digital (SD) memory card, and other storage medium read / write devices, as well as a storage area of a cloud server, etc. Computer programs and data stored in the auxiliary storage device are loaded into the main storage device as needed.
[0026] Examples of the input device include a keyboard, a mouse, a touch panel, a card reader, an audio input device, etc. The output device (display device) is a user interface that provides the user with various information such as the progress and results of processing. Examples of the output device include a screen display device as a display (i.e., a liquid crystal monitor, LCD (Liquid Crystal Display), or a graphics card), an audio output device (i.e., a speaker, etc.), or a printing device, etc.
[0027] The communication device is a wired or wireless communication interface that realizes communication with other devices via a communication means such as a LAN, the Internet, etc. The communication device is, for example, a network interface card (NIC), a wireless communication module, a universal serial bus (USB) module, or a serial communication module.
[0028] Here, the processor is configured using, for example, a CPU or an MPU. In this case, for example, the processor operates according to an input program loaded into the main storage device to realize the function of the input unit 1110, and operates according to an output program loaded into the main storage device to realize the function of the output unit 120. The processor operates according to an arithmetic program loaded into the main storage device to realize the function of the arithmetic unit 140, and operates according to a communication program loaded into the main storage device to realize the function of the communication unit 150. Furthermore, the processor operates with the main storage device as a target for storing data and information to realize the function of the storage unit 130.
[0029] Specifically, the input unit 110 receives information when the user operates a keyboard or mouse via an input device, accepts the input information as input information, and outputs the input information to the calculation unit 140.
[0030] The output unit 120 generates screen information to be displayed on the display (display unit) of the business impact scope presentation device 100 or the display device 5, and outputs the generated image information to the display or the display device 5.
[0031] The storage unit 130 is a database that stores various information. Test case information 131, test record information 132, use case association information 133, target value information 134 of monitor items, trace data 135, and update information 136 are stored in the storage unit 130. The information stored in the storage unit 130 will be described below. The calculation unit 140 and the communication unit 150 will be described later.
[0032] Fig. 4 is a configuration diagram showing an example of the configuration of test case information according to the first embodiment of the present invention. In Fig. 4, the test case information 131 is information generated in advance by the test device 2 as information necessary for the test device 2 to execute a test on the monitored system 1, and is composed of a test case ID 131A, a test case name 131B, an associated use case ID, an associated use case name 131D, and test content 131E.
[0033] The test case ID 131A is an identifier that uniquely identifies the number of a test case. For example, information "TC-1" is recorded in this test case ID 131A as the first test case. The test case name 131B is an identification name for identifying the name of a test case. For example, when a test of a checkout of a registered user (a test showing the processing content of operation step 21 in FIG. 2) is performed, "Checkout of a registered user" is recorded in the test case name 131B. The related use case ID is an identifier that uniquely identifies the number of a use case to be verified by a test case. For example, when the number of a use case (order settlement of a registered user) to be verified by a test case is "UC-1", information "UC-1" is recorded in the related use case ID. The related use case name 131D is an identification name of a use case to be verified by a test case. For example, if the use case to be verified by the test case (TC-1) is order settlement for a registered user (use case 11 in FIG. 2), information "order settlement for a registered user" is recorded in the related use case name 131D. The test content 131E is the content of the test by the test device 2. For example, information such as "Add multiple products to a cart. Check whether the addition was successful" is recorded in the test content 131E as the operation / input to the monitored system 1 to be tested and the expected behavior / output.
[0034] Here, for example, in the case of test case (TC-1), it would be recorded that "The test case with test number TC-1 verifies the use case with use case number UC-1. If you can add multiple products to the cart and confirm the screen indicating that the addition was successful, the test is complete."
[0035] Fig. 5 is a diagram showing an example of the configuration of test record information according to the first embodiment of the present invention. In Fig. 5, the test record information 132 is information collected and recorded when the test device 2 executes a test on the monitored system 1, and is composed of a test case ID 132A, a URI (Uniform Resource Identifier) 132B, a parameter 132C, a method 132D, a request body 132E, a start time 132F, an end time 132G, a TraceID 132H, a SpanID 132I, and a ParentID 132J.
[0036] The test case ID 132A is a test case number, similar to the test case ID 131A. The URI 132B is a path of an endpoint specified when the monitored system 1 executes a test. For example, the information " / userCheckout" is recorded in the URI 132B as a path of an endpoint (API endpoint 31A) when the monitored system 1 executes a test by the test case (TC-1). The parameter 132C is additional information added in a specific format to the end of a path that specifies a destination of a request (access) when the monitored system 1 executes a test. For example, when the path of the endpoint (API endpoint 31A) is " / userCheckout", the information "productID=ESPC7Z" is recorded in the parameter 132C. The method 132D indicates the type of request to a server that is a destination of a request by a client (request sender) in the communication protocol HTTP (Hypertext Transfer Protocol). For example, the information "GET" is recorded in the method 132D as a request from a client to a server. Request body 132E is information sent from the client to the server. Note that if method 132D is "GET", no information is recorded in request body 132E.
[0037] The start time 132F is the time when a specific request is sent from the client to the server. For example, when the start time is 1:42:08 on November 4, 2022, at least the information "2011-11-04 01:42:08.5653016" is recorded in the start time 132F. The end time 132G is the time when the server completes the processing and transmits a response to the client. When the end time is 1:42:09 on November 4, 2022, at least the information "2022-11-04 01;42:09.1837765" is recorded in the end time 132G. In this case, the time from the start time 132F to the end time 132G is the processing time required for the client to process the request. Note that the start time 132F and the end time 132G can also be recorded in milliseconds as a time less than a second.
[0038] The TraceID132H is an identifier for identifying a series of requests when a client makes a request to the API endpoint. For example, in the case of the test case (TC-1), the information "e8bdc860" is recorded in the TraceID132H as an identifier of a request when a client makes a request to the API endpoint 31A. The SpanID132I is an identifier for identifying the processing content of the endpoint when a request is sent from the client to the API endpoint. For example, the information "8b8d57f6" is recorded in the SpanID132I as an identifier for identifying the processing of the API endpoint 31A when a request is sent from the client to the API endpoint 31A. The ParentID132J is an identifier for identifying the processing of the previous request directly requested from the client to the API endpoint among the requests sent from the client to the API endpoint. For example, in the case of the test case (TC-1), the information is not recorded in the ParentID132J because there is no previous request among the requests when a client makes a request to the API endpoint 31A. In addition, in the case of the test case (TC-2), in the record of ParentID132J in which “ / calculatePrice” is recorded in URI132B, the information “91b8a50e” is recorded as an identifier for identifying the processing of the previous request (an identifier for identifying the processing of API endpoint 32A).
[0039] For example, in the case of use case 11 indicating "Registered user's order settlement", it is recorded that the process of "Checkout", which is the operation of operation step 21 of test case TC-1, is executed using the API endpoint 31A of microservice 31 indicating "Checkout service". Also, it is recorded that the process of "Order creation", which is the operation of operation step 22 of test case TC-2, is executed using the API endpoint 32A of microservice 32 indicating "Order service", the API endpoint 41A of microservice 41 indicating "Calculate service", the API endpoint 42A of microservice 42 indicating "Inventory service", and the API endpoint 51A of microservice 51 indicating "Discount service".
[0040] Fig. 6 is a diagram showing an example of the configuration of use case association information according to the first embodiment of the present invention. In Fig. 6, use case association information 133 is information generated by the test device 2 in order to associate a use case with an API request path, and is composed of a use case ID 133A, an API request path 133B, and request content 133C.
[0041] The use case ID 133A is an identification number that uniquely identifies a use case. For example, in the case of use case 11 indicating "registered user order settlement", information of "UC-1" is recorded in the use case ID 133A. The API request path 133B is a path of a request sent from a client to a server when a use case is executed. When a request is processed via one or more API endpoints, information on the microservices passed through, the order of API endpoints, and the HTTP method is recorded in, for example, JSON (JavaScript (registered trademark) Object Notation) format in the API request path 133B. The request content 133C is the content of a request sent from a client to a server. In the request content 133C, parameters of the first request on the API request path or structural information of the request body is recorded in, for example, JSON format.
[0042] Here, for example, when the use case ID 133A is “UC-1”, the first operation related to the use case is indicated as “calling the / userCheckout API endpoint of the Checkout microservice, and executing the GET method with the productID as a parameter.”
[0043] Fig. 7 is a configuration diagram showing an example of target value information of monitored items according to the first embodiment of the present invention. In Fig. 7, target value information 134 of monitored items is information generated by the monitoring device 3 as information including availability targets and performance targets to be achieved by the API, and is composed of a target value ID 134A, an API end point 134B, a microservice 134C, a measurement period 134D, a threshold value 134E, and a percentage target 134F.
[0044] The target value ID 134A is an identification number for identifying the target value and measurement method of the monitoring index of the API (monitored API) to be monitored by the monitoring device 3. For example, the information "SLO-1" is recorded in the target value ID 134A as the first SLO (Service Level Objective) "Service Level Objective". The API endpoint 134B is the API endpoint of the monitored API of the monitoring device 3. For example, in the case of the API endpoint 31A, the information " / userCheckout" is recorded in the API endpoint 134B. The microservice 134C is the name of the microservice to which the monitored API belongs. For example, in the case of the microservice to which the monitored API belongs, the information "Checkout" is recorded in the microservice 134C when the microservice to which the monitored API belongs is the microservice 31.
[0045] The measurement period 134D is a calculation period for a monitoring index (e.g., a processing time required to process a request) of the monitored API required to calculate the percentage target 134F. For example, when the calculation period is one month, information for "one month" is recorded in the measurement period 134D. The threshold value 134E is a reference value for determining whether the monitoring index of the monitored API is normal or abnormal. For example, when the processing time required to process a request is used as the monitoring index of the monitored API, information of "500 ms" is recorded in the threshold value 134E. In this case, if the processing time required to process a request is "500 ms" or less, it is determined to be normal, and if it exceeds "500 ms", it is determined to be abnormal. The percentage target 134F is a target value indicating the proportion of measurement values determined to be normal among all measurement values obtained during a certain period as measurement values of the monitored API. In the percentage target 134F, for example, when the target is that 99% of all measured values are normal, information of "99%" is recorded.
[0046] For example, when the target value ID 134A is “SLO-1”, the target value indicates that “among all requests received by the / userCheckout API endpoint of the Checkout microservice during a one-month period, more than 99% of the requests are completed in 500 ms or less.”
[0047] Fig. 8 is a diagram showing an example of the configuration of trace data according to the first embodiment of the present invention. In Fig. 8, the trace data 135 includes data collected by the monitoring device 3 from the monitored system 1 while the monitored system 1 is in operation, and has information such as a URI 135A, a parameter 135B, a method 135C, a request body 135D, a start time 135E, an end time 135F, a TraceID 135G, a SpanID 135H, and a ParentID 135I.
[0048] URI 135A is the path of the endpoint specified when executing the test case, and is the same as URI 132B in FIG. 5. Parameter 135B is additional information written in a specific format at the end of the path that specifies the destination of the request, and is the same as parameter 132C in FIG. 5. Method 135C is a communication protocol HTTP that indicates the type of request from the client to the server, and is the same as method 132D in FIG. 5. Request body 135D is information sent from the client to the server, and is the same as request body 132E in FIG. 5. Start time 135E is the time when a specific request is sent to the server, and is the same as start time 132F in FIG. 5. Note that the information "2022-11-07 01:30:08.3226328" is recorded in start time 135E of the first record. End time 135F is the time when the server completes the process and sends a response from the server to the client, and is the same as end time 132G in FIG. 5. In addition, the information "2022-11-07 01:30:08.8826696" is recorded in the end time 135F of the first record. The time from the start time 135E to the end time 135F is the processing time required for the client (operation step or micro server) to process the request. In addition, the start time 135E and the end time 135F can also be recorded as times on the order of ms as times less than seconds.
[0049] TraceID135G is an identifier for identifying a series of requests when a request is made from a client to an API endpoint, and is the same as TraceID132H in FIG. 5. Note that information "4kzkn1y" is recorded in TraceID135G of the first record. SpanID135G is an identifier for identifying the processing content of the endpoint when a request is sent from a client to the API endpoint, and is the same as SpanID132I in FIG. 5. Note that information "aj07npa" is recorded in SpanID135G of the first record. ParentID135I is an identifier for identifying the processing of the previous request directly requested from the client to the API endpoint among requests sent from the client to the API endpoint, and is the same as ParentID132J in FIG. 5.
[0050] Here, for example, in the case of the first record, it is shown that "The operation against the / userCheck API endpoint starting at 2022-11-07 01:30:08.3226328 was executed using the GET method with parameter proeudctID=ESPC7Z and ended at 2022-11-07 01:30:08.8826696. The TraceID for this operation is 4kzkn1y and the SpanID is aj07npa."
[0051] Next, a specific configuration of the calculation unit 140 will be described with reference back to Fig. 3. The calculation unit 140 includes, for example, a test log collection unit 141, a use case association unit 142, a monitoring information acquisition unit 143, a business impact scope analysis unit 144, and an update information acquisition unit 145.
[0052] The test log collection unit 141 is a test log collection program that collects test case information 131 and test execution results from the test device 2, and obtains monitoring data collected when a test is executed from the monitoring device 3. Specifically, the test log collection unit 141 reads and collects test case information 131 shown in FIG. 4 as test case information indicating a relationship between each use case and each test case (operation step) from the test device 2 via a network, and stores the collected test case information 131 in the storage unit 130. In addition, when the test device 2 executes a test on the monitored system 1 and the monitoring device 3 collects monitoring data from the monitored system 1, the test log collection unit 141 reads, for example, trace data 135, target value information 134 of the monitored items, response time (processing time) of each request, etc. as monitoring data from the monitoring device 3, refers to the read monitoring data and the test case information 131, generates test record information 132 shown in FIG. 5, and stores the generated test record information 132 in the storage unit 130.
[0053] Here, the method of acquiring the test case information 131 is not limited to the exemplified method. For example, it may be acquired from a CI / CD (Continuous Integration / Continuous Delivery) tool (e.g., a tool such as Jenkins or CircleCI) that manages the test device 2. Also, specific names and test contents may be acquired from another data source using a test case ID (e.g., UC-1) and a use case ID (e.g., UC-1) as keys. The method of acquiring the test log is not limited to the exemplified method. It may be acquired in real time using the API of the monitoring device 3.
[0054] The use case association unit 142 is a use case association program that patterns API requests based on the test record information 132 generated by the test log collection unit 141, and extracts the relationship between the API requests and the use cases. Specifically, the use case association unit 142 acquires the test execution results (e.g., test record information) and monitoring data (e.g., trace data), and extracts a series of microservices and API endpoints of the same operation (all API requests under the same Trace ID) and request contents from the acquired information and data, respectively, to generate nested information. At this time, the use case association unit 142 generates the nested information as the use case association information 133 shown in FIG. 6, and stores the generated use case association information 133 in the storage unit 130. That is, the use case association unit 142 generates the use case association information 133 by associating each use case with a request path corresponding to each operation step among one or more request paths. The process of extracting the relationship between the API requests and the use cases will be described later.
[0055] The monitoring information acquisition unit 143 is a monitoring information acquisition program that acquires target value information 134 of the monitoring items and monitoring data, for example, trace data showing the execution result of a microservice as the execution result in the production environment for the monitoring target software managed by the monitoring target system 1, from the monitoring device 3. Specifically, the monitoring information acquisition unit 143 acquires information on the target values (measurement period, threshold, percentage target) that the monitoring items of each monitoring target API should achieve from the configuration file of the monitoring device 3, and acquires trace data (URI, parameters, method, request body, start time, end time, TraceID, SpanID, ParentID) that belong to the monitoring data of the monitoring device 3. At this time, the monitoring information acquisition unit 143 stores information on the target values that the monitoring items of each monitoring target API should achieve in the storage unit 130 as target value information 134 of the monitoring items shown in FIG. 7, and stores the acquired trace data in the storage unit 130 as trace data 135 shown in FIG. 8.
[0056] The business impact scope analysis unit 144 is a business impact scope analysis program that determines whether an abnormality, including performance degradation or failure, has occurred in any of the multiple request paths based on the trace data, and compares the use case association information 133 shown in Fig. 6 with the trace data 135 shown in Fig. 8 to associate the API request path that has not reached the target value with the use case. Specifically, the business impact scope analysis unit 144 compares the characteristics of the API request that has not reached the target value, for example, an API request whose processing time exceeds "500 ms", with the pattern of the API request path recorded in the use case association information 133, and searches the use case association information 133 for a use case that has an API request path that matches the API request that has not reached the target value. This search process will be described later.
[0057] The communication unit 150 is a communication program that transmits and receives information to and from an external device. Specifically, the communication unit 150 acquires necessary data from the test device 2 and the monitoring device 3. The communication unit 150 also transmits an instruction to the display device 5 to generate a UI (User Interface) for inputting information as screen information.
[0058] 9 is a flowchart showing an example of processing of the business impact scope presentation device according to the first embodiment of the present invention. The processing is executed by the business impact scope presentation device 100 when, for example, an instruction to execute the processing is received from the display device 5 via the input unit 110.
[0059] When the process of identifying an impact scope by the business impact scope presentation device 100 is started, the business impact scope presentation device 100 collects test case information 131 from the test device 2 (step S101). Specifically, the test log collection unit 141 collects the test case information 131 from the test device 2 in order to collect information defining the relationship between the test cases and the use cases, and stores the collected test case information 131 in the storage unit 130. At this time, for example, the test case information 131 indicates that the use case "UC-1" is composed of three test cases ("TC-1", "TC-2", and "TC-3"), and the test contents are recorded for each test case.
[0060] Next, the business impact scope presentation device 100 collects execution records of tests that the test device 2 performed on the monitored system 1 (step S102). Specifically, the test log collection unit 141 collects records of monitoring data (such as trace data) collected from the monitoring device 3 during the test execution period to generate test record information 132. At this time, the test log collection unit 141 includes test case information (test case ID) in the test record information 132 including the test log in order to match the test execution contents with the monitoring data (trace data) by time (timestamp). For example, in the case of the test case "TC-2", the test record information 132 records a feature (API request path) indicating that the request is executed via multiple microservices and API endpoints, including the request body including "productID" and "userID", when a request is made to the API endpoint of / createOrder of the microservice Order service.
[0061] Here, the method of matching the test case with the monitoring data (trace data) of the test execution results is not limited to the exemplified method. For example, the test case and the monitoring data (trace data) of the test execution results may be identified by the URI of the API endpoint to be tested.
[0062] Next, the business impact scope presentation device 100 associates the test implementation records recorded in the test record information 132 with the use cases (step S103). Specifically, the use case association unit 142 groups all API requests related to a specific use case on a TraceID basis from the information recorded in the test case information 131 and the information (test log) recorded in the test record information 132, extracts the characteristics of the request group for each TraceID, and generates use case association information 133. For example, based on the API request (TraceID: 55c94b0d) of the test case "TC-2" related to the use case "UC-1", the use case association unit 142 extracts the API request path (a path that completes processing from the API / createOrder of the order service via the API / calculatePrice of the calculate service, the API / getDiscount of the discount service, and the / inventoryCheck of the inventory service) and the request content (the payload contains a productID and a userID), and generates use case association information 133 in the format shown in FIG. 6 from the extracted API request path and the request content.
[0063] Here, the data items and extraction methods that are characteristic of a request are not limited to the exemplified methods. For example, features other than the API request path and request content may be used as long as they can uniquely identify a request.
[0064] Next, the business impact scope presentation device 100 collects monitoring data of the production environment from the monitoring device 3 (Step S104). Specifically, the monitoring information acquisition unit 143 collects monitoring data including the characteristics of each API request (URI, parameters, method, request body, start time, end time, TraceID, SpanID, ParentID) from the monitoring device 3, generates trace data 135 in the format shown in FIG.
[0065] Next, the business impact scope presentation device 100 identifies APIs that have not achieved their target values (step S105). Specifically, the business impact scope analysis unit 144 determines whether an API has not achieved its target value based on the ratio of requests whose expected performance falls below a threshold during a certain period. For example, the business impact scope analysis unit 144 monitors the behavior of the monitored system 1, and when it is discovered that the performance of the API " / calculatePrice" falls below the target value, it identifies " / calculatePrice" by analyzing alert information or monitoring data from the monitoring device 3.
[0066] Here, the method of identifying an API that has not achieved the monitoring target value is not limited to the exemplified method. For example, depending on the nature of the monitored system 1, each development project may use its own judgment criteria.
[0067] Next, the business impact scope presentation device 100 extracts requests that have passed through the API that has not reached the target value (step S106). Specifically, the business impact scope analysis unit 144 extracts all requests that have passed through the target API endpoint that is the target of the alert based on the trace data, and identifies requests that are affected by the threshold value of the target value information 134 of the monitoring item from all the extracted requests. For example, the trace data is searched for all requests that have passed through the API endpoint with a URI of / calculatePrice. From all the requests that have passed through the API endpoint with a URI of / calculatePrice, requests whose processing time for / calculatePrice exceeds the threshold value of 500 ms (threshold value 134E recorded in the target value information 134 of the monitoring item) are identified and recorded as affected requests (requests whose processing time exceeds the threshold value).
[0068] Next, the business impact scope presentation device 100 identifies use cases that are affected by the characteristics of the request (API request) (step S107). Specifically, the business impact scope analysis unit 144 compares the characteristics of the API request (trace data 135) with the characteristics of the API request recorded in the use case association information, and determines that the use case is "affected" if the contents of both are completely consistent. For example, by referring to the trace data 135 that is the characteristics of the API request, and from the request record of TraceID "ythy6f0" in the trace data 135, if the processing time of / calculatePrice exceeds the threshold value of 500 ms, this request is found to be an affected request. Of the API requests identified by TraceID "ythy6f0" in the trace data 135, the API request path and the contents of the API request all match the contents recorded in API request path 133B and request contents 133C in the use case association information 133. Therefore, it can be seen that the use case “Registered User Order Settlement” of “UC-1” is affected by requests whose processing time for / calculatePrice exceeds the threshold value of 500 ms.
[0069] Here, the method of comparing the features of API requests is not limited to the exemplified method. For example, a method of clustering using the feature amounts of API requests and displaying them in order of distance may be used. In addition, since strict criteria may lead to underestimation of the impact range, the search method may be determined according to the required detection accuracy.
[0070] Information on the use cases affected by the request is transmitted to the display (display unit) of the business impact scope presentation device 100, and is also transmitted to the display device 5 via the communication unit 150. After that, the business impact scope presentation device 100 ends the processing in this routine.
[0071] FIG. 10 is a configuration diagram showing an example of a display screen of the display device according to the first embodiment of the present invention. In FIG. 10, a display screen 500 of the display device 5 is a display screen starting from a use case. A plurality of use cases 501, 502, ... are displayed on the display screen 500. A use case list is displayed for each use case. At this time, the use case 501 that requires special attention is displayed in a highlighted manner. In an area adjacent to the use case 501, microservices 511, 512, ..., 521, 522, ..., 531 are displayed, and API endpoints 511A, 512A, ..., 521A, 522A, ..., 531A belonging to each microservice are displayed. The use case 501, each of the microservices 511 to 531, and each of the API endpoints 511A to 531A are displayed in a tree structure based on the use case association information 133.
[0072] Here, the display device 5 or the display of the business impact scope presentation device 100 functions as a display unit that displays the components of the monitored software managed by the monitored system 1, and adjusts the displayed content based on the analysis results of the business impact scope analysis unit 144. This display unit, for example, highlights the request path that has not reached the target value and the use case that is affected by the request path where an abnormality has occurred, among the components of the monitored software. That is, the API endpoint 521A including the API that has not reached the target value is displayed in a highlighted manner together with the use case 501.
[0073] In addition, the API request path including the use case 501, the microservice, and the API endpoint is displayed in a tree structure via arrows. The contents of the API request are displayed in a tooltip on each API point. When the highlighted API endpoint 521A is clicked, related information 541 is displayed. As the related information 541, for example, the end time, alert, HTTP method, request contents, etc. can be displayed. Note that the related information 541 can also display the monitoring threshold value of the API, target value information, and trace data of requests related to a specific API. In addition, the contents of the image information displayed on the display screen 500 are provided to the operations manager as information for investigation.
[0074] FIG. 11 is a configuration diagram showing an example of another display screen of the display device according to the first embodiment of the present invention. In FIG. 11, the display screen 550 of the display device 5 is a display screen starting from a microservice. On the display screen 550, a plurality of microservices 551, 552, 553, 554, and 555 are displayed. In each of the microservices 551 to 555, a list of microservices of the monitored system 1 is displayed. In an area adjacent to each of the microservices 551 to 555, a plurality of API endpoints 551A, 551B, . . . , 552A, 552B, . . . , 553A, . . . , 554A, 554B, 554C, . . . , 555A, 555B, . . . are displayed, and a plurality of use cases 561, 562, . . . are displayed. Each of the microservices 551 to 555 and each of the API endpoints are displayed in a tree structure based on the use case association information 133. An API request path related to a use case is displayed, for example, by an arrow 571 connecting API endpoints.
[0075] The API point 553A for which the target value has not been reached is displayed in a highlighted state. In addition, the use case 561 that is affected by the API point 553A for which the target value has not been reached is also displayed in a highlighted state. When the highlighted API endpoint 553A is clicked, related information 581 is displayed. For example, the end time, alert, HTTP method, request content, etc. are displayed in the related information 581. Note that the related information 581 can also display the monitoring threshold value of the API, target value information, and trace data of requests related to a specific API. In addition, the content of the image information displayed on the display screen 550 is provided to the operations manager as information for investigation.
[0076] According to this embodiment, when an abnormality occurs in an API request path including a microservice, it is possible to identify use cases that are affected by the abnormality in the API request path. Furthermore, according to this embodiment, even if the release of the microservice is fast, it is possible to easily identify use cases that are affected by the abnormality in the API request path. Furthermore, according to this embodiment, it is possible to grasp the characteristics of the API request with high accuracy from the test log (test record information) and associate the API endpoint that does not reach the target value with the use case based on the grasped contents. This makes it possible to take proactive measures by visualizing the API endpoint that does not reach the target value related to an important use case. For example, if the performance of an API endpoint associated with a use case deteriorates, the important use case can be operated normally by improving or optimizing the API endpoint. Since measures for achieving business goals can be proactively taken, it is possible to contribute to improving the contribution of the IT system to the business as a result. EXAMPLES
[0077] In this embodiment, after identifying an API request for which the target value has not been reached, it is determined whether or not a use case is actually affected by the API request for which the target value has not been reached, or whether or not the use case may be affected by the API request for which the target value has not been reached, and the following description will focus on the differences from embodiment 1. Note that in this embodiment, the configuration of hardware resources and the configuration of some of the software resources are similar to those of embodiment 1.
[0078] 12 is a flowchart showing an example of processing of the business impact scope presentation device according to the second embodiment of the present invention. The processing is executed by the business impact scope presentation device 100 when an instruction to execute the processing is received from the display device 5 via the input unit 110, for example. The difference between the processing of this embodiment and the first embodiment is the processing after step S201 for acquiring all the routes.
[0079] Specifically, in step S105, the business impact scope presentation device 100 identifies the API endpoint for which the target value has not been reached, and then searches the use case association information 133 for the API for which the target value has not been reached, and acquires all request paths via the same API as the API for which the target value has not been reached (step S201). For example, the business impact scope analysis unit 144 extracts all API request paths (request paths to be analyzed) that use the API endpoint of / calculatePrice from the use case association information 133 (FIG. 6).
[0080] Next, the business impact scope analysis unit 144 determines whether or not there is an API request of the same route as the API that has not reached the target value from the trace data 135 (FIG. 8) recorded during a certain period of time (step S202). If there is no API request of the same route as the API that has not reached the target value in the trace data 135 ("No" in step S202), the process proceeds to step S203. The absence of a specific API request in the trace data 135 means that a use case related to the API request has not yet been used, and therefore it is determined that this use case "may be affected" (step S203).
[0081] On the other hand, if there is an API request in the trace data 135 on the same path as the API that has not reached the target value ("Yes" in step S202), the process proceeds to step S204. At this time, the business impact scope analysis unit 144 determines whether or not the processing time of the API request on the request path exceeds a threshold value (step S204). Specifically, the business impact scope analysis unit 144 determines whether or not there is actually an impact from the API that has not reached the target value, depending on whether or not the processing time of the API request on the API request path exceeds a threshold value.
[0082] If the processing time of an API request on the API request path exceeds the threshold value (if "Yes" in step S204), the business impact scope analysis unit 144 determines that a request that actually slows down processing has occurred and therefore determines that this use case is "affected" (step S205).
[0083] On the other hand, if the processing time of an API request on the API request path does not exceed the threshold value ("No" in step S204), the business impact scope analysis unit 144 determines that this use case "may be affected" since the phenomenon of actual slowdown in processing has not yet been confirmed (step S203).
[0084] In this embodiment, the business impact scope analysis unit 144 refers to the use case association information 133 based on the API request path that has not reached the target value, and extracts all API request paths including the API request path that has not reached the target value as the API request path to be analyzed from among one or more request paths (S201). After that, the business impact scope analysis unit 144 determines whether the API request path to be analyzed exists in the trace data 135, and when it is determined that the API request path to be analyzed does not exist in the trace data 135, it analyzes a use case related to a microservice connected to the API request path to be analyzed among the multiple use cases as a use case that may be affected by the API request path to be analyzed (S203), and when it is determined that the request path to be analyzed exists in the trace data 135, it analyzes a use case related to a microservice connected to the API request path to be analyzed among the multiple use cases as a use case that may be affected by the API request path to be analyzed (S205).
[0085] Here, the display device 5 or the display of the business impact scope presentation device 100 functions as a display unit that displays the components of the monitored software managed by the monitored system 1 and adjusts the displayed content based on the analysis results of the business impact scope analysis unit 144. At this time, the display unit can highlight, for example, use cases that may be affected by the request path and use cases that are affected by the request path among the components of the monitored software.
[0086] According to this embodiment, the same effect as that of the first embodiment can be achieved, and after identifying the API request for which the target value has not been reached, the use cases can be identified by dividing them into use cases that are actually affected by the API request for which the target value has not been reached and use cases that may be affected by the API request for which the target value has not been reached. Furthermore, according to this embodiment, when the use cases that are actually affected by the API request for which the target value has not been reached and the use cases that may be affected are displayed separately, it becomes possible to prioritize the improvement and optimization of the IT system. For example, a high-priority measure can be taken for the use case that is actually affected by the API request for which the target value has not been reached, while a preventive measure can be taken for the use case that may be affected by the API request for which the target value has not been reached, since there is a possibility that it will be affected in the future. Furthermore, by displaying both the fact (the former) and the speculation (the latter), the grounds for prioritizing the improvement and optimization of the IT system can be clarified. EXAMPLES
[0087] In this embodiment, when an update occurs to the monitored software of the monitored system, the relationship between the API request and the use case is updated, and the following description focuses on the differences from the first embodiment. Note that in this embodiment, the configuration of the hardware resources and the configuration of some of the software resources are the same as those in the first embodiment.
[0088] When an update occurs in the software to be monitored in the system to be monitored 1, the relationship between the API and the use case may change due to a change in the API specification, so it is necessary to update the relationship between the two appropriately. At this time, the update information acquisition unit 145 is an update information acquisition program that collects update information of the system to be monitored 1 and determines whether to start a use case association process. Specifically, the update information acquisition unit 145 collects update information and a test execution status from the CI / CD tool of the system to be monitored 1, generates update information 136, and stores the generated update information 136 in the storage unit 130. At this time, when an update occurs in the software to be monitored in the system to be monitored 1 and the test by the test device 2 is completed, the update information acquisition unit 145 notifies the test log collection unit 141 of information that an update has occurred in the software to be monitored in the system to be monitored 1.
[0089] Fig. 13 is a configuration diagram showing an example of the configuration of update information according to the third embodiment of the present invention. In Fig. 13, the update information 136 is information for managing the test execution status and deployment status of a new version of an application among the monitored software used in the monitored system 1, and is composed of a time 136A, a commit 136B, a CI / CD status 136C, and a use case association update status 136D.
[0090] The time 136A is the time when a new version of the application is provided to the monitored system 1. For example, if 3:20:14 on November 4, 2022 (UTC) is the time when the new version of the application is provided, the information "2022-11-04 03:20:14" is recorded in the time 136A. The commit 136B is an identification number of a code base update record. For example, the information "62e65afed" is recorded in the commit 136B. The CI / CD status 136C is a test execution status or deployment status of the application related to the new version. For example, if a test of the new version of the application is being performed, the information "test in progress" is recorded in the CI / CD status 136C, and if the new version of the application has been deployed in the production environment, the information "deployed to production environment" is recorded. The use case association update status 136E is a flag indicating whether the use case association information 133 is up to date for the new version of the application. In use case association update status 136E, for example, if use case association information 133 is not up to date, information "incomplete" is recorded as a flag, and if use case association information 133 is up to date, information "updated" is recorded as a flag.
[0091] Here, for example, the first record of update information 136 indicates that "at time 2022-11-04 03:20:14, an update to commit identification number 62e65afed occurred, testing using the CI / CD tool is being performed, and use case association information has not yet been updated."
[0092] 14 is a flowchart showing an example of processing of the business impact scope presentation device according to the third embodiment of the present invention. The processing is executed by the business impact scope presentation device 100 when, for example, an instruction to execute the processing is received from the display device 5 via the input unit 110. The processing of this embodiment differs from that of the first embodiment in that, before the processing of step S101, a step of collecting update information (step S301) and a step of determining whether or not there is an update (step S302) are added.
[0093] Specifically, the update information acquisition unit 145 of the business impact scope presentation device 100 collects update information from the CI / CD tool of the monitored system 1, generates update information 136, and stores the generated update information 136 in the memory unit 130 (step S301).
[0094] Next, the update information acquisition unit 145 judges whether or not there has been an update to the monitoring target software (application) of the monitoring target system 1 (step S302). When the update information acquisition unit 145 judges that there has been an update, for example, when a new commit has occurred and the use case association has not yet been updated (if "Yes" in step S302), the process proceeds to step S101, which is the process by the test log collection unit 141, and ends the process in this routine. At this time, the update information acquisition unit 145 commands the test log collection unit 141 and the use case association unit 142 to perform update processing associated with the update, on the condition that there has been an update to the monitoring target software of the monitoring target system 1 and the use case related information 133 has not been updated (S101 to S103). As a result, the use case association information 133 is updated to the latest state by the use case association unit 142 (S103).
[0095] On the other hand, if the update information acquisition unit 145 determines that there has been no update, for example, if there is no new commit ("No" in step S302), there is no need to update the use-case related information, so the update information acquisition unit 145 proceeds to step S104, which is the processing of the monitoring information acquisition unit 143, and ends the processing in this routine.
[0096] According to this embodiment, when an update occurs in the monitored software of the monitored system, the relationship between the API request and the use case can be updated. For example, the use case association information can be always kept up to date by following updates in agile development. Furthermore, according to this embodiment, by automatically collecting update information, it is possible to eliminate the omission of checking that an application has been upgraded. Therefore, the use case association information is always up to date and reliable. As a result, it is possible to accurately identify the use cases affected by the request path in which an abnormality has occurred, which contributes to improving accuracy.
[0097] It should be noted that the present invention is not limited to the above-described embodiments, and includes various modifications and equivalent configurations within the spirit and scope of the appended claims. For example, the above-described embodiments have been described in detail to clearly explain the present invention, and the present invention is not necessarily limited to those including all of the described configurations.
[0098] In addition, each of the configurations, functions, etc. described above may be realized in hardware, for example by designing some or all of them as an integrated circuit, or may be realized in software by a processor interpreting and executing a program that realizes each function.
[0099] Information such as programs, tables, files, etc. that realize each function can be stored in storage devices such as memory, hard disks, and SSDs (Solid State Drives), or recording media such as IC (Integrated Circuit) cards, SD (Secure Digital) cards, and DVDs (Digital Versatile Discs). [Explanation of symbols]
[0100] 1 monitored system, 2 test device, 3 monitoring device, 4 network, 5 display device, 100 business impact scope presentation device, 110 input section, 120 output section, 130 storage section, 131 test case information, 132 test record information, 133 use case association information, 134 monitoring item and target value information, 135 trace data, 136 update information, 140 calculation section, 141 test log collection section, 142 use case association section, 143 monitoring information acquisition section, 144 business impact scope analysis section, 145 update information acquisition section, 150 communication section
Claims
1. a test log collection unit that collects test record information indicating the results of tests on a monitored software in which one or more operation steps indicating components of the content of each of a plurality of business operations and a plurality of microservices that execute processing by the operation of the one or more operation steps are connected via one or more request paths, and collects test case information indicating the relationship between the content of each of the business operations and each of the operation steps; a use case association unit that generates use case association information by associating a request path corresponding to each of the operation steps among the one or more request paths with the content of each of the business operations based on the test record information and the test case information collected by the test log collection unit; A monitoring information acquisition unit that acquires trace data indicating an execution result of each of the microservices as an execution result in a production environment for the software to be monitored; a business impact scope analysis unit that determines whether or not an abnormality has occurred in any of the one or more request paths based on the trace data acquired by the monitoring information acquisition unit, The business impact scope analysis unit When it is determined that the abnormality has occurred on any of the request routes, the business impact scope presentation device refers to the use case association information based on the request route on which the abnormality occurred, and identifies the content of the business among the contents of each of the business operations that is affected by the request route on which the abnormality occurred.
2. 2. The business impact scope presentation device according to claim 1, The trace data is The processing time required for processing each request by each operation step or each microservice includes a processing time for each request on each request path, The business impact scope analysis unit The business impact scope presentation device refers to the trace data, compares the processing time of each request with a set threshold value, and if the processing time of any request exceeds the threshold value, determines that the abnormality has occurred, and analyzes the request path of the request whose processing time exceeded the threshold value as a request path in which the abnormality has occurred and which has not achieved a target value.
3. 3. The business impact scope presentation device according to claim 2, The business impact scope analysis unit A business impact scope presentation device characterized by referring to the use case association information based on the request route that does not achieve the target value, and extracting all request routes including the request route that does not achieve the target value from the one or more request routes as request routes to be analyzed.
4. 4. The business impact scope presentation device according to claim 3, The business impact scope analysis unit a business impact scope presentation device which determines whether the request route to be analyzed exists in the trace data, and if it is determined that the request route to be analyzed does not exist in the trace data, analyzes, among the contents of each of the business operations, the contents of the business operations related to the microservice connected to the request route to be analyzed as the contents of the business operations that may be affected by the request route to be analyzed, and if it is determined that the request route to be analyzed exists in the trace data, analyzes, among the contents of each of the business operations, the contents of the business operations related to the microservice connected to the request route to be analyzed as the contents of the business operations that may be affected by the request route to be analyzed.
5. 3. The business impact scope presentation device according to claim 2, a display unit that displays the components of the monitored software and adjusts the displayed content based on the analysis result of the business impact scope analysis unit; The display unit is A business impact scope presentation device characterized by highlighting and displaying the request path that has not reached the target value and the content of the business that is affected by the request path where the abnormality occurred, among the components of the monitored software.
6. 5. The business impact scope presentation device according to claim 4, a display unit that displays the components of the monitored software and adjusts the displayed content based on the analysis result of the business impact scope analysis unit; The display unit is A business impact scope presentation device characterized by highlighting and displaying the contents of business operations that may be affected by the request path of the target of analysis and the contents of business operations that are affected by the request path of the target of analysis, among the components of the monitored software.
7. 2. The business impact scope presentation device according to claim 1, an update information acquisition unit that acquires update information including whether or not the monitoring target software has been updated and whether or not the use case association information has been updated; The update information acquisition unit A business impact scope presentation device characterized by instructing the test log collection unit and the use case association unit to perform update processing associated with the update, provided that there is an update to the monitored software and the use case association information has not yet been updated.
8. A method using a computer, comprising: a test log collection step in which the computer collects test record information indicating the results of tests performed on a monitored software in which one or more operation steps indicating components of the content of each of a plurality of business operations and a plurality of microservices that execute processes by the operation of the one or more operation steps are connected via one or more request paths, and collects test case information indicating the relationship between the content of each of the business operations and each of the operation steps; a use case association step in which the computer generates use case association information by associating a request path corresponding to each of the operation steps among the one or more request paths with the content of each of the business operations based on the test record information collected in the test log collection step and the test case information; A monitoring information acquisition step in which the computer acquires trace data indicating an execution result of each of the microservices as an execution result of the monitored software in a production environment; a business impact extent analysis step of determining whether or not an abnormality has occurred in any of the one or more request paths based on the trace data acquired in the monitoring information acquisition step, The computer includes: In the business impact scope analysis step, if it is determined that the abnormality has occurred on any of the request routes, the business impact scope presentation method refers to the use case association information based on the request route on which the abnormality occurred, and identifies the content of the business that is affected by the request route on which the abnormality occurred among the content of each of the business operations.
9. The method for presenting a business impact scope according to claim 8, The trace data is The processing time required for processing each request by each operation step or each microservice includes a processing time for each request on each request path, The computer includes: The business impact scope presentation method is characterized in that in the business impact scope analysis step, the trace data is referred to, the processing time of each request is compared with a set threshold value, and if the processing time of any request exceeds the threshold value, it is determined that the abnormality has occurred, and the request path of the request whose processing time exceeds the threshold value is analyzed as a request path in which the abnormality has occurred and which has not achieved a target value.
10. The method for presenting a business impact scope according to claim 9, The computer includes: The business impact scope presentation method is characterized in that in the business impact scope analysis step, by referring to the use case association information based on the request route that does not achieve the target value, all request routes including the request route that does not achieve the target value are extracted from the one or more request routes as request routes to be analyzed.
11. The method for presenting a business impact scope according to claim 10, The computer includes: The business impact scope analysis step determines whether or not the request route of the analysis target exists in the trace data, and if it is determined that the request route of the analysis target does not exist in the trace data, analyzes, among the contents of each business, the contents of the business related to the microservice connected to the request route of the analysis target as the contents of the business that may be affected by the request route of the analysis target, and if it is determined that the request route of the analysis target exists in the trace data, analyzes, among the contents of each business, the contents of the business related to the microservice connected to the request route of the analysis target as the contents of the business that may be affected by the request route of the analysis target.
12. The method for presenting a business impact scope according to claim 9, a display step of the computer displaying the components of the monitored software and adjusting the displayed content based on the analysis result in the business impact scope analysis step, The computer includes: A method for presenting the scope of business impact, characterized in that in the display step, the request path that has not reached the target value and the content of the business that is affected by the request path where the abnormality has occurred are highlighted and displayed among the components of the monitored software.
13. The method for presenting a business impact scope according to claim 11, a display step of the computer displaying the components of the monitored software and adjusting the displayed content based on the analysis result in the business impact scope analysis step, The computer includes: A method for presenting the scope of business impact, characterized in that in the display step, the contents of business operations that may be affected by the request path of the analysis target and the contents of business operations that are affected by the request path of the analysis target are highlighted and displayed among the components of the monitored software.
14. The method for presenting a business impact scope according to claim 8, an update information acquisition step in which the computer acquires update information including whether or not there is an update to the monitoring target software and whether or not there is an update to the use case association information, The computer includes: A method for presenting the scope of business impact, characterized in that in the update information acquisition step, on the condition that there is an update to the monitored software and the use case association information has not been updated, the test log collection step and the use case association step are instructed to perform update processing associated with the update.
Citation Information
Patent Citations
On-vehicle data update device
JP2018097764A
Information processing device and log reference program
JP2020198046A
Delay cause specifying method and delay cause specifying program
JP2021196970A
Analyzing tags associated with high-latency and error spans for instrumented software
US20200257680A1
Intelligent services and training agent for application dependency discovery, reporting, and management tool
US20200409822A1
