Skip to content

Commit 16be7e9

Browse files
committed
📝 STATQ-off error: mention monitoring as a fallback option too
The TestConnection error for STATQ(OFF) only mentioned audit-based throughput as the fallback. Monitoring-based throughput is also a fallback (and arguably the preferred path when endpoints are configured for it). Update the message to reflect both options without requiring queue-manager changes.
1 parent e0b6f12 commit 16be7e9

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

‎src/ServiceControl.Transports.IBMMQ/IBMMQQuery.cs‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,8 +147,10 @@ public override async IAsyncEnumerable<QueueThroughput> GetThroughputPerDay(
147147
{
148148
errors.Add(
149149
"Statistics collection is disabled on the queue manager (STATQ=OFF). " +
150-
"Run `ALTER QMGR STATQ(ON)` to enable broker-side throughput collection. " +
151-
"ServiceControl will continue to operate; audit-based throughput will be used as a fallback.");
150+
"Broker-side throughput collection is unavailable. ServiceControl will " +
151+
"continue to operate; audit-based and monitoring-based throughput collection " +
152+
"(when configured) provide the same data without requiring queue manager " +
153+
"changes. To enable broker-side collection, run `ALTER QMGR STATQ(ON)`.");
152154
}
153155
}
154156
finally

0 commit comments

Comments
 (0)