coder999o opened a new pull request, #4187: URL: https://github.com/apache/rocketmq-dashboard/pull/4187
## What is the purpose of the change This change adds read-only metrics observability tools to the Studio AI tool gateway, so AI/MCP/CLI callers can discover version-aware metric profiles and execute Prometheus range queries through the existing Studio metrics source. It supports both raw PromQL and semantic metric selections (`profileId` + `semanticMetric`) while reusing the existing metrics validation and query window limits. ## Brief changelog - Add `rmq.metrics.profile.list` to expose RocketMQ metric profiles and semantic PromQL mappings. - Add `rmq.metrics.query` to execute range metric queries through `MetricsService`. - Add data-minimizing projections for metric profiles and metric query results. - Update tool catalog schemas and gateway/catalog tests for the new tools. ## Verifying this change - `mvn -Dtest=ToolCatalogTest,ToolGatewayServiceTest,MetricProfileListToolHandlerTest,MetricsQueryToolHandlerTest test` - `git diff --check` -- 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]
