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

   ## What is the purpose of the change
   
   Make the Studio alert YAML export honor the enabled rows selected by the 
operator and keep custom Proxy metrics in the Proxy rule group.
   
   ## Brief changelog
   
   - add an optional, backward-compatible `ids` filter to the alert rule export 
endpoint
   - reject stale, missing, or disabled selected rule IDs instead of falling 
back to unrelated rules
   - pass selected persisted rule IDs from the Studio table to the export API
   - classify `rocketmq_proxy_*` metrics as `team: proxy` in 
`rocketmq-proxy.rules` on both server and UI
   - add service, controller, API, and page regression coverage
   
   ## Verifying this change
   
   ```bash
   cd server
   JAVA_HOME=$(/usr/libexec/java_home -v 21) PATH="$JAVA_HOME/bin:$PATH" \
     mvn -B -ntp -Dtest=AlertServiceTest,AlertRuleControllerTest test
   JAVA_HOME=$(/usr/libexec/java_home -v 21) PATH="$JAVA_HOME/bin:$PATH" \
     mvn -B -ntp -DskipTests package
   
   cd ../web
   npm test -- --run src/api/alertManagement.test.ts 
src/pages/studio/__tests__/AlertManagement.test.tsx
   npm run lint
   npm run build
   ```
   
   Closes #1984


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