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

   ## Summary
   
   Extends the existing `CloudRocketMqBusinessMetricsCollectorTest` (2 to 6 
tests) to pin down the cloud business collector contract.
   
   Added cases:
   - `supports` accepts Aliyun/Tencent instances with a name and rejects 
Apache, vendor-less, unnamed, and null instances;
   - `metricKeys` exposes the three business metrics;
   - a missing provider degrades the whole pass to three `UNAVAILABLE` samples;
   - negative diffs are clamped to zero for total/max/backlog, and blank-named 
groups are skipped.
   
   ## Why
   
   The collector feeds native cloud business alerting; only the happy-path lag 
math and the Apache skip were covered before.
   
   ## Testing
   
   `mvn -B test -Dtest=CloudRocketMqBusinessMetricsCollectorTest` — 6/6 pass; 
checkstyle (validate) clean.


-- 
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