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

   ### Which Issue(s) This PR Fixes
   
   - Fixes #7407
   
   ### Brief Description
   
   Proxy discovery that answers without error but yields no probeable proxy 
returned an empty sample list from 
`ApacheRocketMqProxyMetricsCollector.collect`. The scheduler then reported the 
declared `proxy.availability` scope as a successful collection with zero 
samples, and `NativeAlertProcessor.reconcileMissingActiveStates` treated the 
missing samples as cleared values: every FIRING/ACKED proxy-availability alert 
for the instance was resolved by a pass that measured nothing.
   
   The collector's discovery-failure branch already emits the empty-labels 
`UNAVAILABLE` whole-scope failure marker for this exact reason; the 
empty-enumeration happy path (empty cluster list, or clusters whose proxy list 
is undiscovered/empty) missed the same guard. This PR emits the same marker 
when discovery yields no probeable proxy, so reconciliation is skipped until a 
pass that actually probes a proxy.
   
   Both new tests fail against the previous behavior (empty list) and pass with 
the marker.
   


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