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

    公开(公告)号:US20220083447A1

    公开(公告)日:2022-03-17

    申请号:US17339673

    申请日:2021-06-04

    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.

Patent Agency Ranking