Specifications
Resource Definitions
resources
{
require all
{
resource Process { ExecutableName="FRONT" }
resource Process { ExecutableName="SAPGUI" }
}
Based on this resource definition, Application Response monitors transactions
only when both the FRONT networking executable and the SAPGUI executable
are running. Application Response uses the combined network and GUI activity
to monitor and measure transactions. If either process does not exist,
Application Response does not monitor transactions for that application.
ANY: An Application That May Use Multiple Resources
If an application may use more than one resource (per running instance), use
the any keyword for the selection-kind qualifier. The any keyword indicates
that any resource matching one of the resource specifications should be
considered part of a single instance of the application, although perhaps
resources matching all of the specifications may not be active at the same
time. For example, you would use this keyword for an application with multiple
processes that start and stop. You might also use the any keyword for an
application whose executable name changes during upgrades; in this case, you
would list both executable names in the resource definition until you have
upgraded the application for all users. With the any keyword, if any one or
more of the resources exists, Application Response recognizes one running
instance of the application and monitors its transactions.
Example
The following example uses the any keyword in the require section of a
resource definition for an Employee Management application.
resources
{
require any
{
resource Process { ExecutableName="EmpMgt2" }
resource Process { ExecutableName="EmpMgt3" }
}
In this case, if EmpMgt2 is running, Application Response recognizes one
running instance of the application, and it begins to monitor transactions. If
EmpMgt2 and EmpMgt3 are both running, Application Response still recognizes
just one running instance and monitors transactions of both executables as
part of the same application using their combined activity.
196 BTStudio Administration Guide