X-LightYear opened a new pull request, #7281:
URL: https://github.com/apache/rocketmq-dashboard/pull/7281

   ## Summary
   
   - document the configured metrics data-source query endpoint
   - add the missing metrics endpoints to the API interface index
   - describe the `key` parameter, request body, response, and error contract
   
   ## Problem
   
   `MetricsController` exposes `GET /api/metrics/profiles` and `POST 
/api/metrics/query/datasource`, but `docs/api-spec.md` documented only the 
default `POST /api/metrics/query` path.
   
   ## Fix
   
   Add the two endpoints to the API index and document the configured 
data-source query contract without changing runtime behavior.
   
   ## Testing
   
   - `git diff --check`
   - verified the documented paths against `MetricsController`
   - backend compile with Checkstyle: passed
   
   Fixes #7280


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