mirror of https://github.com/apache/druid.git
Merge pull request #1718 from metamx/task-duration
Adds task duration to indexer console for completed tasks.
This commit is contained in:
commit
1715849642
|
@ -539,6 +539,9 @@ public class OverlordResource
|
|||
}
|
||||
if (status.isPresent()) {
|
||||
data.put("statusCode", status.get().getStatusCode().toString());
|
||||
if(status.get().isComplete()) {
|
||||
data.put("duration", status.get().getDuration());
|
||||
}
|
||||
}
|
||||
return data;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue