Dynamic distributed tracing instrumentation in a microservice architecture
AssigneeRed Hat, Inc.
InventorHeiko Rupp
Life of this patent
Estimating the term…
Abstract
A tracing operation is initiated on a service, wherein the service comprises a plurality of method calls. A span is generated comprising timing information associated with the service, wherein the span comprises a plurality of nested spans associated with the plurality of method calls. A determination is made as to whether one or more method calls of the plurality of method calls are causing the service to underperform in view of the plurality of nested spans. In response to determining that the one or more method calls of the plurality of method calls are causing the service to underperform, a remedial action associated with the one or more method calls is performed.
Claims20
A method comprising:
- initiating a tracing operation on a service, wherein the service comprises a plurality of method calls;
- generating a span comprising timing information associated with the service, wherein the span comprises a plurality of nested spans associated with the plurality of method calls;
- determining, by a processing device, whether one or more method calls of the plurality of method calls are causing the service to underperform in view of the plurality of nested spans;
- and
- in response to determining that the one or more method calls of the plurality of method calls are causing the service to underperform, performing a remedial action associated with the one or more method calls.
A system comprising:
- a memory;
- and
- a processing device, operatively coupled to the memory, to:
- initiate a tracing operation on a service, wherein the service comprises a plurality of method calls;
- generate a span comprising timing information associated with the service, wherein the span comprises a plurality of nested spans associated with the plurality of method calls;
- determine whether one or more method calls of the plurality of method calls are causing the service to underperform in view of the plurality of nested spans;
- and
- in response to determining that the one or more method calls of the plurality of method calls are causing the service to underperform, perform a remedial action associated with the one or more method calls.
A non-transitory computer-readable storage medium including instructions that, when executed by a processing device, cause the processing device to:
- initiate a tracing operation on a service, wherein the service comprises a plurality of method calls;
- generate a span comprising timing information associated with the service, wherein the span comprises a plurality of nested spans associated with the plurality of method calls;
- determine, by the processing device, whether one or more method calls of the plurality of method calls are causing the service to underperform in view of the plurality of nested spans;
- and
- in response to determining that the one or more method calls of the plurality of method calls are causing the service to underperform, perform a remedial action associated with the one or more method calls.
Dependencies are inferred from the claim text.