Processing

Please wait...

Settings

Settings

Goto Application

1. WO2020231427 - MICROSERVICES GRAPH GENERATION

Note: Text based on automatic Optical Character Recognition processes. Please use the PDF version for legal matters

[ EN ]

CLAIMS

1. A method, comprising:

generating nodes of a graph based on a plurality of logs from

microservices; and

generating edges of the graph based on a sequence of the plurality of logs.

2. The method of claim 1 , wherein each of the nodes corresponds to a global identifier of a respective log of the plurality of logs.

3. The method of claim 2, wherein the global identifier uniquely identifies a line of source code for the respective log in a source code repository for the microservices.

4. The method of claim 1 , wherein generating the edges comprises generating an edge between a first node that corresponds to a first log and a second node that corresponds to a second log that is next in the sequence following the first log.

5. The method of claim 1 , wherein each of the edges is associated with a counter.

6. The method of claim 5, wherein the counter records transitions for an edge.

7. The method of claim 1 , further comprising analyzing behavior of the microservices based on the graph.

8. The method of claim 7, wherein analyzing the behavior comprises performing statistical analysis based on the graph.

9. The method of claim 1 , wherein the plurality of logs comprises a period of log entries in a time-ordered log stream.

10. The method of claim 1 , wherein generating the nodes comprises:

for a log entry in a log stream, adding a node to the graph in response to determining that a global identifier of the log entry is not included in the graph.

11. The method of claim 1 , wherein generating the edges comprises:

in response to determining that the graph does not include an edge

between a previous node and a current node for a log entry in a log stream, adding an edge from the previous node to the current node; and

in response to determining that the graph includes an edge between the previous node and the current node, incrementing a counter for the edge.

12. An apparatus, comprising:

a memory;

a processor coupled to the memory, wherein the processor is to:

generate, by a plurality of microservices, a plurality of logs with a plurality of identifiers; and

generate nodes and edges of a graph structure based on the

plurality of logs with the plurality of identifiers.

13. The apparatus of claim 12, wherein each node of the graph structure corresponds to a unique identifier of the plurality of identifiers, and wherein each edge of the graph structure corresponds to a sequential transition between logs in the plurality of logs.

14. A non-transitory tangible computer-readable medium storing executable code, comprising:

code to cause a processor to add a node to a graph for each unique global identifier in a sequential set of log entries of a log stream from a plurality of microservices; and

code to cause the processor to add an edge to the graph for each unique sequential transition between log entries in the set of log entries.

15. The computer-readable medium of claim 14, further comprising code to cause the processor to count transitions for each edge of the graph.