yyqdbngt opened a new issue, #2214: URL: https://github.com/apache/rocketmq-dashboard/issues/2214
## Problem Bundled Grafana dashboards and alert rules are loaded with `classpath*` resource patterns. In deployments where more than one classpath location contains the same logical filename, callers can observe duplicate dashboard/rule names. The dashboard ZIP exporter can also attempt to add the same ZIP entry twice, and default alert rules may be loaded more than once. The services currently order resources by description but do not define how duplicate logical basenames are resolved, so list, lookup, archive, and default-loading behavior can diverge. ## Proposed scope - Resolve bundled resources by logical basename in a deterministic order. - Use the same deduplicated view for Grafana list/get/archive operations. - Use the same rule for alert-rule list/get/default loading. - Add focused tests with duplicate-basename resources. ## Expected behavior Each logical bundled asset appears once, lookup and export agree with listing, and behavior does not depend on classpath enumeration order. -- 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]
