kevinrr888 commented on code in PR #5894:
URL: https://github.com/apache/accumulo/pull/5894#discussion_r2411365957


##########
server/monitor/src/main/java/org/apache/accumulo/monitor/next/Endpoints.java:
##########
@@ -151,6 +151,18 @@ public MetricResponse getManager() {
     return monitor.getInformationFetcher().getAllMetrics().asMap().get(s);
   }
 
+  @GET

Review Comment:
   I wrote this so we can easily link to just the "metrics" key of the 
"rest-v2/manager" json endpoint via an href:
   `<a href=\"rest-v2/manager/metrics\">Metrics</a>`
   Not sure of a way to easily do this without more custom javascript/html, and 
I think the extra Java code is more maintainable than more js/html



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