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

DomGarguilo pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/accumulo.git


The following commit(s) were added to refs/heads/main by this push:
     new 806363fee1 Monitor scan page improvements (#6447)
806363fee1 is described below

commit 806363fee1457839750e1725871cacd343b4dc63
Author: Dom G. <[email protected]>
AuthorDate: Fri Jun 26 14:58:44 2026 -0400

    Monitor scan page improvements (#6447)
---
 .../org/apache/accumulo/monitor/resources/js/scans.js         | 11 +++++++++++
 .../resources/org/apache/accumulo/monitor/templates/scans.ftl |  6 +++---
 2 files changed, 14 insertions(+), 3 deletions(-)

diff --git 
a/server/monitor/src/main/resources/org/apache/accumulo/monitor/resources/js/scans.js
 
b/server/monitor/src/main/resources/org/apache/accumulo/monitor/resources/js/scans.js
index be385eecb9..19fe422891 100644
--- 
a/server/monitor/src/main/resources/org/apache/accumulo/monitor/resources/js/scans.js
+++ 
b/server/monitor/src/main/resources/org/apache/accumulo/monitor/resources/js/scans.js
@@ -56,6 +56,15 @@ $(function () {
           return data;
         }
       },
+      {
+        "targets": "scan-state",
+        "render": function (data, type) {
+          if (type === 'display') {
+            return renderActivityState(data === 'IDLE' ? 1 : 0, type);
+          }
+          return data;
+        }
+      },
       {
         "targets": "date",
         "render": function (data, type, row) {
@@ -100,6 +109,8 @@ $(function () {
       }
     ]
   });
+
+  refresh();
 });
 
 
diff --git 
a/server/monitor/src/main/resources/org/apache/accumulo/monitor/templates/scans.ftl
 
b/server/monitor/src/main/resources/org/apache/accumulo/monitor/templates/scans.ftl
index 34fac0f68e..0694442f53 100644
--- 
a/server/monitor/src/main/resources/org/apache/accumulo/monitor/templates/scans.ftl
+++ 
b/server/monitor/src/main/resources/org/apache/accumulo/monitor/templates/scans.ftl
@@ -32,10 +32,10 @@
                 <th>Session ID</th>
                 <th>Client</th>
                 <th>User</th>
-                <th>Scan State</th>
+                <th class="scan-state">Scan State</th>
                 <th>Scan Type</th>
-                <th>Age</th>
-                <th>Idle Time</th>
+                <th class="duration">Age</th>
+                <th class="duration">Idle Time</th>
               </tr>
             </thead>
             <tbody></tbody>

Reply via email to