Predicting defects in software systems hosted in cloud infrastructures
AssigneeHybris AG
InventorAhmad Hassan
Life of this patent
Estimating the term…
Abstract
Methods, systems, and computer-readable storage media for detecting a source of a defect in microservice-based applications, implementations including receiving at least one error log, the at least one error log including event data associated with at least one microservice in a set of microservices hosted on a cloud infrastructure, determining, for each microservice in the set of microservices, and for each type of defect in a set of types of defects, a probability that a respective microservice has a respective type of defect, and executing at least one action based on a probability indicating that a microservice of the set of microservices has a type of defect.
Claims20
A computer-implemented method for detecting a source of a defect in microservice-based applications, the method being executed by one or more processors and comprising:
- receiving, by the one or more processors, at least one error log, the at least one error log comprising event data associated with at least one microservice in a set of microservices hosted on a cloud infrastructure;
- determining, by the one or more processors, for each microservice in the set of microservices, and for each type of defect in a set of types of defects, a probability P that a respective microservice has a respective type of defect based on:
- P
-
- (
- A
- i
- ,
- j
- |
- B
- =
- yes
- i
- ,
- j
- )
- =
- P
-
- (
- B
- =
- yes
- i
- ,
- j
- |
- A
- i
- ,
- j
- )
- *
- P
-
- (
- A
- i
- ,
- j
- )
- ∑
- i
- =
- 1
- n
-
- P
-
- (
- A
- i
- ,
- j
- |
- B
- =
- yes
- i
- ,
- j
- )
- *
- P
-
- (
- A
- i
- ,
- j
- )
- where A is microservice in the set of microservices, and B is a discrete random variable representing defect types in microservices;
- and
- executing, by the one or more processors, at least one action based on a probability indicating that a microservice of the set of microservices has a type of defect.
A non-transitory computer-readable storage medium coupled to one or more processors and having instructions stored thereon which, when executed by the one or more processors, cause the one or more processors to perform operations for detecting a source of a defect in microservice-based applications, the operations comprising:
- receiving at least one error log, the at least one error log comprising event data associated with at least one microservice in a set of microservices hosted on a cloud infrastructure;
- determining, for each microservice in the set of microservices, and for each type of defect in a set of types of defects, a probability P that a respective microservice has a respective type of defect based on:
- P
-
- (
- A
- i
- ,
- j
- |
- B
- =
- yes
- i
- ,
- j
- )
- =
- P
-
- (
- B
- =
- yes
- i
- ,
- j
- |
- A
- i
- ,
- j
- )
- *
- P
-
- (
- A
- i
- ,
- j
- )
- ∑
- i
- =
- 1
- n
-
- P
-
- (
- A
- i
- ,
- j
- |
- B
- =
- yes
- i
- ,
- j
- )
- *
- P
-
- (
- A
- i
- ,
- j
- )
- where A is microservice in the set of microservices, and B is a discrete random variable representing defect types in microservices;
- and
- executing at least one action based on a probability indicating that a microservice of the set of microservices has a type of defect.
A system, comprising:
- a computing device;
- and
- a computer-readable storage device coupled to the computing device and having instructions stored thereon which, when executed by the computing device, cause the computing device to perform operations for detecting a source of a defect in microservice-based applications, the operations comprising:
- receiving at least one error log, the at least one error log comprising event data associated with at least one microservice in a set of microservices hosted on a cloud infrastructure;
- determining, for each microservice in the set of microservices, and for each type of defect in a set of types of defects, a probability P that a respective microservice has a respective type of defect based on:
- P
-
- (
- A
- i
- ,
- j
- |
- B
- =
- yes
- i
- ,
- j
- )
- =
- P
-
- (
- B
- =
- yes
- i
- ,
- j
- |
- A
- i
- ,
- j
- )
- *
- P
-
- (
- A
- i
- ,
- j
- )
- ∑
- i
- =
- 1
- n
-
- P
-
- (
- A
- i
- ,
- j
- |
- B
- =
- yes
- i
- ,
- j
- )
- *
- P
-
- (
- A
- i
- ,
- j
- )
- where A is microservice in the set of microservices, and B is a discrete random variable representing defect types in microservices;
- and
- executing at least one action based on a probability indicating that a microservice of the set of microservices has a type of defect.
Dependencies are inferred from the claim text.