Application event tracing
First Claim
1. A system for application event tracing comprising:
- a processor; and
a memory storing instructions that when executed cause the processor to;
identify a first event listener associated with a significant event in an application,insert a dummy action handler to a second event listener associated with the application to cause the second event listener to be called by the application when an action associated with the first event listener is received,receive the action associated with the first event listener,in response to receiving the action associated with the first listener, generate a composite event sequence comprising the first and second event listeners associated with the action, anddetermine whether the composite event sequence comprises the first event listener associated with the significant event; and
in response to determining that the composite event sequence comprises the first event listener associated with the significant event;
measure a performance metric associated with the action, andcreate a log record according to the composite event sequence, the log record comprising the performance metric.
8 Assignments
0 Petitions
Accused Products
Abstract
Examples disclosed herein relate to a system for generating an element identifier comprising an action engine to identify at least one event listener associated with a significant event in an application, receive an action associated with an element of the application, generate a composite event sequence comprising a plurality of event listeners associated with the action, and determine whether the composite event sequence is associated with the at least one significant event. The system may further comprise a metric engine to measure a performance metric associated with the received action and create a log record according to the composite event sequence comprising the performance metric.
-
Citations
17 Claims
-
1. A system for application event tracing comprising:
-
a processor; and a memory storing instructions that when executed cause the processor to; identify a first event listener associated with a significant event in an application, insert a dummy action handler to a second event listener associated with the application to cause the second event listener to be called by the application when an action associated with the first event listener is received, receive the action associated with the first event listener, in response to receiving the action associated with the first listener, generate a composite event sequence comprising the first and second event listeners associated with the action, and determine whether the composite event sequence comprises the first event listener associated with the significant event; and in response to determining that the composite event sequence comprises the first event listener associated with the significant event; measure a performance metric associated with the action, and create a log record according to the composite event sequence, the log record comprising the performance metric. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A non-transitory machine-readable storage medium including instructions which, when executed by a processor, cause the processor to:
-
identify a first event listener of a plurality of event listeners as a significant event listener associated with an application; add a dummy action handler to a second event listener of the plurality of event listeners to cause the second event listener to be called by the application when an action associated with the first event listener is received, wherein the second event listener of the plurality of event listeners is a non-significant event listener; receive the action associated with the first event listener; in response to receiving the action associated with the first event listener, generate a composite event sequence comprising the first event listener and the second event listener; measure a performance metric associated with the action; and create a log record comprising the performance metric, wherein the log record is associated with the composite event sequence. - View Dependent Claims (10, 11, 12, 13, 14)
-
-
15. A computer-implemented method comprising:
-
identifying, by a processor, a first event listener of a plurality of event listeners associated with an application; adding, by the processor, a dummy action handler to a second event listener of a plurality of event listeners associated with the application to cause the second event listener to be called by the application when an action associated with the first event listener is received; receiving a first user action associated with the first event listener; generating, by the processor, a composite event sequence comprising the first event listener in response to receiving the first user action associated with the first event listener, wherein the first user action triggers a predefined start event; adding the second event listener of the plurality of event listeners to the composite event sequence based on the dummy action handler of the second event listener; measuring a respective performance metric for the first event listener and the second event listener, wherein the respective performance metric comprises a time to complete the first event listener and the second event listener; and creating, by the processor, a log record comprising the respective performance metric, wherein the log record is associated with the composite event sequence. - View Dependent Claims (16, 17)
-
Specification