ARM Version 4: for C, C#, and Java applications
This section contains information that enables you to instrument ARM Version 4 for Response Time Tracking.
To instrument an application, follow these steps:
- (First time only) Set your Java™ properties.
- Register your application.
- Create an application instance.
- Register your transaction.
- Start and stop your transaction.
- (Optional) Correlate transactions.
- (Optional) Pass correlators.
Setting C# Environment Variables to use ARM Version 4
The C# specification is currently under review by the OpenGroup and until accepted it should be considered properietary to IBM's implementation.The C# implementation was essentially a port of the Open Groups Java API to C#.
Add the following environment variables before starting your .NET program. These properties define the classes that implement the .NET ARM Version 4 interface defined in the ARM Version 4 standards documentation.
set arm40.ArmTransactionFactory=IBM.arm40.transaction.Arm40TransactionFactory
set arm40.ArmTranReportFactory=IBM.arm40.metric.Arm40MetricFactory
set arm40.ArmMetricFactory=IBM.arm40.tranreport.Arm40TranReportFactory