yyqdbngt opened a new pull request, #3846:
URL: https://github.com/apache/rocketmq-dashboard/pull/3846

   ### Motivation
   
   The existing `ApacheRocketMqBusinessMetricsCollectorTest` covers per-group 
aggregation, vendor skipping, legacy support, provider failure and missing 
group stats. The blank-group skip, the queue-progress failure isolation and the 
negative-lag clamp were untested.
   
   ### Changes
   
   - `blankGroupNamesAreSkipped`: whitespace-only group names are skipped 
without any progress lookup.
   - `queueProgressFailureKeepsTotalAndDegradesQueueMetrics`: a queue-progress 
failure keeps the group's total (and delay) available while max-queue/backlog 
degrade with the `CONSUMER_PROGRESS_UNAVAILABLE` reason.
   - `negativeTotalLagClampsToZero`: a negative group total reports a zero 
available lag sample.
   
   ### Verification
   
   ```
   mvn -B test -Dtest=ApacheRocketMqBusinessMetricsCollectorTest
   [INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0
   [INFO] BUILD SUCCESS
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to