Aias00 opened a new issue, #2614:
URL: https://github.com/apache/rocketmq-dashboard/issues/2614

   ## Problem
   
   The bundled producer connection-drop rule uses:
   
   ```promql
   changes(rocketmq_producer_count[5m]) < -5
   ```
   
   `changes()` returns a non-negative count of value transitions, so this 
condition can never be true. The documented condition therefore never alerts.
   
   ## Locations
   
   - `server/src/main/resources/alerts/rocketmq-client-connection-drop.yaml`
   - `server/scripts/gen_alert_rule_yaml.py`
   - `web/src/mock/alertRuleAssets.ts`
   
   ## Expected behavior
   
   Use a gauge-delta expression that can represent a decrease, update 
generated/mock assets, and add regression coverage that validates the bundled 
rule expression.


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