You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@drill.apache.org by ag...@apache.org on 2020/03/04 15:05:46 UTC

[drill] branch master updated: DRILL-7619: Fixed link to the metrics endpoint

This is an automated email from the ASF dual-hosted git repository.

agozhiy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/drill.git


The following commit(s) were added to refs/heads/master by this push:
     new 485b19c  DRILL-7619: Fixed link to the metrics endpoint
485b19c is described below

commit 485b19cedc87a1aee7c617d231dec608584bf9c5
Author: Anton Gozhiy <an...@gmail.com>
AuthorDate: Tue Mar 3 13:03:26 2020 +0200

    DRILL-7619: Fixed link to the metrics endpoint
---
 exec/java-exec/src/main/resources/rest/index.ftl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/exec/java-exec/src/main/resources/rest/index.ftl b/exec/java-exec/src/main/resources/rest/index.ftl
index d8e6853..70ee5d8 100644
--- a/exec/java-exec/src/main/resources/rest/index.ftl
+++ b/exec/java-exec/src/main/resources/rest/index.ftl
@@ -475,7 +475,7 @@
 
       //Update memory
       function updateMetricsHtml(drillbit, isCurrent, idx) {
-        let drillbitURL = isCurrent ? "/status/metrics" : "/status/" + drillbit + "/metrics";
+        let drillbitURL = isCurrent ? "/status/metrics" : "/status/metrics/" + drillbit;
         let result = $.ajax({
           type: 'GET',
           url: drillbitURL,