Metrics
Relativity Testing Framework API collects metrics using ApplicationInsights to provide more context around usage and debugging. In addition to the default information collected from ApplicationInsights, we also collect information about the parameters that are sent with the API request.
What is collected
Default ApplicationInsights Metrics
Custom Event Metrics
| Measurement | Description | Example |
|---|---|---|
| RelativityTestingFrameworkVersion | The version of RTF that is running. | 1.1.1 |
| RelativityVersion | The version of Relativity that RTF is running against. | 12.1.2.3 |
| TestAssemblyName | The name of the assembly that NUnit is running. | Relativity.Testing.Framework.Api.FunctionalTests |
| Parameters | Contains all parameters you send into a strategy. Note that object parameters will not be expanded. | 1015024 && 1018047 |
| Method | The name of the method/strategy being called. | IsInstalledInWorkspace |
| Class | The name of the class/service running. | RelativityApplicationService |
| ProcessingTime | The time in the milliseconds that the method took to run. | 1123.897 |
| RingSetupVersion | The version of the Relativity.Testing.Framework.RingSetup assembly, if loaded | 0.13.0 |
| Hostname | The hostname of the Relativity environment that RTF is running against. | P-DV-VM-CUP7WET |
Metrics Not Tracked during UsageOnly Mode: Method, Class and Parameters
API Error Metrics
Metrics Not Tracked during UsageOnly Mode: Message and Call Stack
Opting out of Metrics Collection
If you wish to opt out of automatic metrics collection, set the EnableApplicationInsights TestRunParameter to UsageOnly or None.
<RunSettings>
<TestRunParameters>
<Parameter name="ServerBindingType" value="https" />
<Parameter name="RelativityHostAddress" value="P-DV-VM-CUP7WET" />
<Parameter name="AdminUsername" value="relativity.admin@kcura.com" />
<Parameter name="AdminPassword" value="APassword1234!" />
<Parameter name="RestServicesHostAddress" value="P-DV-VM-CUP7WET" />
<Parameter name="WebApiHostAddress" value="P-DV-VM-CUP7WET" />
<Parameter name="EnableApplicationInsights" value="None" />
</TestRunParameters>
</RunSettings>
