Upgrade from Estimated to Native Queue Length Metric

The experimental queue length metrics feature based on an estimation algorithm has been replaced by the native queue length metric. This document describes the migration path for systems using the old metrics.

Upgrading the monitoring instance

ServiceControl should be upgraded to version 1.48.0+. Starting the upgrade process with an old monitoring instance (and not the endpoints) prevents old versions of a monitoring instance from receiving new, unsupported metric reports. Also, new monitoring instances produce WARN log entries of the form:

Legacy queue length report received from instance of .

that enable identification of the endpoints running NServiceBus.Metrics.ServiceControl packages that do not support the native queue length metric.

Upgrading ServicePulse

ServicePulse should be upgraded to the latest version. This step ensures compatibility of the updated version of the monitoring instance and ServicePulse.

Upgrading endpoints

All endpoints that send monitoring data must be upgraded to the latest version of NServiceBus.Metrics.ServiceControl. The exact version depends on the NServiceBus version the endpoint is using. The table below shows the version ranges.

NServiceBusNServiceBus.Metrics.ServiceControl
5.*[1.3.0, 2.0)
6.*[2.1.0, 3.0)
7.*[3.0,)
When running the MSMQ transport, it is necessary to install the latest NServiceBus.Metrics.ServiceControl.Msmq package.

Last modified