nginx.jsp
1.21 KB
<%@page language="java" contentType="text/html;charset=utf-8" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme() + "://"
+ request.getServerName() + ":" + request.getServerPort()
+ path + "/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="en" style="height: 98%;">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>AWS Hystrix</title>
</head>
<body style="height: 100%;">
<div style="height: 100%;">
<iframe src="http://nginx-monitor.yohops.com/monitor/monitor.html?streams=%5B%7B%22name%22%3A%22%22%2C%22stream%22%3A%22http%3A%2F%2F127.0.0.1%3A8180%2Fturbine%2Fturbine.stream%3Fcluster%3Dyhpro%22%2C%22auth%22%3A%22%22%2C%22delay%22%3A%22%22%7D%5D"
id="iframepage" frameborder="0" scrolling="yes" width="100%" height="100%">
</iframe>
</div>
<script src="<%=basePath %>js/jquery-1.12.0.min.js" charset="UTF-8" type="text/javascript"></script>
<script type="text/javascript">
setInterval(function(){location.replace(location.href)},20 * 60 * 1000);
</script>
</body>
</html>