yuluo-yx opened a new pull request, #2960:
URL: https://github.com/apache/rocketmq-dashboard/pull/2960

   Closes #2951
   
   Problem
   
   Native metric detection used an exact untrimmed key while later evaluation 
trimmed the same field. A copied key with surrounding whitespace could bypass 
provider validation and reach persistence or testing with inconsistent 
threshold behavior.
   
   Change
   
   Canonicalize the metric key at the native metric catalog boundary before 
native/custom classification and all downstream validation.
   
   Local verification
   
   - Maven NativeAlertMetricCatalogServiceTest: 2 passed
   - Checkstyle: 0 violations
   - Java 21 compile: passed
   - Scope check: 2 files, 29 changed lines


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