Deriving dependency information from tracing data
AssigneeRed Hat, Inc.
InventorGary Peter Brown
Life of this patent
Estimating the term…
Abstract
Methods, systems, and computer program products are included for performing tracing in a distributed environment. An example method includes determining that a first span corresponds to a client span kind and that a second span corresponds to a server span kind. The first span is cached in association with a span identifier. An identifier associated with the second span is matched to the span identifier associated with the first span. Based on the matching, dependency information is generated corresponding to the first span and the second span.
Claims20
A server cluster system comprising:
- a non-transitory memory;
- and
- one or more hardware processors coupled to the non-transitory memory to execute instructions from the non-transitory memory to perform operations comprising:
- determining, by a span collector, that a first span from a client computing device has a client span kind and that a second span from a server computing device has a server span kind;
- providing, by the span collector, the first span and the second span to at least one dependency processor of one or more dependency processors;
- caching, in a span cache, the first span in association with a span identifier;
- matching, by the at least one dependency processor, an identifier associated with the second span to the span identifier associated with the first span;
- and
- based on the matching by the at least one dependency processor, generating dependency information corresponding to the first span and the second span.
A computer-implemented method comprising:
- receiving a first span and parsing the first span to determine that the first span has a client span kind;
- providing the first span to at least one dependency processor of one or more dependency processors;
- caching, by the at least one dependency processor, the first span in association with a span identifier;
- after caching the first span, receiving a second span and parsing the second span to determine that the second span has a server span kind;
- providing the second span to a dependency processor of the one or more dependency processors;
- matching a parent identifier of the second span to the span identifier associated with the first span;
- and
- generating, based on the matching, dependency information corresponding to the first span and the second span.
A non-transitory machine-readable medium having stored thereon machine-readable instructions executable to cause at least one machine to perform operations comprising:
- determining that a first span corresponds to a client span kind and that a second span corresponds to a server span kind;
- caching the first span in association with a span identifier;
- matching an identifier associated with the second span to the span identifier associated with the first span;
- and.
- based on the matching, generating dependency information corresponding to the first span and the second span.
Dependencies are inferred from the claim text.