yuluo-yx opened a new issue, #2951:
URL: https://github.com/apache/rocketmq-dashboard/issues/2951

   Problem
   
   Alert metric is a free-form request field. The native metric catalog 
compares it without trimming, while the evaluator trims it and percentage 
threshold normalization uses exact matching. A native metric copied with 
surrounding whitespace can bypass provider validation, be stored under a 
non-canonical key, and then produce inconsistent test or threshold behavior.
   
   Expected behavior
   
   Normalize the metric key before deciding whether it is native and before all 
downstream validation, persistence, testing, and fingerprint calculation.
   
   Scope
   
   Normalize the key in the native metric catalog and add tests for whitespace 
around both native and custom metric keys.


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