# US 2008/0307418 A1 · Enabling and Disabling Byte Code Inserted Probes Based on Transaction Monitoring Tokens

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

- Number: US 2008/0307418 A1
- Document ID: US20080307418A1
- Status: Published application
- Kind: A1
- Application number: 12/197,769
- Filed: 2008-08-25
- Published: 2008-12-11
- Earliest claimed: 2005-06-06
- Assignees: International Business Machines Corporation
- Inventors: Bryan Christopher Chagoly; Xiaoping Chen; Andrew Jason Lavery; Kirk Malcolm Sexton
- Web page: https://patentgrep.com/patent/US20080307418A1

## CPC

- H04L 43/12: Network monitoring probes
- H04L 43/106: using time related information in packets, e.g. by adding timestamps
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A method of enabling transaction probes used to monitor a transaction or modify a primary application handling the transaction. The method begins with retrieving a token associated with the transaction. The token contains information regarding which transaction probes from a plurality of transaction probes will be enabled with respect to the transaction. The token is then read to determine the set of transaction probes from the plurality of transaction probes that will be enabled. The determined set of transaction probes is then enabled.

## Claims

### Claim 1

A method of enabling transaction probes associated with a transaction in a primary application, said method comprising the computer-implemented steps of:
retrieving a token associated with the transaction, wherein the token contains information for identifying a set of transaction probes from a plurality of transaction probes associated with the primary application, wherein the set of transaction probes represents all transaction probes that are to be enabled with respect to the transaction;
reading the token to identify the set of transaction probes to be enabled; and
enabling the set of transaction probes.

### Claim 2 (depends on 1)

The method of claim 1 further comprising the step of:
updating a timestamp associated with each transaction probe within the set of transaction probes.

### Claim 3 (depends on 1)

The method of claim 1 further comprising the step of:
incrementing a counter, wherein additional transactions occur and wherein the counter reflects the number of transactions that require a particular transaction probe.

### Claim 4 (depends on 1)

The method of claim 1 wherein the step of reading the token is performed using an entry point probe.

### Claim 5 (depends on 1)

The method of claim 1 wherein the step of retrieving a token comprises using an entry point probe to retrieve the token, wherein the entry point probe uses a policy mapper to retrieve the token.

### Claim 6 (depends on 1)

The method of claim 1 wherein the token is a collection of fields, said collection of fields indicating whether each transaction probe in the plurality of transaction probes will be enabled.

### Claim 7 (depends on 1)

The method of claim 1 wherein the set of transaction probes is a null set.

### Claim 8 (depends on 3)

The method of claim 3 further comprising the steps of:
after enabling the set of transaction probes and after a particular transaction ends, decrementing the counter by one; and
disabling a particular transaction probe in the set of transaction probes if the counter associated equals zero.

### Claim 9 (depends on 3)

The method of claim 3 comprising the further steps of:
updating a timestamp associated with a transaction probe within the set of transaction probes when the transaction probe is enabled and as each new transaction requiring the transaction probe begins;
after a particular transaction requiring the transaction probe ends, disabling the transaction probe if both the counter equals zero and a grace period reaches a predetermined value, wherein the grace period is the difference between the current time and the time of the timestamp.

### Claim 10

A computer program product in a computer readable medium, the computer program product comprising:
first instructions for retrieving a token associated with the transaction, wherein the token contains information for identifying a set of transaction probes from a plurality of transaction probes associated with the primary application, wherein the set of transaction probes represents all transaction probes that are to be enabled with respect to the transaction;
second instructions for reading the token to identify the set of transaction probes to be enabled; and
third instructions for enabling the set of transaction probes.

### Claim 11 (depends on 10)

The computer program product of claim 10 further comprising:
fourth instructions for updating a timestamp associated with each transaction probe within the set of transaction probes.

### Claim 12 (depends on 10)

The computer program product of claim 10 further comprising:
fourth instructions for incrementing a counter, wherein the additional transactions occur and wherein the counter reflects the number of transactions that require a particular transaction probe.

### Claim 13 (depends on 10)

The computer program product of claim 10 wherein the second instructions are carried out using an entry point probe.

### Claim 14 (depends on 10)

The computer program product of claim 10 wherein the set of transaction probes is a null set.

### Claim 15 (depends on 12)

The computer program product of claim 12 further comprising:
fifth instructions for after enabling the set of transaction probes and after a particular transaction ends, decrementing the counter by one; and
sixth instructions for disabling a particular transaction probe in the set of transaction probes if the counter associated equals zero.

### Claim 16 (depends on 12)

The computer program product of claim 12 further comprising:
fifth instructions for updating a timestamp associated with a transaction probe within the set of transaction probes when the transaction probe is enabled and as each new transaction requiring the transaction probe begins;
sixth instructions for after a particular transaction requiring the transaction probe ends, disabling the transaction probe if both the counter equals zero and a grace period reaches a predetermined value, wherein the grace period is the difference between the current time and the time of the timestamp.

### Claim 17

A data processing system comprising:
a bus;
a memory operably connected to the bus, said memory containing a set of instructions,
a processor operably connected to the bus, wherein the processor is adapted to execute the instructions to:
retrieve a token associated with the transaction, wherein the token contains information for identifying a set of transaction probes from a plurality of transaction probes associated with the primary application, wherein the set of transaction probes represents all transaction probes that are to be enabled with respect to the transaction;
read the token to identify the set of transaction probes to be enabled; and
enable the set of transaction probes.

### Claim 18 (depends on 17)

The data processing system of claim 17 wherein the processor is further adapted to execute the instructions to:
increment a counter, wherein additional transactions occur and wherein the counter reflects the number of transactions that require a particular transaction probe.

### Claim 19 (depends on 17)

The data processing system of claim 17 wherein the processor is further adapted to execute the instructions to:
after enabling the set of transaction probes and after a particular transaction ends, decrement the counter by one; and
disable a particular transaction probe in the set of transaction probes if the counter associated equals zero.

### Claim 20 (depends on 17)

The data processing system of claim 17 wherein the processor is further adapted to execute the instructions to:
update a timestamp associated with a transaction probe within the set of transaction probes when the transaction probe is enabled and as each new transaction requiring the transaction probe begins;
after a particular transaction requiring the transaction probe ends, disable the transaction probe if both the counter equals zero and a grace period reaches a predetermined value, wherein the grace period is the difference between the current time and the time of the timestamp.
