Enablement of Resource Monitoring services for a schedule

You can enable the Resource Monitoring service in HCL DevOps Test Performance (Test Performance) for a performance schedule to monitor the resources in a schedule and capture the performance statistics of such resources during the run time of the schedule.

When you connect Test Performance to Test Hub, the Resource Monitoring sources that you added at project level in Test Hub are displayed in Test Performance.

You can configure Test Performance to access Test Hub by using an offline user token. You must generate the offline user token from Test Hub that you can provide on the product Preferences window in Test Performance so that a connection is established between Test Performance and Test Hub.

After you establish the connection with Test Hub, you can then monitor the following Resource Monitoring sources in Test Performance:
  • Apache httpd server
  • NGINX server
  • Java Virtual Machine
  • Windows Performance Host
  • Linux Performance Host
  • Docker Host
  • OpenMetrics exporter
  • Prometheus server
If you enable the Resource Monitoring service for a schedule, then you can add the Resource Monitoring sources by using any of the following methods:
  • Resource Monitoring sources that are displayed by names
  • Resource Monitoring sources that are displayed by labels

After you add the Resource Monitoring sources to the performance schedule that is available in your Test Performance project, you can run the schedule from Test Performance.

If you want to run a performance schedule from the Test Performance command line, you can use the -overridermlabels parameter to enable the Resource Monitoring service. See Running a schedule from a command line.