yyqdbngt opened a new pull request, #3343: URL: https://github.com/apache/rocketmq-dashboard/pull/3343
## Summary Adds `SemanticMetricTest`, a first unit test for the semantically-named metric catalog used by the metrics explorer. Coverage: - every entry has distinct, non-blank keys and display names (guards against accidental duplicates when the catalog grows); - known entries carry their expected Prometheus key, display name, and unit (including `messages`, `up`, and empty units); - the catalog spans the throughput, lag, count, and broker-health families. ## Why The enum is the single mapping from semantic metrics to Prometheus keys/units; its data contract had no test. ## Testing `mvn -B test -Dtest=SemanticMetricTest` — 3/3 pass; checkstyle (validate) 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]
