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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
