Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

60 lines (57 sloc) 2.477 kb
<html>
<head>
<link href="/stylesheets/master.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="/javascripts/jquery-1.2.6.js"></script>
<script type="text/javascript" src="/javascripts/domec.js"></script>
<script type="text/javascript" src="/javascripts/jquery.timer.js"></script>
<script type="text/javascript" src="/javascripts/canvastext.js"></script>
<script type="text/javascript" src="/javascripts/drawarrows.js"></script>
<script type="text/javascript" src="/javascripts/color.js"></script>
<script type="text/javascript" src="/javascripts/viz.js"></script>
<script type="text/javascript">
$(document).ready(function(data) {
$.getJSON("/rpc/info/stats", function(stats) {
$("#node").text(stats.node);
$.getJSON("/rpc/info/partitions", function(partitions) {
$.getJSON("/rpc/info/nodes", function(nodes) {
$.getJSON("/rpc/syncs_running/cluster", function(syncs) {
$.getJSON("/rpc/diff_size/cluster", function(diff_sizes) {
var canvas = document.getElementById("canvas");
drawSync(nodes, partitions, stats.member_nodes, syncs, diff_sizes, canvas);
});
});
});
});
});
$.timer(1000, function(timer) {
$.getJSON("/rpc/info/stats", function(stats) {
$.getJSON("/rpc/info/partitions", function(partitions) {
$.getJSON("/rpc/info/nodes", function(nodes) {
$.getJSON("/rpc/syncs_running/cluster", function(syncs) {
$.getJSON("/rpc/diff_size/cluster", function(diff_sizes) {
var canvas = document.getElementById("canvas");
drawSync(nodes, partitions, stats.member_nodes, syncs, diff_sizes, canvas);
});
});
});
});
});
});
});
</script>
</head>
<body>
<div class="header"><!-- <img src="/images/dynomite_logo.png" style="float: right;"/> -->
<h1>Dynomite</h1>
<h2>Replication for <span id="node"></span></h2>
</div>
<ul id="menu">
<li><a href="/index.html">Health</a></li>
<li><a href="/load.html">Load</a></li>
<li>Replication</li>
<li><a href="/partitions.html">Partitioning</a></li>
</ul>
<canvas id="canvas" width="800" height="600"></canvas>
</ul>
</body>
</html>
Jump to Line
Something went wrong with that request. Please try again.