RockteMQ-AI commented on issue #1439:
URL: 
https://github.com/apache/rocketmq-dashboard/issues/1439#issuecomment-5236484765

   **Issue Evaluation**
   
   Category: `type/bug` | Status: **Confirmed**
   
   Alert names starting with a digit producing invalid Prometheus alert names 
is a valid bug. Prometheus alert names must match `[a-zA-Z][a-zA-Z0-9_]*`, so a 
leading digit is invalid.
   
   **Root Cause:** No sanitization of alert name before generating PromQL alert 
rule.
   **Impact:** Invalid alert rules that Prometheus rejects or ignores silently.
   **Severity:** Medium — affects alerting reliability.
   
   **Suggested fix:** Prefix alert names starting with a digit (e.g., 
`alert_<name>`) or reject with a clear validation error at creation time.
   
   ---
   *Automated evaluation by github-manager*


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