# US 2023/0267064 A1 · Out-of-the-box telemetry for rich-client application runtime frameworks

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2023/0267064 A1
- Document ID: US20230267064A1
- Status: Published application
- Kind: A1
- Application number: 18/140,849
- Filed: 2023-04-28
- Published: 2023-08-24
- Earliest claimed: 2020-09-13
- Assignees: Oracle International Corporation
- Applicants: Oracle International Corporation
- Inventors: Kevin J. Cirone; Blake T. Sullivan; Dipankar Bajpai
- Web page: https://patentgrep.com/patent/US20230267064A1

## CPC

- G06F 11/3466: {Performance evaluation by tracing or monitoring}
- G06F 11/3476: {Data logging (G06F11/14, G06F11/2205 take precedence)}
- G06F 9/542: {Event management; Broadcasting; Multicasting; Notifications}
- G06F 11/3419: {by assessing time}
- G06F 11/3636: {by tracing the execution of the program}
- G06F 11/3644: {by instrumenting at runtime}
- G06F 12/0802: Addressing of a memory level in which the access to the desired data or data block requires associative addressing means, e.g. caches
- H04L 67/02: based on web technology, e.g. hypertext transfer protocol [HTTP]
- G06F 11/3438: {monitoring of user actions (tracking the activity of the user H04L67/535)}
- G06F 2201/86: Event-based monitoring
- G06F 2201/865: Monitoring of software
- G06F 2201/875: Monitoring of systems including the internet
- G06F 2212/60: Details of cache memory
- H04L 67/10: in which an application is distributed across nodes in the network (software deployment G06F8/60; multiprogramming arrangements G06F9/46)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

Disclosed systems relate to automatically instrumenting a web application for tracing. In an example, a method includes providing a web page application to a web browser on a client device. The web page application includes a tracer application. The method further includes detecting a start of the web page application and instantiating tracer application. The tracer application is configured to log tracing data for the web page application. The method further includes detecting an event initiated by interaction with the web page application. The method further includes automatically logging a start of a span based on the detection, the logging associating the span with the tracer application. The method further includes executing operations corresponding to the event. The method further includes automatically logging an end of the span based upon a completion of the operations corresponding to the event.

## Claims

### Claim 1

A method of automatically instrumenting a web application for tracing, the method comprising:
providing a web page application to a web browser on a client device, wherein the web page application comprises a tracer application that is configured to log tracing data for the web page application;
instantiating the tracer application based on a start of the web page application; and
automatically logging an end of a span based upon a completion of an operation corresponding to an event initiated by interaction with the web page application.

### Claim 2 (depends on 1)

The method of claim 1, the method further comprising:
based on completion of an additional operation, automatically logging an additional end of an additional span corresponding to the additional operation;
associating the additional span with the span.

### Claim 3 (depends on 1)

The method of claim 1, wherein the span is a parent span, the method further comprising:
sending, based on the operation, a request for an object to an external server;
creating a child span based on the sending;
receiving the object from the external server; and
automatically logging an additional end of the child span responsive to receiving the object; and
associating the child span with the parent span.

### Claim 4 (depends on 1)

The method of claim 1, wherein the event is selected from the group consisting of a click event, a navigation to a page, a user interface refresh, and a representational state transfer (REST) call.

### Claim 5 (depends on 4)

The method of claim 4, wherein automatically logging the span comprises:
detecting the event;
logging the start of the span based on the detection;
executing operations corresponding to the event; and
following the executing, logging the end of the span.

### Claim 6 (depends on 1)

The method of claim 1, wherein automatically logging the end of the span comprises determining one or more of: (i) a number of processing cycles corresponding to an execution of the operation or (ii) an execution time of the operation.

### Claim 7 (depends on 1)

The method of claim 1, wherein the event is a click event and wherein the span represents instrumentation related to determining an action to perform based on the click event and performing the action.

### Claim 8

A system comprising:
a non-transitory computer-readable medium storing computer-executable program instructions; and
a processing device communicatively coupled to the non-transitory computer-readable medium for executing the computer-executable program instructions, wherein executing the computer-executable program instructions configures the processing device to:
provide a web page application to a web browser on a client device, wherein the web page application comprises a tracer application that is configured to log tracing data for the web page application;
instantiate the tracer application based on a start of the web page application; and
automatically log an end of a span based upon a completion of an operation corresponding to an event initiated by interaction with the web page application.

### Claim 9 (depends on 8)

The system of claim 8, wherein executing the computer-executable program instructions further configures the processing device to:
based on completion of an additional operation, automatically log an additional end of an additional span corresponding to the additional operation;
associate the additional span with the span.

### Claim 10 (depends on 8)

The system of claim 8, wherein the span is a parent span, wherein executing the computer-executable program instructions further configures the processing device to:
send, based on the operation, a request for an object to an external server;
create a child span based on the sending;
receive the object from the external server; and
automatically log an additional end of the child span responsive to receiving the object; and
associate the child span with the parent span.

### Claim 11 (depends on 8)

The system of claim 8, wherein the event is selected from the group consisting of a click event, a navigation to a page, a user interface refresh, and a representational state transfer (REST) call.

### Claim 12 (depends on 8)

The system of claim 8, wherein automatically logging the span comprises:
detecting the event;
logging the start of the span based on the detection;
executing operations corresponding to the event; and
following the executing, logging the end of the span.

### Claim 13 (depends on 8)

The system of claim 8, wherein automatically logging the end of the span comprises determining one or more of: (i) a number of processing cycles corresponding to an execution of the operation or (ii) an execution time of the operation.

### Claim 14

A non-transitory computer-readable storage medium storing computer-executable program instructions, wherein when executed by a processing device, the computer-executable program instructions cause the processing device to:
provide a web page application to a web browser on a client device, wherein the web page application comprises a tracer application that is configured to log tracing data for the web page application;
instantiate the tracer application based on a start of the web page application; and
automatically log an end of a span based upon a completion of an operation corresponding to an event initiated by interaction with the web page application.

### Claim 15 (depends on 14)

The non-transitory computer-readable storage medium of claim 14, wherein the span is a parent span, and wherein when executed by a processing device, the computer-executable program instructions further cause the processing device to:
based on completion of an additional operation, automatically log an additional end of an additional span corresponding to the additional operation;
associate the additional span with the span.

### Claim 16 (depends on 14)

The non-transitory computer-readable storage medium of claim 14, wherein the span is a parent span, and wherein when executed by a processing device, the computer-executable program instructions further cause the processing device to:
send, based on the operation, a request for an object to an external server;
create a child span based on the sending;
receive the object from the external server; and
automatically log an additional end of the child span responsive to receiving the object; and
associate the child span with the parent span.

### Claim 17 (depends on 14)

The non-transitory computer-readable storage medium of claim 14, wherein the event is selected from the group consisting of a click event, a navigation to a page, a user interface refresh, and a representational state transfer (REST) call.

### Claim 18 (depends on 14)

The non-transitory computer-readable storage medium of claim 14, wherein automatically logging the span comprises:
detecting the event;
logging the start of the span based on the detection;
executing operations corresponding to the event; and
following the executing, logging the end of the span.

### Claim 19 (depends on 14)

The non-transitory computer-readable storage medium of claim 14, wherein automatically logging the end of the span comprises determining one or more of: (i) a number of processing cycles corresponding to an execution of the operation or (ii) an execution time of the operation.

### Claim 20 (depends on 14)

The non-transitory computer-readable storage medium of claim 14, wherein the event is a click event and wherein the span represents instrumentation related to determining an action to perform based on the click event and performing the action.
