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

   ### Motivation
   
   The existing `CloudRocketMqBusinessMetricsCollectorTest` covers the 
aggregate lag happy path and the Apache-instance skip. The group-level failure 
degradation, negative-lag clamping and blank group filtering were untested.
   
   ### Changes
   
   - `groupLevelFailureDegradesToUnavailableMetrics`: a group progress failure 
yields three unavailable samples carrying the group label.
   - `negativeLagsAreClampedToZeroBeforeAggregation`: negative diffs contribute 
zero to total, max-queue and per-topic backlog metrics.
   - `blankGroupNamesAreSkippedWithoutProgressCalls`: whitespace-only group 
names are skipped without calling the provider.
   
   ### Verification
   
   ```
   mvn -B test -Dtest=CloudRocketMqBusinessMetricsCollectorTest
   [INFO] Tests run: 5, 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