A method and system for locating faults of metering microservices based on a call chain map
By constructing a dual contract graph for microservices, mapping actual runtime status parameters, and tracing abnormal nodes in reverse, the problem of high false alarm rate in fault location caused by lack of security isolation and compliance verification in existing technologies is solved, thereby improving the accuracy and consistency of fault location results.
Patent Information
- Application Number
- CN202611490254.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-23
- Publication Date
- 2026-11-27
AI Technical Summary
Existing fault location methods lack comprehensive consideration of the underlying network security isolation boundary and the physical-temporal causal law of abnormal events when constructing fault propagation topology and inferring root causes. This leads to the inclusion of invalid nodes in the candidate root cause set and the presence of pseudo-propagation edges in the propagation path, which reduces the accuracy and reliability of the location results.
Construct a dual contract graph for microservices, generate dynamic contract subgraphs by mapping actual runtime state parameters, trace abnormal nodes in reverse, filter candidate root cause sets based on causal relationships, determine whether they cross security domain isolation policies, and generate compliant fault location results.
Effectively eliminating false root cause nodes ensures the accuracy and consistency of location results, improves the efficiency of operation and maintenance troubleshooting, meets network partition boundaries and access control rules, and enhances the accuracy of fault location.
Smart Images

Figure CN123185058A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of operation and maintenance fault location technology, and more specifically, this application relates to a method and system for fault location of metering microservices based on call chain graph. Background Technology
[0002] Operational fault localization refers to the technical process of accurately identifying the root cause node of system anomalies in a distributed microservice architecture by analyzing system operation indicators and log data. This technology is widely used in high availability assurance and automated operation and maintenance scenarios in cloud computing, large-scale internet platforms, and enterprise-level data centers. Common implementation frameworks in this field typically include multi-dimensional data collection, anomaly detection, topology dependency construction, and root cause reasoning analysis. Operational fault localization can effectively shorten the mean time to recovery and reduce the cost of manual troubleshooting, making it a key supporting technology for ensuring business continuity and stable operation of complex distributed systems.
[0003] However, existing fault location methods typically rely solely on logical call relationships and indicator correlation analysis when constructing fault propagation topologies and inferring root causes, lacking a comprehensive consideration of underlying network security isolation boundaries and the physical-temporal causality of abnormal events. This makes it easy for the candidate root cause set to be mixed with invalid nodes that cannot actually interact due to network isolation, and the propagation links often contain pseudo-propagation edges that violate the time order. Consequently, the final location results contain numerous cross-domain false alarms and logically contradictory propagation paths, severely interfering with the investigation direction. This reduces the accuracy and reliability of fault location results in complex distributed systems facing cross-domain and cascading faults. Therefore, how to perform security isolation and compliance verification on candidate root cause nodes and fault propagation links to improve the accuracy of fault location results is a problem facing the industry. Summary of the Invention
[0004] This application provides a method and system for fault location of metering microservices based on call chain graphs, which can perform security isolation and compliance verification on candidate root cause nodes and fault propagation links to improve the accuracy of fault location results.
[0005] Firstly, this application provides a method for fault location in metering microservices based on call chain graphs, the method comprising the following steps: Construct a dual contract graph for microservices that includes microservice instance nodes and multi-dimensional environment constraint entities; The actual running status parameters of the microservice instance at the current moment are mapped to the microservice dual contract graph to mark the contract performance status, resulting in a dynamic contract subgraph. Based on the dynamic contract subgraph and the currently triggered microservice exception event, reverse tracing is performed along the contract edge starting from the exception microservice instance node to obtain the set of dual contract violation nodes. Based on the set of nodes that violate the dual contract, the resource default status and time-series default behavior of each node are screened for causal correlation to obtain a set of candidate root causes. Based on the environmental affiliation identifier of each node in the set of candidate root causes, it is determined whether the set of candidate root causes crosses the security domain isolation strategy. When it is confirmed that no path has been crossed, a fault location result containing the root cause node identifier and the effective propagation path is generated.
[0006] In this embodiment, mapping the actual running state parameters of the microservice instance at the current moment to the microservice dual contract graph for contract fulfillment status marking, resulting in a dynamic contract subgraph, specifically includes: The actual running status parameters are written into the attribute fields of the corresponding microservice instance node using the instance identifier as an index, thus completing the synchronous mapping between the static graph and the real-time running data. The request response delay value is compared with the execution time window to mark the status of the time-series contract edge, and the resource utilization rate is compared with the quota limit and written into the default flag field of the resource allocation edge. Extract the temporal contract edges of valid states, the resource allocation edges marked as true for default, the active competitive association edges, and the connecting nodes, and assemble them to obtain a dynamic contract subgraph.
[0007] In this embodiment, based on the dynamic contract subgraph and the currently triggered microservice exception event, reverse tracing is performed along the contract edge starting from the exception microservice instance node to obtain the set of double contract violation nodes, specifically including: Starting from the abnormal microservice instance node, a reverse traversal is performed along the temporal contract edge in the dynamic contract subgraph to obtain the temporal associated node set; For the set of temporally related nodes, continue to traverse in reverse along the resource allocation edge and the competition-related edge to extract the associated environmental constraint nodes and obtain the set of underlying constraint nodes; Based on the default status of the contract edges connected to each node in the dynamic contract subgraph of the temporally associated node set and the underlying constraint node set, the default mark of each node is determined; wherein, the default mark of the temporally associated node is determined according to the status of the temporally associated contract edge connected to it, and the default mark of the underlying constraint node is determined according to the default mark field of the resource allocation edge connected to it; nodes marked as true are extracted and aggregated to obtain a set of double contract violation nodes.
[0008] In this embodiment, based on the set of nodes that violate the dual contract, a causal correlation screening is performed on the resource default status and time-series default behavior of each node to obtain a candidate root cause set, which specifically includes: Extract the resource default nodes with resource default status and the time-series default nodes with time-series default behavior from the set of dual contract violation nodes, and construct a directed edge for default propagation based on the trigger time difference; For the directed edge of the default propagation, calculate the conditional trigger probability of the resource default state of the resource default node on the time-series default behavior of the time-series default node, and obtain the causal association weight. The causal association weights are compared with a preset causal threshold, and resource default nodes that are greater than the preset causal threshold are extracted as root cause nodes, and aggregated to generate a candidate root cause set.
[0009] In this embodiment, determining whether the candidate root cause set crosses the security domain isolation strategy based on the environment affiliation identifier of each node in the candidate root cause set specifically includes: Extract the environmental attribution identifier of each root cause node in the candidate root cause set, and determine the security domain identifier of each root cause node based on the security domain partitioning rule matched with the environmental attribution identifier. Obtain the security domain isolation policy corresponding to the security domain identifier, and extract the isolation boundary rules that restrict cross-domain interaction and the corresponding isolation domain identifier pairs from the security domain isolation policy; By comparing the security domain identifiers of each root cause node, if there is a root cause node that belongs to the isolation domain identifier pair, the candidate root cause set is determined to cross the security domain isolation strategy.
[0010] In this embodiment, generating a fault location result containing the root cause node identifier and the effective propagation path when it is confirmed that no path has been crossed specifically includes: When it is confirmed that the security domain isolation policy has not been crossed, the root cause node identifier of the candidate root cause set is extracted, and the breach propagation path from the root cause node to the abnormal microservice instance node is extracted from the dynamic contract subgraph. For the aforementioned default propagation path, verify the default flag field and trigger sequence of each contract edge on the path, and remove contract edges that satisfy either the default flag field being false or the inverted sequence being true, to obtain an effective propagation path; The root cause node identifier and the effective transmission path are structurally encapsulated to generate a fault location result containing the node identifier and the transmission path.
[0011] In this embodiment, for the default propagation path, the default flag field and triggering sequence of each contract edge on the path are verified, and contract edges that satisfy either the default flag field being false or the inverted sequence being true are removed. The resulting effective propagation path specifically includes: Extract the default flag field of each contract edge in the default propagation path and the abnormal trigger timestamp of the endpoint node, and calculate the timestamp difference between adjacent endpoint nodes to determine the time sequence inversion state; Remove contract edges in the default propagation path where the default flag field is false and the time-inverted state is true to obtain retained contract edges; starting from the root cause node and ending at the abnormal microservice instance node, perform path search along the retained contract edges in the dynamic contract subgraph to obtain an effective propagation path that is continuously connected by the retained contract edges and whose triggering time sequence is monotonically increasing.
[0012] Secondly, this application provides a metering microservice fault location system based on call chain graph, used to execute a metering microservice fault location method based on call chain graph, the system comprising: The building module is used to construct a microservice dual contract graph that includes microservice instance nodes and multi-dimensional environment constraint entities; The processing module is used to map the actual running status parameters of the microservice instance at the current moment to the microservice dual contract graph to mark the contract performance status, obtain a dynamic contract subgraph, and, based on the dynamic contract subgraph and the currently triggered microservice abnormal event, perform reverse tracing identification along the contract edge starting from the abnormal microservice instance node to obtain the set of dual contract violation nodes. The processing module is also used to perform causal correlation screening on the resource default status and time-series default behavior of each node based on the set of dual contract violation nodes to obtain a candidate root cause set, and to determine whether the candidate root cause set crosses the security domain isolation strategy based on the environmental affiliation identifier of each node in the candidate root cause set. The execution module is used to generate fault location results containing root cause node identifiers and valid propagation paths when it is confirmed that no crossover has occurred.
[0013] Thirdly, this application provides a computer device, the computer device including a memory and a processor, the memory for storing a computer program, and the processor for calling and running the computer program from the memory, so that the computer device executes the above-described method for fault location of metering microservices based on call chain graph.
[0014] Fourthly, this application provides a computer-readable storage medium storing instructions or code that, when executed on a computer, cause the computer to implement the aforementioned method for locating metering microservice faults based on a call chain graph.
[0015] The technical solutions provided by the embodiments disclosed in this application have the following beneficial effects: A microservice dual contract graph is constructed, comprising microservice instance nodes and multi-dimensional environment constraint entities. The actual running state parameters of the current microservice instance are mapped to the dual contract graph to mark contract fulfillment status, resulting in a dynamic contract subgraph. Based on the dynamic contract subgraph and the currently triggered microservice anomaly event, reverse tracing is performed along the contract edges, starting from the abnormal microservice instance node, to obtain a set of dual contract violation nodes. Based on the set of dual contract violation nodes, causal correlation is performed on the resource violation status and temporal violation behavior of each node to obtain a candidate root cause set. The environment affiliation identifier of each node in the candidate root cause set is used to determine whether the candidate root cause set crosses the security domain isolation policy. If it is confirmed that it has not crossed the policy, a fault location result containing the root cause node identifier and a valid propagation path is generated.
[0016] Therefore, this application generates a fault location result containing root cause node identifiers and valid propagation paths when it is confirmed that no crossover has occurred. Specifically, identifying the set of nodes violating both the service call contract and the data interaction contract simultaneously yields a precise set of candidate root cause nodes. This effectively eliminates pseudo-root cause nodes that only have a single-dimensional association but have not actually triggered a complete fault propagation mechanism. This overcomes the inherent defects of existing technologies, such as high candidate set redundancy and high false alarm rates due to the lack of multi-dimensional contract joint verification during the root cause screening stage. This improves the accuracy of root cause location in complex microservice cascading fault scenarios. Determining the security domain isolation strategy yields legitimate fault propagation topology constraints that conform to network partition boundaries and access control rules. This automatically filters invalid propagation paths that cross unreachable security boundaries during root cause reasoning. This overcomes the common deficiency of existing fault location methods that rely solely on logical call relationships while ignoring underlying network security isolation boundaries, resulting in location results containing physically unreachable links. This ensures consistency between fault location results and the actual network topology and substantially improves operational and maintenance troubleshooting efficiency.
[0017] In summary, the technical solution adopted in this application can perform security isolation and compliance verification of candidate root cause nodes and fault propagation links, thereby improving the accuracy of fault location results. Attached Figure Description
[0018] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only for this embodiment of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0019] Figure 1 This is an exemplary flowchart of a metering microservice fault location method based on call chain graph provided in this application; Figure 2 This is a flowchart illustrating the process for determining whether a security domain isolation strategy has been crossed, as provided in this application. Figure 3 This is a module structure diagram of a metering microservice fault location system based on a call chain graph, provided in this application. Figure 4 This is a schematic diagram of the structure of a computer device according to a method for locating metering microservice faults based on a call chain graph provided in this application. Detailed Implementation
[0020] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of this application.
[0021] This application provides a method and system for fault location of metering microservices based on call chain graphs. The core of this method is to construct a dual contract graph for microservices, including microservice instance nodes and multi-dimensional environmental constraint entities. The actual running status parameters of the current microservice instance are mapped to the dual contract graph to mark the contract fulfillment status, resulting in a dynamic contract subgraph. Based on the dynamic contract subgraph and the currently triggered microservice anomaly event, reverse tracing is performed along the contract edges, starting from the abnormal microservice instance node, to obtain a set of dual contract violation nodes. Based on the set of dual contract violation nodes, causal correlation is performed on the resource violation status and temporal violation behavior of each node to obtain a candidate root cause set. The environmental affiliation identifiers of each node in the candidate root cause set are used to determine whether the candidate root cause set crosses the security domain isolation policy. If it is confirmed that no cross-security domain isolation policy has been implemented, a fault location result containing the root cause node identifier and a valid propagation path is generated.
[0022] Example 1: To better understand the above technical solution, the following will provide a detailed description of the technical solution in conjunction with the accompanying drawings and specific implementation methods. (Refer to...) Figure 1 As shown in the figure, this is an exemplary flowchart of a metering microservice fault location method based on call chain graph according to this embodiment of the present application. The method includes the following steps: In step S1, a microservice dual contract graph containing microservice instance nodes and multidimensional environment constraint entities is constructed.
[0023] In practice, the process begins by obtaining service registry data and infrastructure configuration lists through the application programming interface (API). All currently running microservice instances are then parsed and extracted, and each microservice instance is instantiated as a microservice instance node. Simultaneously, the compute resource pool, persistent storage volume, and virtual network subnet configurations in the infrastructure configuration list are parsed and instantiated as multi-dimensional environment constraint entities. Next, based on the deployment mapping relationship between microservice instances and underlying resources, resource allocation contract edges are established between microservice instance nodes and their corresponding multi-dimensional environment constraint entities, with parameters such as the CPU quota limit and memory request limit written into the attribute fields of these edges. Then, based on the service mesh's traffic routing rules, the call topology between microservices is extracted. Timing-based interaction contract edges are established between microservice instance nodes with direct call relationships, with the maximum allowed response latency and timeout retry threshold written into the attribute fields of these edges. Finally, all nodes and the two types of contract edges are concatenated to generate a microservice dual contract graph.
[0024] It should be noted that, in this application, a microservice instance node refers to the graph representation of an independent running service instance in a microservice architecture that carries specific business logic processing and data interaction functions; a multidimensional environment constraint entity refers to the graph representation of infrastructure resources that exert underlying computing, storage and network environment constraints on the operation of microservices; and a microservice dual contract graph refers to the network topology structure of resource allocation contracts between microservices and environment entities and temporal interaction contracts between microservices.
[0025] In step S2, the actual running status parameters of the microservice instance at the current moment are mapped to the microservice dual contract graph to mark the contract performance status, resulting in a dynamic contract subgraph. Based on the dynamic contract subgraph and the currently triggered microservice abnormal event, reverse tracing is performed along the contract edge starting from the abnormal microservice instance node to obtain the set of dual contract violation nodes.
[0026] In this embodiment, mapping the actual running state parameters of the microservice instance at the current moment to the microservice dual contract graph for contract fulfillment status marking, and obtaining the dynamic contract subgraph, can be achieved through the following steps: The actual running status parameters are written into the attribute field of the corresponding microservice instance node using the instance identifier as an index, thus completing the synchronous mapping between the static graph and the real-time running data. The request response delay value is compared with the execution time window to mark the status of the time-series contract edge, and the resource utilization rate is compared with the quota limit and written into the default flag field of the resource allocation edge. Extract the temporal contract edges of valid states, the resource allocation edges marked as true for default, the active competitive association edges, and the connecting nodes, and assemble them to obtain a dynamic contract subgraph.
[0027] In practice, firstly, the actual running status parameters collected by the monitoring agent are obtained. Using the instance identifier as an index, the microservice instance node is matched in the microservice dual contract graph. The parameters are written into the attribute field of the microservice instance node and the timestamp is updated, completing the synchronous mapping between the static graph and the real-time running data. Next, the request response latency value is extracted, and its difference from the upper limit of the execution time window is calculated to mark the state of the temporal contract edge. Resource utilization is extracted; when the resource utilization rate is greater than the quota limit, the default flag field of the resource allocation edge is set to 1; otherwise, it is set to 0, completing the contract fulfillment status marking. Finally, edges with a temporal contract edge state of true and a default flag field of 1 are extracted. Microservice instances sharing the underlying physical host are identified to establish competing association edges. The associated connection nodes are extracted, and the above elements are assembled to obtain the dynamic contract subgraph.
[0028] It should be noted that, in this application, the microservice instance at the current moment refers to an independently running service instance in the microservice architecture that is executing business logic processing and data interaction at a specific sampling timestamp; the actual running status parameters refer to real-time indicators reflecting the CPU utilization, memory usage, and interface response time of the microservice instance at a specific sampling time; the contract fulfillment status flag refers to a Boolean identifier indicating whether the current running indicators of the microservice instance violate the pre-defined resource allocation or timing interaction contract agreement; the microservice instance node attribute field refers to the structured data unit in the microservice dual contract graph used to store the unique identifier and real-time running status parameters of the microservice instance; and the request response latency value refers to the actual time interval consumed by the microservice instance from receiving the upstream call request to returning the complete processing result. The quantitative value; the execution time window refers to the maximum time threshold allowed for a microservice instance to complete a single request processing as specified by the temporal interaction contract edge in the microservice dual contract graph; the temporal contract edge state refers to the Boolean judgment result of whether the actual call response time between microservice instances exceeds the range agreed upon by the execution time window; the default flag field refers to the Boolean identifier in the resource allocation contract edge in the microservice dual contract graph used to record whether the actual resource occupation exceeds the quota limit; the competition association edge refers to the virtual connection in the microservice dual contract graph that represents the mutual interference generated by different microservice instances due to sharing the same underlying physical host resources; the dynamic contract subgraph is a local network topology structure that reflects the actual default status, effective temporal interaction, and underlying resource competition relationship of microservice instances at a specific moment.
[0029] In this embodiment, based on the dynamic contract subgraph and the currently triggered microservice exception event, the set of double contract violation nodes can be obtained by reverse tracing and identification along the contract edge, starting from the exception microservice instance node: Starting from the abnormal microservice instance node, a reverse traversal is performed along the temporal contract edge in the dynamic contract subgraph to obtain the temporal associated node set; For the set of temporally related nodes, continue to traverse in reverse along the resource allocation edge and the competition-related edge to extract the associated environmental constraint nodes and obtain the set of underlying constraint nodes; Based on the default status of the contract edges connected to each node in the dynamic contract subgraph of the temporally associated node set and the underlying constraint node set, the default mark of each node is determined; wherein, the default mark of the temporally associated node is determined according to the status of the temporally associated contract edge connected to it, and the default mark of the underlying constraint node is determined according to the default mark field of the resource allocation edge connected to it; nodes marked as true are extracted and aggregated to obtain a set of double contract violation nodes.
[0030] In practice, the process begins by acquiring microservice exception events reported by the monitoring component and extracting instance identifiers to locate the abnormal microservice instance node. Starting from this node, a reverse depth-first search is performed along the temporal contract edges in the dynamic contract subgraph. During traversal, incoming edges of the current node are extracted, and target incoming edges of the temporal contract type are filtered to obtain their source nodes. Specifically, for temporally associated nodes, the state of the temporal contract edges connected to them is extracted. If a temporal contract edge with a default state exists, the temporal default flag of the associated node is set to true. For underlying constraint nodes, the default flag field of the resource allocation edges connected to them is extracted. If a resource allocation edge with a true default flag exists, the resource default flag of the underlying constraint node is set to true. Then, the two node sets are traversed, and the resource default flag and temporal default flag of each node are extracted. The logical OR operation result of the two is calculated. When the logical OR operation result is true, the node is determined to have a substantial default behavior and is added to the violation set. This process continues until all nodes have been verified, and finally, all nodes in the violation set are aggregated to obtain a double contract violation node set. Read the default flag field of each node in the time-series associated node set and the underlying constraint node set. Finally, traverse the two node sets, extract the resource default flag and time-series default flag from the attributes of each node, and calculate the logical OR operation result of the two. When the logical OR operation result is true, it is determined that the node has a substantial default behavior and is added to the violation set, until all nodes have been verified. Finally, aggregate all nodes in the violation set to obtain the double contract violation node set.
[0031] It should be noted that, in this application, a microservice anomaly event refers to a fault alarm signal that deviates from the normal service level agreement standard generated during the operation of a microservice instance; an abnormal microservice instance node refers to a node in the microservice dual contract graph that represents the specific microservice instance that currently triggers the microservice anomaly event; a contract edge refers to a directed connection edge in the microservice dual contract graph that represents the resource allocation constraint or temporal interaction constraint relationship between nodes; reverse tracing identification refers to the graph search process that starts from the abnormal node and traverses the directed edges in reverse to locate the upstream potential fault root cause node; and the temporal associated node set refers to the set of nodes that are associated with the abnormal node and are extracted by reverse traversing the temporal contract edges. The set of nodes that directly call time-dependent nodes; environment constraint nodes refer to multi-dimensional environment constraint entities in the microservice dual contract graph that represent underlying computational or network constraints on the operation of microservices; the set of underlying constraint nodes refers to the set of environment constraint nodes that have resource dependencies on upper-layer microservices, extracted by reverse traversal of resource class contract edges; the default flag field refers to the Boolean data identifier in the contract edge used to record whether the actual running state violates the preset contract threshold, and the default flag of a node is determined according to the default status of the contract edge it is connected to; the set of dual contract violation nodes refers to the set of nodes that have substantial default behavior in resource allocation or time-series interaction, aggregated after the default flag verification.
[0032] In step S3, based on the set of nodes that violate the dual contract, the resource default status and time-series default behavior of each node are screened for causal correlation to obtain a set of candidate root causes. Based on the environmental affiliation identifier of each node in the set of candidate root causes, it is determined whether the set of candidate root causes crosses the security domain isolation policy.
[0033] In this embodiment, the causal correlation screening of the resource default status and temporal default behavior of each node based on the set of nodes that violate the dual contract can be achieved by the following steps: Extract the resource default nodes with resource default status and the time-series default nodes with time-series default behavior from the set of dual contract violation nodes, and construct a directed edge for default propagation based on the trigger time difference; For the directed edge of the default propagation, calculate the conditional trigger probability of the resource default state of the resource default node on the time-series default behavior of the time-series default node, and obtain the causal association weight. The causal association weights are compared with a preset causal threshold, and resource default nodes that are greater than the preset causal threshold are extracted as root cause nodes, and aggregated to generate a candidate root cause set.
[0034] In specific implementation, firstly, resource default nodes with resource default states and time-series default nodes with time-series default behaviors are extracted from the set of dual contract violation nodes. The first anomaly trigger timestamp of the resource default node and the second anomaly trigger timestamp of the time-series default node are read. The difference between the second and first anomaly trigger timestamps is calculated to obtain the trigger time difference. When the trigger time difference is greater than 0 and less than a preset causal time window threshold, a default propagation directed edge is constructed, starting from the resource default node and ending at the time-series default node. The preset causal time window threshold is determined statistically based on the maximum time interval between anomaly outbreaks of upstream and downstream nodes in historical fault work orders, with a value range of 50 milliseconds to 500 milliseconds. Then, for the default propagation directed edge, the first historical sample set of resource default nodes exhibiting resource default states and the second historical sample set of time-series default nodes exhibiting time-series default behaviors are extracted from the historical operation logs. The number of intersection samples of the first and second historical sample sets is calculated, and the number of intersection samples is divided by the total number of samples in the first historical sample set to obtain the conditional trigger probability. The conditional trigger probability is directly assigned to the default propagation directed edge to obtain the causal association weight. The formula for calculating the probability of conditional triggering is expressed as follows: ,in, This represents the probability of a condition being triggered. Represents the number of samples in the intersection. This represents the total number of samples in the first historical sample set. Finally, the causal association weights of the directed edges in the default propagation are read and compared with a preset causal threshold. The preset causal threshold is determined based on the background noise trigger probability statistics under the historical normal operation of the microservice system, and its value range is set to 0.6 to 0.9. When the causal association weight is greater than the preset causal threshold, the resource default node corresponding to the starting point of the directed edge in the default propagation is extracted as the root cause node. After traversing all directed edges in the default propagation and completing the comparison, all extracted root cause nodes are deduplicated and aggregated to generate a candidate root cause set.
[0035] It should be noted that in this application, "resource default state" refers to an abnormal operational situation where the actual underlying computing resources occupied by a microservice instance exceed the agreed quota limit in the microservice dual contract graph; "time-sequence default behavior" refers to an abnormal situation where the actual response time of a microservice instance in processing a single request exceeds the agreed time window in the microservice dual contract graph; "causal correlation screening" refers to a logical filtering process that eliminates false causal relationships based on trigger time difference and condition trigger probability to extract the real fault-driving node; "resource default state" refers to a specific microservice instance node or multi-dimensional environmental constraint entity marked as having a resource default state in the dual contract violation node set; "resource default node" refers to a specific microservice instance node marked as having a time-sequence default behavior in the dual contract violation node set; and "default propagation directed edge" refers to... This refers to a directed connection between a resource default node and a downstream time-series default node that has a potential fault propagation relationship with a temporal sequence; the conditional trigger probability refers to the historical statistical conditional probability value of causing the downstream time-series default behavior to occur simultaneously when the upstream resource default state occurs; the causal association weight refers to the probability value assigned to the directed edge of the default propagation and used to quantify the driving strength of the upstream resource default on the downstream time-series default; the preset causal threshold refers to the probability lower limit determined based on the historical normal operation background noise trigger probability statistics of the system to determine the validity of the causal association; the root cause node refers to the source resource default node whose causal association weight is greater than the preset causal threshold and is determined to be the source resource default behavior that causes the downstream time-series default behavior; the candidate root cause set refers to the set of nodes that have the potential root cause attributes to cause microservice abnormal events after causal association screening and deduplication aggregation.
[0036] Preferably, in this embodiment, the determination of whether the candidate root cause set crosses the security domain isolation strategy is based on the environment affiliation identifier of each node in the candidate root cause set, with reference to... Figure 2 As shown in the figure, this is a flowchart illustrating the process of determining whether a security domain isolation policy has been crossed in some embodiments of this application. In this embodiment, the determination of whether a security domain isolation policy has been crossed can be achieved using the following steps: In step S31, the environmental attribution identifier of each root cause node in the candidate root cause set is extracted, and the security domain identifier of each root cause node is determined according to the security domain partitioning rule based on the environmental attribution identifier. In step S32, the security domain isolation policy corresponding to the security domain identifier is obtained, and the isolation boundary rules that restrict cross-domain interaction and the corresponding isolation domain identifier pairs in the security domain isolation policy are extracted. In step S33, the security domain identifiers of each root cause node are compared. When there is a root cause node that belongs to the isolation domain identifier pair, the candidate root cause set is determined to cross the security domain isolation strategy.
[0037] In specific implementation, firstly, the candidate root cause set is traversed, and the environment attribution identifier in the attribute field of each root cause node is read. The environment attribution identifier includes the Virtual Private Cloud number and the subnet segment address. The environment attribution identifier is then matched precisely with the security domain partitioning rules. These security domain partitioning rules are pre-configured in the global configuration center according to network security level protection standards and include a mapping dictionary from network segment addresses to security domain names. When the environment attribution identifier matches a specific network segment address in the security domain partitioning rule, the corresponding security domain name is extracted and assigned to the root cause node, thus determining the security domain identifier of each root cause node. Then, using the security domain identifier as the query primary key, the corresponding security domain isolation policy is retrieved from the security policy database. This security domain isolation policy is pre-set according to the zero-trust network architecture principle. The access control list in the security domain isolation policy is parsed, and entries with the action field set to "deny access" are selected. These entries are extracted as isolation boundary rules that restrict cross-domain interaction. The source security domain field and the destination security domain field in the isolation boundary rules are read and combined to generate corresponding isolation domain identifier pairs. Finally, the security domain identifiers of all root cause nodes in the candidate root cause set are extracted to construct the security domain identifier set of the current candidate root cause set. All isolation domain identifier pairs generated in step S32 are traversed, and a subset inclusion relationship check is performed between the two identifiers in each isolation domain identifier pair and the security domain identifier set. When the security domain identifier set contains both identifiers from the isolation domain identifier pair, it is determined that a root cause node belonging to that isolation domain identifier pair exists, and a Boolean value of true is output as a crossing determination result, thereby determining the crossing security domain isolation strategy for the candidate root cause set.
[0038] It should be noted that, in this application, the environment attribution identifier refers to the unique string identifier of the underlying virtual network number and subnet address deployed by the microservice instance; the security domain partitioning rule refers to the dictionary pre-configured according to network security standards that maps the underlying network segment address to the logical security domain name; the security domain identifier refers to the string identifier of the logical security zone to which the microservice instance belongs and is used as the primary key for querying in security policy matching; the security domain isolation policy refers to the set of policies pre-set based on the zero-trust architecture for managing network access permissions between different logical security zones; the isolation boundary rule refers to the policy entries in the access control list of the security domain isolation policy whose action field is "deny access" to limit cross-domain interaction; and the isolation domain identifier pair refers to the combination of the source security domain and the destination security domain extracted from the isolation boundary rule, which are domain identifiers that prohibit mutual interaction.
[0039] In step S4, when it is confirmed that no crossover has occurred, a fault location result containing the root cause node identifier and the effective propagation path is generated.
[0040] In this embodiment, generating a fault location result containing the root cause node identifier and the effective propagation path when it is confirmed that no path has been crossed can be achieved by the following steps: When it is confirmed that the security domain isolation policy has not been crossed, the root cause node identifier of the candidate root cause set is extracted, and the breach propagation path from the root cause node to the abnormal microservice instance node is extracted from the dynamic contract subgraph. For the aforementioned default propagation path, verify the default flag field and trigger sequence of each contract edge on the path, and remove contract edges that satisfy either the default flag field being false or the inverted sequence being true, to obtain an effective propagation path; The root cause node identifier and the effective transmission path are structurally encapsulated to generate a fault location result that includes the node identifier and the transmission path.
[0041] In specific implementation, firstly, the security domain isolation policy crossing judgment result is read. If the crossing judgment result is false, it is confirmed that the security domain isolation policy has not been crossed. The candidate root cause set is traversed, and the root cause node identifier of each root cause node is extracted. Starting from the root cause node identifier and ending at the abnormal microservice instance node identifier, a depth-first search algorithm is executed in the dynamic contract subgraph to extract the breach propagation path. The maximum search depth parameter of the depth-first search algorithm is determined based on the average number of node hops in the historical normal call chain of the microservice system, and the value range is set to 3 to 15. When the search reaches the abnormal microservice instance node identifier, the currently traversed node sequence and contract edge sequence are recorded, and aggregated to generate the breach propagation path. Then, all contract edges included in the breach propagation path are traversed, and the breach mark field of each contract edge and the abnormal trigger timestamps of the source node and target node of the contract edge are read. The difference between the abnormal trigger timestamp of the target node and the abnormal trigger timestamp of the source node is calculated to obtain the trigger timing difference. The formula for calculating the trigger timing difference is expressed as: , in the formula Represents the trigger timing difference. This represents the timestamp when the target node's anomaly was triggered. This represents the timestamp of the source node's abnormal trigger. When the trigger timing difference is less than 0, the current contract edge is determined to be in reverse timing and is removed from the breach propagation path. When the trigger timing difference is greater than or equal to 0 and the breach flag field is true, the current contract edge is retained, and the retained contract edge sequence after filtering forms a valid propagation path. Finally, the root cause node identifier and the node identifiers and contract edge identifiers contained in the valid propagation path are read. The root cause node identifier, the node identifier sequence of the valid propagation path, and the contract edge identifier sequence of the valid propagation path are structurally encapsulated according to a preset JavaScript object representation format to generate a fault location result containing node identifiers and propagation paths. The field structure of the JavaScript object representation format is predefined according to the standardized data access interface specification of the microservice system operation and maintenance management platform to ensure that the encapsulated data can be directly parsed and rendered by downstream visualization components.
[0042] It should be noted that, in this application, the root cause node identifier refers to the unique string identity code of the source node that is determined to have caused the microservice abnormal event; the effective propagation path refers to the sequence of real fault propagation edges that conform to the physical time causality law after removing the temporally inverted contract edges; the breach propagation path refers to the potential fault propagation nodes and edge sequences that connect the root cause node and the abnormal microservice instance node in the dynamic contract subgraph; and the fault location result refers to the structured data object that contains the root cause node identifier and the effective propagation path and is used to guide the operation and maintenance personnel to troubleshoot and repair.
[0043] Furthermore, in this embodiment, for the breach propagation path, verifying the breach mark field and triggering sequence of each contract edge on the path, and eliminating contract edges that satisfy either the breach mark field being false or the inverted sequence being true, the effective propagation path can be obtained by the following steps: Extract the default flag field of each contract edge in the default propagation path and the abnormal trigger timestamp of the endpoint node, and calculate the timestamp difference between adjacent endpoint nodes to determine the time sequence inversion state; Remove contract edges in the default propagation path where the default flag field is false and the time-inverted state is true to obtain retained contract edges; starting from the root cause node and ending at the abnormal microservice instance node, perform path search along the retained contract edges in the dynamic contract subgraph to obtain an effective propagation path that is continuously connected by the retained contract edges and whose triggering time sequence is monotonically increasing.
[0044] In practice, firstly, all contract edges included in the default propagation path are traversed, and the default flag field in the attributes of each contract edge is read. Simultaneously, the abnormal trigger timestamps of the source and destination endpoints of the contract edge are extracted. The difference between the abnormal trigger timestamp of the destination endpoint and the abnormal trigger timestamp of the source endpoint is calculated to obtain the timestamp difference. The formula for calculating this timestamp difference is as follows: , in the formula Represents the difference in timestamps. This represents the timestamp when the destination endpoint node was triggered by an anomaly. This represents the timestamp of the abnormal trigger at the source endpoint node. When the difference in timestamps is less than 0, the contract edge is determined to be in a time-reversed state; when the difference in timestamps is greater than or equal to 0, the contract edge is determined to be in a time-normal state. Then, all contract edges that have completed state determination in the breach propagation path are traversed, and contract edges whose breach flag field is false or whose time-reversed state is true are filtered out and removed to obtain a set of retained contract edges. Starting from the root cause node and ending at the abnormal microservice instance node, a path search is performed along the set of retained contract edges in the dynamic contract subgraph, and paths that are continuously connected by retained contract edges and whose trigger times are monotonically increasing are extracted as valid propagation paths. Specifically, starting from the root cause node, the contract edge belonging to the set of retained contract edges and whose abnormal trigger timestamp of the destination endpoint node is not less than the abnormal trigger timestamp of the source endpoint node is searched hop by hop in the dynamic contract subgraph until the abnormal microservice instance node is reached; if there are multiple candidate paths, the path with monotonically increasing trigger timestamps and the fewest node hops is selected as the valid propagation path. The time complexity of this path search depends on the size of the set of contract edges to be preserved. Using depth-first search or breadth-first search algorithms ensures search efficiency in large-scale node scenarios.
[0045] It should be noted that, in this application, the time-inverted state refers to the abnormal situation where the endpoint node of the contract edge triggers abnormally earlier than the source endpoint node, thus violating the physical time causality law; the effective transmission path reconstruction refers to the operation of searching in the dynamic contract subgraph for a path from the root cause node to the abnormal microservice instance node, which is continuously connected by the retained contract edge and whose triggering time is monotonically increasing, using the retained contract edge obtained after removing the contract edge whose default flag field is false or whose time-inverted state is true as a constraint.
[0046] Therefore, this application generates a fault location result containing root cause node identifiers and valid propagation paths when it is confirmed that no crossover has occurred. Specifically, identifying the set of nodes violating both the service call contract and the data interaction contract simultaneously yields a precise set of candidate root cause nodes. This effectively eliminates pseudo-root cause nodes that only have a single-dimensional association but have not actually triggered a complete fault propagation mechanism. This overcomes the inherent defects of existing technologies, such as high candidate set redundancy and high false alarm rates due to the lack of multi-dimensional contract joint verification during the root cause screening stage. This improves the accuracy of root cause location in complex microservice cascading fault scenarios. Determining the security domain isolation strategy yields legitimate fault propagation topology constraints that conform to network partition boundaries and access control rules. This automatically filters invalid propagation paths that cross unreachable security boundaries during root cause reasoning. This overcomes the common deficiency of existing fault location methods that rely solely on logical call relationships while ignoring underlying network security isolation boundaries, resulting in location results containing physically unreachable links. This ensures consistency between fault location results and the actual network topology and substantially improves operational and maintenance troubleshooting efficiency.
[0047] In summary, the technical solution adopted in this application can perform security isolation and compliance verification of candidate root cause nodes and fault propagation links, thereby improving the accuracy of fault location results.
[0048] Example 2: This application provides a metering microservice fault location system based on call chain graph, referencing... Figure 3 As shown in the figure, this is a module structure diagram of a metering microservice fault location system based on call chain graph according to this embodiment of the present application. The system includes: Module 100 is used to construct a microservice dual contract graph that includes microservice instance nodes and multi-dimensional environment constraint entities; Processing module 200 is used to map the actual running status parameters of the microservice instance at the current moment to the microservice dual contract graph to mark the contract performance status, obtain a dynamic contract subgraph, and, based on the dynamic contract subgraph and the currently triggered microservice abnormal event, perform reverse tracing identification along the contract edge starting from the abnormal microservice instance node to obtain a set of dual contract violation nodes. The processing module 200 is further configured to perform causal correlation screening on the resource default status and time-series default behavior of each node based on the set of dual contract violation nodes, to obtain a candidate root cause set, and to determine whether the candidate root cause set crosses the security domain isolation strategy based on the environmental affiliation identifier of each node in the candidate root cause set. The execution module 300 is used to generate fault location results containing root cause node identifiers and valid propagation paths when it is confirmed that no crossover has occurred.
[0049] The foregoing detailed an example of a metering microservice fault location method based on call chain graphs provided in this application. It is understood that the corresponding apparatus, in order to achieve the above functions, includes hardware structures and / or software modules corresponding to the execution of each function. Those skilled in the art should readily recognize that, based on the units and algorithm steps of the examples described in conjunction with the embodiments disclosed herein, this application can be implemented in hardware or a combination of hardware and computer software. Whether a function is executed in hardware or by computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0050] In some embodiments, this application also provides a computer device, the computer device including a memory and a processor, the memory for storing a computer program, and the processor for calling and running the computer program from the memory, so that the computer device executes the above-described method for fault location of metering microservices based on call chain graph.
[0051] In some embodiments, reference Figure 4 The dashed lines in the figure indicate that the unit or module is optional. This figure is a structural schematic diagram of a computer device implementing a call chain graph-based metering microservice fault location method according to an embodiment of this application. The call chain graph-based metering microservice fault location method described in the above embodiment can... Figure 4 The computer device shown is used to implement this, and the computer device includes at least one processor 301, a memory 302 and at least one communication unit 305. The computer device may be a terminal device, a server or a chip.
[0052] Processor 301 can be a general-purpose processor or a special-purpose processor. For example, processor 301 can be a central processing unit (CPU), which can be used to control computer devices, execute software programs, and process data from software programs. The computer device may also include a communication unit 305 for inputting (receiving) and outputting (transmitting) signals.
[0053] For example, the computer device may be a chip, and the communication unit 305 may be the input and / or output circuit of the chip, or the communication unit 305 may be the communication interface of the chip, which may be a component of a terminal device, network device or other device.
[0054] For example, the computer device may be a terminal device or a server, and the communication unit 305 may be a transceiver of the terminal device or the server, or the communication unit 305 may be a transceiver circuit of the terminal device or the server.
[0055] The computer device may include one or more memories 302 storing a program 304. The program 304 can be executed by a processor 301 to generate instructions 303, causing the processor 301 to execute the method described in the above method embodiments according to the instructions 303. Optionally, the memory 302 may also store data (such as a target audit model). Optionally, the processor 301 may also read data stored in the memory 302, which may be stored at the same storage address as the program 304, or it may be stored at a different storage address than the program 304.
[0056] The processor 301 and memory 302 can be configured separately or integrated together, for example, integrated on the system on chip (SOC) of the terminal device.
[0057] It should be understood that each step of the above method embodiment can be completed by hardware logic circuits or software instructions in the processor 301. The processor 301 can be a CPU, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, such as discrete gate, transistor logic devices, or discrete hardware components.
[0058] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0059] For example, in some embodiments, this application also provides a computer-readable storage medium storing instructions or code that, when executed on a computer, cause the computer to implement the above-described method for fault location of metering microservices based on call chain graphs.
[0060] Although preferred embodiments of this application have been described, those skilled in the art, upon learning the basic inventive concept, can make other changes and modifications to these embodiments. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments as well as all changes and modifications falling within the scope of this application.
[0061] Obviously, those skilled in the art can make various modifications and variations to this application without departing from the spirit and scope of this application. Therefore, if such modifications and variations fall within the scope of the claims of this application and their equivalents, this application also intends to include such modifications and variations.
Claims
1. A method for fault location in metering microservices based on call chain graphs, characterized in that, The method includes: Construct a dual contract graph for microservices that includes microservice instance nodes and multi-dimensional environment constraint entities; The actual running status parameters of the microservice instance at the current moment are mapped to the microservice dual contract graph to mark the contract performance status, resulting in a dynamic contract subgraph. Based on the dynamic contract subgraph and the currently triggered microservice exception event, reverse tracing is performed along the contract edge starting from the exception microservice instance node to obtain the set of dual contract violation nodes. Based on the set of nodes that violate the dual contract, the resource default status and time-series default behavior of each node are screened for causal correlation to obtain a set of candidate root causes. Based on the environmental affiliation identifier of each node in the set of candidate root causes, it is determined whether the set of candidate root causes crosses the security domain isolation strategy. When it is confirmed that no path has been crossed, a fault location result containing the root cause node identifier and the effective propagation path is generated.
2. The metering microservice fault location method based on call chain graph as described in claim 1, characterized in that, Mapping the actual running state parameters of the microservice instance at the current moment to the microservice dual contract graph for contract fulfillment status marking, resulting in a dynamic contract subgraph, specifically includes: The actual running status parameters are written into the attribute field of the corresponding microservice instance node using the instance identifier as an index, thus completing the synchronous mapping between the static graph and the real-time running data. The request response delay value is compared with the execution time window to mark the status of the time-series contract edge, and the resource utilization rate is compared with the quota limit and written into the default flag field of the resource allocation edge. Extract the temporal contract edges of valid states, the resource allocation edges marked as true for default, the active competitive association edges, and the connecting nodes, and assemble them to obtain a dynamic contract subgraph.
3. The metering microservice fault location method based on call chain graph as described in claim 1, characterized in that, Based on the dynamic contract subgraph and the currently triggered microservice exception event, reverse tracing is performed along the contract edge starting from the exception microservice instance node to obtain the set of double contract violation nodes, specifically including: Starting from the abnormal microservice instance node, a reverse traversal is performed along the temporal contract edge in the dynamic contract subgraph to obtain the temporal associated node set; For the set of temporally related nodes, continue to traverse in reverse along the resource allocation edge and the competition-related edge to extract the associated environmental constraint nodes and obtain the set of underlying constraint nodes; Based on the default status of the contract edges connected to each node in the dynamic contract subgraph of the temporally associated node set and the underlying constraint node set, the default mark of each node is determined; wherein, the default mark of the temporally associated node is determined according to the status of the temporally associated contract edge connected to it, and the default mark of the underlying constraint node is determined according to the default mark field of the resource allocation edge connected to it; nodes marked as true are extracted and aggregated to obtain a set of double contract violation nodes.
4. The metering microservice fault location method based on call chain graph as described in claim 1, characterized in that, Based on the aforementioned set of nodes violating the dual contract, a causal correlation screening is performed on the resource default status and time-series default behavior of each node to obtain the candidate root cause set, which specifically includes: Extract the resource default nodes with resource default status and the time-series default nodes with time-series default behavior from the set of dual contract violation nodes, and construct a directed edge for default propagation based on the trigger time difference; For the directed edge of the default propagation, calculate the conditional trigger probability of the resource default state of the resource default node on the time-series default behavior of the time-series default node, and obtain the causal association weight. The causal association weights are compared with a preset causal threshold, and resource default nodes that are greater than the preset causal threshold are extracted as root cause nodes, and aggregated to generate a candidate root cause set.
5. The metering microservice fault location method based on call chain graph as described in claim 1, characterized in that, The strategy for determining whether the candidate root cause set crosses a security domain isolation strategy based on the environment affiliation identifier of each node in the candidate root cause set specifically includes: Extract the environmental affiliation identifier of each root cause node in the candidate root cause set, and determine the security domain identifier of each root cause node based on the security domain partitioning rule matched with the environmental affiliation identifier. Obtain the security domain isolation policy corresponding to the security domain identifier, and extract the isolation boundary rules that restrict cross-domain interaction and the corresponding isolation domain identifier pairs from the security domain isolation policy; By comparing the security domain identifiers of each root cause node, if there is a root cause node that belongs to the isolation domain identifier pair, the candidate root cause set is determined to cross the security domain isolation strategy.
6. The metering microservice fault location method based on call chain graph as described in claim 1, characterized in that, When it is confirmed that no path has been crossed, the fault location result, which includes the root cause node identifier and the effective propagation path, is generated. Specifically, this includes: When it is confirmed that the security domain isolation policy has not been crossed, the root cause node identifier of the candidate root cause set is extracted, and the breach propagation path from the root cause node to the abnormal microservice instance node is extracted from the dynamic contract subgraph. For the aforementioned default propagation path, verify the default flag field and trigger sequence of each contract edge on the path, and remove contract edges that satisfy either the default flag field being false or the inverted sequence being true, to obtain an effective propagation path; The root cause node identifier and the effective transmission path are structurally encapsulated to generate a fault location result that includes the node identifier and the transmission path.
7. The metering microservice fault location method based on call chain graph as described in claim 6, characterized in that, For the aforementioned default propagation path, the default flag field and triggering sequence of each contract edge on the path are verified. Contract edges that satisfy either the default flag field being false or the inverted sequence being true are removed. The resulting effective propagation path specifically includes: Extract the default flag field of each contract edge in the default propagation path and the abnormal trigger timestamp of the endpoint node, and calculate the timestamp difference between adjacent endpoint nodes to determine the time sequence inversion state; Remove contract edges in the default propagation path where the default flag field is false and the time-inverted state is true to obtain retained contract edges; starting from the root cause node and ending at the abnormal microservice instance node, perform path search along the retained contract edges in the dynamic contract subgraph to obtain an effective propagation path that is continuously connected by the retained contract edges and whose triggering time sequence is monotonically increasing.
8. A metering microservice fault location system based on call chain graph, used to execute a metering microservice fault location method based on call chain graph as described in any one of claims 1 to 7, characterized in that, The system includes: The building module is used to construct a microservice dual contract graph that includes microservice instance nodes and multi-dimensional environment constraint entities; The processing module is used to map the actual running status parameters of the microservice instance at the current moment to the microservice dual contract graph to mark the contract performance status, obtain a dynamic contract subgraph, and, based on the dynamic contract subgraph and the currently triggered microservice abnormal event, perform reverse tracing identification along the contract edge starting from the abnormal microservice instance node to obtain the set of dual contract violation nodes. The processing module is also used to perform causal correlation screening on the resource default status and time-series default behavior of each node based on the set of dual contract violation nodes to obtain a candidate root cause set, and to determine whether the candidate root cause set crosses the security domain isolation strategy based on the environmental affiliation identifier of each node in the candidate root cause set. The execution module is used to generate fault location results containing root cause node identifiers and valid propagation paths when it is confirmed that no crossover has occurred.
9. A computer device, characterized in that, The computer device includes a memory and a processor. The memory is used to store computer programs, and the processor is used to call and run the computer programs from the memory, so that the computer device executes the metering microservice fault location method based on call chain graph as described in any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores instructions or code that, when executed on a computer, cause the computer to implement, as described in any one of claims 1 to 7, a metering microservice fault location method based on a call chain graph.
