EDDN/contrib/monitor/index.html
2015-05-06 09:23:42 +02:00

109 lines
4.5 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>EDDN Status</title>
<!-- Bootstrap -->
<link href="css/bootstrap.min.css" rel="stylesheet">
<link href="css/eddn.css" rel="stylesheet">
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
<script src="js/jquery.min.js"></script>
<script src="js/date.js"></script>
</head>
<body>
<div class="container">
<div class="panel panel-default">
<div class="panel-heading">
<h1>EDDN Status</h1>
</div>
<div class="panel-body">
<p>This page shows transaction information (messages sent/received) for key points of the EDDN, over a one-, five- and sixty-minute period. Values automatically update every minute.</p>
<h2>Gateway</h2>
<table class="table">
<thead>
<tr>
<td class="form-inline">
<select id="gateway" class="form-control">
<option value="http://eddn-gateway.elite-markets.net:8080/stats/">eddn-gateway.elite-markets.net</option>
</select>
</td>
<th>1 min</th>
<th>5 min</th>
<th>60 min</th>
</tr>
</thead>
<tbody>
<tr>
<th>Messages received</th>
<td id="gateway_inbound_1min" class="stat">-</td>
<td id="gateway_inbound_5min" class="stat">-</td>
<td id="gateway_inbound_60min" class="stat">-</td>
</tr>
<tr>
<th>Invalid messages</th>
<td id="gateway_invalid_1min" class="stat">-</td>
<td id="gateway_invalid_5min" class="stat">-</td>
<td id="gateway_invalid_60min" class="stat">-</td>
</tr>
<tr>
<th>Messages passed to relay</th>
<td id="gateway_outbound_1min" class="stat">-</td>
<td id="gateway_outbound_5min" class="stat">-</td>
<td id="gateway_outbound_60min" class="stat">-</td>
</tr>
</tbody>
</table>
<p class="text-muted small">EDDN version <span id="gateway_version">N/A</span>. Uptime: <span id="gateway_uptime">N/A</span>. Last updated <span id="update_gateway_timestamp">N/A</span></p>
<h2>Relay</h2>
<table class="table">
<thead>
<tr>
<td class="form-inline">
<select id="relay" class="form-control">
<option value="http://eddn-relay.elite-markets.net:9090/stats/">eddn-relay.elite-markets.net</option>
</select>
</td>
<th>1 min</th>
<th>5 min</th>
<th>60 min</th>
</tr>
</thead>
<tbody>
<tr>
<th>Messages received</th>
<td id="relay_inbound_1min" class="stat">-</td>
<td id="relay_inbound_5min" class="stat">-</td>
<td id="relay_inbound_60min" class="stat">-</td>
</tr>
<tr>
<th>Messages passed to subscribers</th>
<td id="relay_outbound_1min" class="stat">-</td>
<td id="relay_outbound_5min" class="stat">-</td>
<td id="relay_outbound_60min" class="stat">-</td>
</tr>
</tbody>
</table>
<p class="text-muted small">EDDN version <span id="relay_version">N/A</span>. Uptime: <span id="relay_uptime">N/A</span>. Last updated <span id="update_relay_timestamp">N/A</span></p>
</div>
<div class="panel-footer">
<p>The <em>Elite: Dangerous Data Network</em> is volunteer-run and not affiliated with Frontier Developments.</p>
</div>
</div>
</div>
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<!-- Include all compiled plugins (below), or include individual files as needed -->
<script src="js/bootstrap.min.js"></script>
<script src="js/eddn.js"></script>
</body>
</html>