Propagating a diagnostic session for business transactions across multiple servers
First Claim
1. A method for monitoring a distributed transaction, comprising detecting a diagnostic event;
- associating a diagnostic identifier with the request in response to the diagnostic event;
sampling a thread call stack handling the request at a first server in response to detecting the diagnostic event;
detecting an outgoing call at the first server associated with processing the request; and
modifying the outgoing call at the first server to include the diagnostic identifier and a call chain of the sequence of one or more servers that have processed the distributed transaction, the outgoing call with the diagnostic identifier received by a remote computer, the call chain identifying a sequence of computers or services that have processed the particular request,wherein an identifier is added to the call chain once the call to the remote computer is detected,wherein an additional identifier is added to the call chain upon detection of a subsequent call that is associated with processing the request, the additional identifier added to the call chain at the remote computer or subsequent remote computer at which the call is detected, the call chain with the additional identifier added to the outgoing call at the particular remote computer or subsequent remote computer at which the particular subsequent call was detected.
3 Assignments
0 Petitions
Accused Products
Abstract
The present technology may determine an anomaly in a portion of a distributed business application. Data can automatically be captured and analyzed for the portion of the application associated with the anomaly. By automatically capturing data for just the portion associated with the anomaly, the present technology reduces the resource and time requirements associated with other code-based solutions for monitoring transactions. In an embodiment, a method for monitoring an application may begin with detecting a diagnostic event. A diagnostic identifier may be associated with the request in response to the diagnostic event. An outgoing call may be detected at a first server associated with processing the request. The outgoing call may be modified at the first server to include the diagnostic identifier, the outgoing call with the diagnostic identifier received by a remote computer.
161 Citations
30 Claims
-
1. A method for monitoring a distributed transaction, comprising detecting a diagnostic event;
-
associating a diagnostic identifier with the request in response to the diagnostic event; sampling a thread call stack handling the request at a first server in response to detecting the diagnostic event; detecting an outgoing call at the first server associated with processing the request; and modifying the outgoing call at the first server to include the diagnostic identifier and a call chain of the sequence of one or more servers that have processed the distributed transaction, the outgoing call with the diagnostic identifier received by a remote computer, the call chain identifying a sequence of computers or services that have processed the particular request, wherein an identifier is added to the call chain once the call to the remote computer is detected, wherein an additional identifier is added to the call chain upon detection of a subsequent call that is associated with processing the request, the additional identifier added to the call chain at the remote computer or subsequent remote computer at which the call is detected, the call chain with the additional identifier added to the outgoing call at the particular remote computer or subsequent remote computer at which the particular subsequent call was detected. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. A system for monitoring a business transaction, comprising:
-
a first application server having memory; and one or more modules stored in memory of the first application server and executable by a processor to detect a diagnostic event, associate a diagnostic identifier with the request in response to the diagnostic event, the diagnostic identifier associated with the diagnostic event, sample a thread call stack handling the request at a first server in response to detecting the diagnostic event detect an outgoing call at the first server associated with processing the request, and modify the outgoing call at the first server to include the diagnostic identifier and a call chain of a sequence of one or more servers that have processed the distributed transaction, wherein the outgoing call with the diagnostic identifier received by a remote computer, the call chain identifying a sequence of computers or services that have processed the particular request, wherein an identifier is added to the call chain once the call to by the remote computer is detected, wherein an additional identifier is added to the call chain upon detection of a subsequent call that is associated with processing the request, the additional identifier added to the call chain at the remote computer or subsequent remote computer at which the call is detected, the call chain with the additional identifier added to the outgoing call at the particular remote computer or subsequent remote computer at which the particular subsequent call was detected. - View Dependent Claims (12, 13, 14, 15, 16, 17, 18, 19, 20)
-
-
21. A non-transitory computer readable storage medium having embodied thereon a program, the program being executable by a processor to perform a method for monitoring a business transaction, the method comprising:
-
detecting a diagnostic event; associating a diagnostic identifier with the request in response to the diagnostic event; sampling a thread call stack handling the request at a first server in response to detecting the diagnostic event; detecting an outgoing call at the first server associated with processing the request; and modifying the outgoing call at the first server to include the diagnostic identifier and a call chain of the sequence of one or more servers that have processed the distributed transaction, the outgoing call with the diagnostic identifier received by a remote computer, the call chain identifying a sequence of computers or services that have processed the particular request, wherein an identifier is added to the call chain once the call to the remote computer is detected, wherein an additional identifier is added to the call chain upon detection of a subsequent call that is associated with processing the request, the additional identifier added to the call chain at the remote computer or subsequent remote computer at which the call is detected, the call chain with the additional identifier added to the outgoing call at the particular remote computer or subsequent remote computer at which the particular subsequent call was detected. - View Dependent Claims (22, 23, 24, 25, 26, 27, 28, 29, 30)
-
Specification