btlqql opened a new pull request, #2059:
URL: https://github.com/apache/rocketmq-dashboard/pull/2059

   ## What is the purpose of the change
   
   Fix #1984.
   
   The Studio alert-management page exposed row selection, but handleExportYaml 
ignored the selected rows and always called the unfiltered 
/api/alert-rules/export endpoint. Selecting one enabled rule therefore 
downloaded every enabled rule. The export path also inferred every custom 
rocketmq_proxy_* metric as the broker team.
   
   ## Brief changelog
   
   - AlertManagement: when rows are selected, build the exported YAML from the 
selected rules only
   - AlertService: classify rocketmq_proxy_* metrics as the proxy team
   
   ## How was this patch verified
   
   - npx vitest run src/pages/studio/__tests__/AlertManagement.test.tsx (9 
passed)
   - npx tsc -b clean
   - `git diff --check` clean
   


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