Specifications
IgnoreEvents Clause
{
resource Windows {ExecutableName="EMPMGT1" IgnoreEvents="ButtonPress"}
resource Windows {IgnoreEvents="Destroy"}
resource Connection {}
}
}
In the above example, the resource Windows {IgnoreEvents="Destroy"}
statement ensures that Application Response measures the response times of
all Windows events related to the monitored transactions, in addition to
ignoring all Destroy events. Because the first additional resource statement
(resource Windows {ExecutableName="EMPMGT1"
IgnoreEvents="ButtonPress"}) specifies an executable name, it does not
address Windows events from other executables.
Example 2: The following example demonstrates that, if you specify an
executable name for IgnoreEvents, you must include a second resource
statement that does not specify the executable name.
resources
{
require all
{
resource Process { ExecutableName="EMPMGT1" }
resource Process { ExecutableName="EMPMGT2" }
}
additional
{
resource Windows {ExectuableName="EMPMGT1" IgnoreEvents="ButtonPress"}
resource Windows {}
resource Connection {}
}
}
Example 3: The following resource definition instructs Application Response
to omit from a transaction's total response time any response time that is
related to network requests and responses.
resources
{
require all
{
resource Process { ExecutableName="ACCOUNT" }
}
additional
{
resource Windows {}
180 BTStudio Administration Guide