Oracle Corporation
AUTOMATIC SPAN CONTEXT PROPAGATION TO WORKER THREADS IN RICH-CLIENT APPLICATIONS

Last updated:

Abstract:

Disclosed techniques relate to tracing a subsidiary thread of a web page application. In an example, a method includes providing a web page application to a web browser on a client device. The method further includes creating, from the web page application, a global tracer configured to log tracing data for the web page application and a span. The method further includes instantiating, from the web page application, a wrapper for a subsidiary thread. The wrapper is configured to execute shim code before executing the subsidiary thread. The method further includes passing, from the wrapper to the shim code, configuration data of the global tracer. The method further includes creating a subsidiary tracer from the shim code and the configuration data. The subsidiary tracer configured to log tracing data for the subsidiary thread and a thread span that represents one or more of a number of processing cycles corresponding to an execution of operations corresponding to the subsidiary thread or an execution time of the operations corresponding to the subsidiary thread.

Status:
Application
Type:

Utility

Filling date:

4 Jun 2021

Issue date:

17 Mar 2022