Aias00 opened a new issue, #1298: URL: https://github.com/apache/rocketmq-dashboard/issues/1298
## Problem `AlertService.exportPrometheusRulesYaml()` converts every persisted alert rule into Prometheus YAML. A rule disabled through `/api/alert-rules/toggle` is therefore still exported and remains active after users load the YAML into Prometheus. ## Expected behavior Only enabled rules should be exported. When there are no enabled persisted rules, retain the existing fallback to the bundled default rule templates. ## Scope - Filter persisted rules by `enabled` before conversion. - Add regression coverage for disabled-only and mixed enabled/disabled rule sets. - Do not change the alert rule CRUD API. -- 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]
