You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by "yyqdbngt (via GitHub)" <gi...@apache.org> on 2026/09/05 16:01:27 UTC

[PR] test: cover provider absence, empty progress and group failure in CloudRocketMqBusinessMetricsCollector [rocketmq-dashboard]

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

   ### Summary
   
   `CloudRocketMqBusinessMetricsCollector` derives consumer-lag metrics from a cloud provider, degrading to unavailable trios when the provider or its group progress is missing/failing. The suite covered the happy lag path and Apache-vendor gating only.
   
   ### Changes
   
   - No registered provider for the instance degrades to an `UNAVAILABLE` trio with empty labels
   - A group with no queue progress yields zero `consumer.lag.total`/`max_queue` samples and no backlog
   - A group progress failure degrades to an `UNAVAILABLE` trio carrying the `consumerGroup` label
   - `metricKeys` declares the three lag metrics
   
   ### Testing
   
   `mvn test -Dtest=CloudRocketMqBusinessMetricsCollectorTest` passes: 6 tests, 0 failures (up from 2).


-- 
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: commits-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] test: cover provider absence, empty progress and group failure in CloudRocketMqBusinessMetricsCollector [rocketmq-dashboard]

Posted by "lizhimins (via GitHub)" <gi...@apache.org>.
lizhimins closed pull request #3444: test: cover provider absence, empty progress and group failure in CloudRocketMqBusinessMetricsCollector
URL: https://github.com/apache/rocketmq-dashboard/pull/3444


-- 
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: commits-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org