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

   ### Summary
   
   `NativeAlertRuleScopeMatcher` gates a sample on the rule's instance id and 
optional broker/cluster/topic/consumer-group selectors. The suite covered 
exact, wildcard and topic/group matches but not the null/blank configurations.
   
   ### Changes
   
   - A blank or missing rule instance id never matches
   - A concrete selector rejects a sample that lacks that label
   - A wildcard selector still accepts a sample without that label
   - Surrounding whitespace on selectors is ignored, and blank selectors act as 
unspecified
   
   ### Testing
   
   `mvn test -Dtest=NativeAlertRuleScopeMatcherTest` passes: 7 tests, 0 
failures (up from 3).


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