Monitoring service bus performance

Note: Relativity plans to deprecate Windows Service Bus in Server 2023. We recommend that you begin conversion to RabbitMQ beginning in Server 2022.

You can use the Windows Performance Monitor to check the health of your service bus. This tool provides counters that monitor the behavior of various service bus components. Additionally, it provides data collection sets that you can use to aggregate the metrics collected by the configured counters and output reports on them. For more information about service bus health, see Relativity service bus entities.

This page contains the following information:

See these related pages:

Setting up Windows Performance Monitor

Use the following steps to set up Windows Performance Monitor in your environment:

  1. Log in to a server where you want to run the Performance Monitor.
  2. Right-click on Start > Search, and locate the Performance Monitor.
  3. Open the Performance Monitor, and expand the Monitoring Tools folder.
  4. In the Monitoring Tools folder, click Performance Monitor to display the graphical interface.
  5. Click Add counters icon to display the Add Counters window.
  6. To point the Performance Monitor to a computer in your environment, enter its Fully Qualified Domain Name (FQDN) or IP address in the Select counters from computer box.

    Point to a computer in your environment

  7. Select the counters that you want to monitor from the list box. See Tracking metrics.
  8. Select the service bus nodes that you want to monitor in the Instances of select object box.

    Select instances

Tracking metrics

The Windows Performance Monitor includes counters that monitor the performance of different components of the service bus. The following list includes key components of the service bus and the counters that are most helpful for monitoring them. For detailed information about these counters, see Service Bus for Windows Server Performance Counters on the Microsoft site.

Reporting functions in Windows Performance Monitor

The Windows Performance Monitor provides you with the ability to create entities called data collection sets. You can configure a set of configured counters into data collection set, and then log performance metrics on the set. You have the option to configure the data collection for specific timeframes. Additionally, you can configure the data collection set to generate notifications when counters exceed specified thresholds.

For more information about data collection sets, see the following pages on the Microsoft site:

When the data collection is completed, the data collector set performs various tasks, which are output to the event viewer. You can also schedule other Windows tasks to meet your current needs.

To send event viewer logs by email, you can use various Powershell scripts that point to an SMTP server. For information about setting up email notifications, see Send-MailMessage on the Microsoft site.

You may also want to consider gathering data with the Perfmon plugin from New Relic. For more information, see Perfmon.