data = Maps.newLinkedHashMap();
+ data.put("id", id);
+ if (createdTime.getMillis() > 0) {
+ data.put("createdTime", createdTime);
+ }
+ if (queueInsertionTime.getMillis() > 0) {
+ data.put("queueInsertionTime", queueInsertionTime);
+ }
+ if (status.isPresent()) {
+ data.put("statusCode", status.get().getStatusCode().toString());
+ }
+ return data;
+ }
+ }
}
diff --git a/indexing-service/src/main/resources/indexer_static/console.html b/indexing-service/src/main/resources/indexer_static/console.html
index 6223eee6a1f..e8221aa287e 100644
--- a/indexing-service/src/main/resources/indexer_static/console.html
+++ b/indexing-service/src/main/resources/indexer_static/console.html
@@ -43,16 +43,24 @@
Loading Running Tasks... this may take a few minutes
- Pending Tasks
+ Pending Tasks - Tasks waiting to be assigned to a worker
Loading Pending Tasks... this may take a few minutes
- Workers
+ Waiting Tasks - Tasks waiting on locks
+ Loading Waiting Tasks... this may take a few minutes
+
+
+ Complete Tasks - Tasks recently completed
+ Loading Complete Tasks... this may take a few minutes
+
+
+ Remote Workers
Loading Workers... this may take a few minutes
- Event Log
- Loading Event Log... this may take a few minutes
+ Autoscaling Activity
+ Loading Autoscaling Activities... this may take a few minutes