mirror of https://github.com/apache/druid.git
25 lines
646 B
JavaScript
25 lines
646 B
JavaScript
|
// requires tableHelper
|
||
|
|
||
|
var oTable = [];
|
||
|
|
||
|
$(document).ready(function() {
|
||
|
$.get('/mmx/merger/v1/runningTasks', function(data) {
|
||
|
$('.running_loading').hide();
|
||
|
buildTable(data, $('#runningTable'), ["segments"]);
|
||
|
});
|
||
|
|
||
|
$.get('/mmx/merger/v1/pendingTasks', function(data) {
|
||
|
$('.pending_loading').hide();
|
||
|
buildTable(data, $('#pendingTable'), ["segments"]);
|
||
|
});
|
||
|
|
||
|
$.get('/mmx/merger/v1/workers', function(data) {
|
||
|
$('.workers_loading').hide();
|
||
|
buildTable(data, $('#workerTable'));
|
||
|
});
|
||
|
|
||
|
$.get('/mmx/merger/v1/scaling', function(data) {
|
||
|
$('.events_loading').hide();
|
||
|
buildTable(data, $('#eventTable'));
|
||
|
});
|
||
|
});
|