提交 f672f3f9 编写于 作者: NoSubject's avatar NoSubject

重庆移动特有的日志监控

上级 f3608f7f
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<link rel="stylesheet" type="text/css" href="css/style.css" charset="UTF-8" />
<link rel="stylesheet" href="css/mBoxNotice.css" charset="UTF-8" />
<link rel="stylesheet" href="css/mBoxTooltip.css" charset="UTF-8" />
<title></title>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<link rel="stylesheet" type="text/css" href="css/style.css?v=-87026e5" charset="UTF-8" />
<link rel="stylesheet" href="css/mBoxNotice.css?v=-f060151" charset="UTF-8" />
<link rel="stylesheet" href="css/mBoxTooltip.css?v=-4e9e25a" charset="UTF-8" />
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
</head>
<body style="overflow: auto; margin:0px; height: 100%;">
<div id="appContent" style="overflow: hidden; height:100%; background-color:#EEE">
<div id="loaddingArea" style="overflow: hidden;width:0px; height:2px; background-color:#4e82bd; position: absolute; top: 0; z-index: 100"></div>
</div>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
</head>
<body style="overflow: auto; margin:0px; height: 100%;">
<div id="appContent" style="overflow: hidden; height:100%; background-color:#EEE">
<div id="loaddingArea" style="overflow: hidden;width:0px; height:2px; background-color:#4e82bd; position: absolute; top: 0; z-index: 100"></div>
</div>
<script src="../o2_core/o2.min.js"></script>
<script src="../o2_lib/Decimal.js"></script>
<script src="js/base.min.js"></script>
<script src="js/app.min.js"></script>
</body>
<script src="../o2_core/o2.min.js?v=-a844120"></script>
<script src="../o2_lib/Decimal.js?v=-21db036"></script>
<script src="js/base.min.js?v=-86c763d"></script>
<script src="js/app.min.js?v=-86c763d"></script>
<script src="js/insight-1.0.7.min.js"></script>
<script>
function insightLoad(){
INSIGHT.init({
UpUrl: 'http://10.191.16.250:9094/cpa-server/beacon',
AutoXHR: {
instrument_xhr: true,
alwaysSendXhr: function(urls){
// 过滤掉含有 .html 和含有 operationMonitor/addTimeMonitor 的xhr请求
if (urls.indexOf('.html') > -1 || urls.indexOf('operationMonitor/addTi meMonitor') > -1) {
return false;
}
return true;
},
monitorFetch: true,
captureXhrRequestResponse: true
},
SPA: 'enable',
Errors: {
monitorConsole: true,
monitorGlobal: true,
monitorNetwork: true,
monitorEvents: true,
monitorTimeout: true,
sendAfterOnload: true,
sendInterval: true
},
History: {
enable: true,
auto: true
},
ResourceTiming: 'enable',
Memory: 'enable',
Mobile: 'enable',
NavigationTiming: 'enable',
RT: 'enable',
UserId: function () {
return layout.session.user.distinguishedName.split("@")[1];
},
UserName: function (){
return layout.session.user.name;
},
ServiceName: function(){
return '新OA系统';
},
ExtInfo: function() {
return {key: 'value'};
}
});
}
layout.addReady(function(){
if (layout.session && layout.session.user){
insightLoad();
}else{
if (layout.sessionPromise){
layout.sessionPromise.then(function(){
insightLoad();
},function(){});
}
}
});
</script>
</body>
</html>
......@@ -3,72 +3,136 @@
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<link rel="stylesheet" type="text/css" href="css/style.css" charset="UTF-8" />
<link rel="stylesheet" href="css/mBoxNotice.css" charset="UTF-8" />
<link rel="stylesheet" href="css/mBoxTooltip.css" charset="UTF-8" />
<link rel="stylesheet" type="text/css" href="css/style.css?v=-87026e5" charset="UTF-8" />
<link rel="stylesheet" href="css/mBoxNotice.css?v=-f060151" charset="UTF-8" />
<link rel="stylesheet" href="css/mBoxTooltip.css?v=-4e9e25a" charset="UTF-8" />
<title>O2</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
</head>
<body>
<div id="layout_main" style="overflow: hidden; height: 100%; background-position-x: center; background-size: cover;">
<div id="layout_top_shim"></div>
<div id="layout_top"></div>
<div id="layout_desktop">
<div id="desktop_content"></div>
<div id="desktop_navi"></div>
</div>
<div id="layout_main" style="overflow: hidden; height: 100%; background-position-x: center; background-size: cover;">
<div id="layout_top_shim"></div>
<div id="layout_top"></div>
<div id="layout_desktop">
<div id="desktop_content"></div>
<div id="desktop_navi"></div>
</div>
</div>
<div id="loaddingArea" style="z-index: 200001;overflow: hidden;width:0px; height:2px; background-color:#999999; position: absolute; top: 0;"></div>
<div id="browser_loading" style="z-index: 200000;background-image: url(img/loading_home3.gif); background-position: center center; background-repeat: no-repeat; overflow: hidden; position: absolute; top: 0px; left: 0px; width: 100%; height: 100%;background-color: #ffffff"></div>
<div id="loaddingArea" style="z-index: 200001;overflow: hidden;width:0px; height:2px; background-color:#999999; position: absolute; top: 0;"></div>
<div id="browser_loading" style="z-index: 200000;background-image: url(img/loading_home3.gif); background-position: center center; background-repeat: no-repeat; overflow: hidden; position: absolute; top: 0px; left: 0px; width: 100%; height: 100%;background-color: #ffffff"></div>
<div id="appContent" style="overflow: hidden; height: 100%;"></div>
<div id="appContent" style="overflow: hidden; height: 100%;"></div>
<div id="browser_error" style="overflow: hidden; position: absolute; top: 0px; left: 0px; width: 100%; height: 100%; display: none;background: #f1f1f1">
<div style="height:540px; width: 920px; overflow: hidden; margin: 8% auto;">
<div id="browser_error_area" style="height:540px; width: 920px;"></div>
<div style="height:540px; width: 920px; position: relative; top: -540px">
<div style="background-image: url(img/warn1.png); background-repeat: no-repeat; background-position:center center; width: 90px; height: 80px; float:left; margin-left: 144px; margin-top: 74px"></div>
<div style="color: #333333; width: 530px; height: 80px; float:left; margin-left: 30px; margin-top: 74px; font-size: 28px; line-height: 40px;" id="browser_error_area_text">
您的浏览器版本过低啦!~系统已经不支持IE9及以下版本了!
</div>
<div style="color: #666666; width: 650px; text-align:center; height: 50px; float:left; margin-left: 144px; margin-top: 60px; font-size: 28px; line-height: 40px; border-bottom: 2px solid #999999" id="browser_error_area_up_text">
请升级您的浏览器:
</div>
<div style="width: 100px; height: 100px; float:left; margin-left: 144px; margin-top: 20px">
<div style="background-position: center; background-repeat: no-repeat; background-image: url(img/logo_edge.png); width: 100px; height: 100px;"></div>
<div style="width: 100px; height: 40px; font-size: 24px; color: #666666; line-height: 40px; text-align: center">Edge</div>
</div>
<div id="browser_error" style="overflow: hidden; position: absolute; top: 0px; left: 0px; width: 100%; height: 100%; display: none;background: #f1f1f1">
<div style="height:540px; width: 920px; overflow: hidden; margin: 8% auto;">
<div id="browser_error_area" style="height:540px; width: 920px;"></div>
<div style="height:540px; width: 920px; position: relative; top: -540px">
<div style="background-image: url(img/warn1.png); background-repeat: no-repeat; background-position:center center; width: 90px; height: 80px; float:left; margin-left: 144px; margin-top: 74px"></div>
<div style="color: #333333; width: 530px; height: 80px; float:left; margin-left: 30px; margin-top: 74px; font-size: 28px; line-height: 40px;" id="browser_error_area_text">
您的浏览器版本过低啦!~系统已经不支持IE9及以下版本了!
</div>
<div style="color: #666666; width: 650px; text-align:center; height: 50px; float:left; margin-left: 144px; margin-top: 60px; font-size: 28px; line-height: 40px; border-bottom: 2px solid #999999" id="browser_error_area_up_text">
请升级您的浏览器:
</div>
<div style="width: 100px; height: 100px; float:left; margin-left: 144px; margin-top: 20px">
<div style="background-position: center; background-repeat: no-repeat; background-image: url(img/logo_edge.png); width: 100px; height: 100px;"></div>
<div style="width: 100px; height: 40px; font-size: 24px; color: #666666; line-height: 40px; text-align: center">Edge</div>
</div>
<div style="width: 100px; height: 100px; float:left; margin-left: 80px; margin-top: 20px">
<div style="background-position: center; background-repeat: no-repeat;background-image: url(img/logo_chrome.png); width: 100px; height: 100px;"></div>
<div style="width: 100px; height: 40px; font-size: 24px; color: #666666; line-height: 40px; text-align: center">Chrome</div>
</div>
<div style="width: 100px; height: 100px; float:left; margin-left: 80px; margin-top: 20px">
<div style="background-position: center; background-repeat: no-repeat;background-image: url(img/logo_chrome.png); width: 100px; height: 100px;"></div>
<div style="width: 100px; height: 40px; font-size: 24px; color: #666666; line-height: 40px; text-align: center">Chrome</div>
</div>
<div style="width: 100px; height: 100px; float:left; margin-left: 80px; margin-top: 20px">
<div style="background-position: center; background-repeat: no-repeat;background-image: url(img/logo_firefox.png); width: 100px; height: 100px;"></div>
<div style="width: 100px; height: 40px; font-size: 24px; color: #666666; line-height: 40px; text-align: center">Firefox</div>
</div>
<div style="width: 100px; height: 100px; float:left; margin-left: 80px; margin-top: 20px">
<div style="background-position: center; background-repeat: no-repeat;background-image: url(img/logo_firefox.png); width: 100px; height: 100px;"></div>
<div style="width: 100px; height: 40px; font-size: 24px; color: #666666; line-height: 40px; text-align: center">Firefox</div>
</div>
<div style="width: 100px; height: 100px; float:left; margin-left: 80px; margin-top: 20px">
<div style="background-position: center; background-repeat: no-repeat;background-image: url(img/logo_safari.png); width: 100px; height: 100px;"></div>
<div style="width: 100px; height: 40px; font-size: 24px; color: #666666; line-height: 40px; text-align: center">Safari</div>
</div>
<div style="width: 100px; height: 100px; float:left; margin-left: 80px; margin-top: 20px">
<div style="background-position: center; background-repeat: no-repeat;background-image: url(img/logo_safari.png); width: 100px; height: 100px;"></div>
<div style="width: 100px; height: 40px; font-size: 24px; color: #666666; line-height: 40px; text-align: center">Safari</div>
</div>
</div>
</div>
<script type="javascript">
if (!window.FormData || !window.WebSocket || !window.JSON){
var loadingNode = document.getElementById("browser_loading");
var errorNode = document.getElementById("browser_error");
if (loadingNode) loadingNode.style.display = "none";
if (errorNode) errorNode.style.display = "block";
}
</script>
</div>
<script type="javascript">
if (!window.FormData || !window.WebSocket || !window.JSON){
var loadingNode = document.getElementById("browser_loading");
var errorNode = document.getElementById("browser_error");
if (loadingNode) loadingNode.style.display = "none";
if (errorNode) errorNode.style.display = "block";
}
</script>
<script src="../o2_core/o2.min.js?v=-16128a9"></script>
<script src="js/base.min.js?v=-16128a9"></script>
<script src="js/x.min.js?v=-16128a9"></script>
<script src="../o2_lib/Decimal.js?v=-21db036"></script>
<script src="js/insight-1.0.7.min.js"></script>
<script>
<script src="../o2_core/o2.min.js"></script>
<script src="js/base.min.js"></script>
<script src="js/x.min.js"></script>
<script src="../o2_lib/Decimal.js"></script>
function insightLoad(){
INSIGHT.init({
UpUrl: 'http://10.191.16.250:9094/cpa-server/beacon',
AutoXHR: {
instrument_xhr: true,
alwaysSendXhr: function(urls){
// 过滤掉含有 .html 和含有 operationMonitor/addTimeMonitor 的xhr请求
if (urls.indexOf('.html') > -1 || urls.indexOf('operationMonitor/addTi meMonitor') > -1) {
return false;
}
return true;
},
monitorFetch: true,
captureXhrRequestResponse: true
},
SPA: 'enable',
Errors: {
monitorConsole: true,
monitorGlobal: true,
monitorNetwork: true,
monitorEvents: true,
monitorTimeout: true,
sendAfterOnload: true,
sendInterval: true
},
History: {
enable: true,
auto: true
},
ResourceTiming: 'enable',
Memory: 'enable',
Mobile: 'enable',
NavigationTiming: 'enable',
RT: 'enable',
UserId: function () {
return layout.session.user.distinguishedName.split("@")[1];
},
UserName: function (){
return layout.session.user.name;
},
ServiceName: function(){
return '新OA系统';
},
ExtInfo: function() {
return {key: 'value'};
}
});
}
layout.addReady(function(){
if (layout.session && layout.session.user){
insightLoad();
}else{
if (layout.sessionPromise){
layout.sessionPromise.then(function(){
insightLoad();
},function(){});
}
}
});
</script>
</body>
</html>
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<link rel="stylesheet" type="text/css" href="css/style_all.css" charset="UTF-8" />
<link rel="icon" href="data:;">
<title>WORK</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
</head>
<body style="height: 100%; overflow: auto; margin:0px">
<div id="appContent" style="overflow: auto; height:100%">
<div id="loaddingArea" style="overflow: hidden;width:0px; height:2px; background-color:#4e82bd; position: absolute; top: 0; z-index: 100"></div>
</div>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<link rel="stylesheet" type="text/css" href="css/style_all.css?v=-c5e16c0" charset="UTF-8" />
<link rel="icon" href="data:;">
<title>WORK</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
</head>
<body style="height: 100%; overflow: auto; margin:0px">
<div id="appContent" style="overflow: auto; height:100%">
<div id="loaddingArea" style="overflow: hidden;width:0px; height:2px; background-color:#4e82bd; position: absolute; top: 0; z-index: 100"></div>
</div>
<script src="../o2_core/o2.min.js"></script>
<script src="js/base_work.min.js"></script>
<script src="js/work.min.js"></script>
<script src="../o2_lib/Decimal.js"></script>
</body>
<script src="../o2_core/o2.min.js?v=-0caa184"></script>
<script src="js/base_work.min.js?v=-0caa184"></script>
<script src="js/work.min.js?v=-0caa184"></script>
<script src="../o2_lib/Decimal.js?v=-21db036"></script>
<script src="js/insight-1.0.7.min.js"></script>
<script>
function insightLoad(){
INSIGHT.init({
UpUrl: 'http://10.191.16.250:9094/cpa-server/beacon',
AutoXHR: {
instrument_xhr: true,
alwaysSendXhr: function(urls){
// 过滤掉含有 .html 和含有 operationMonitor/addTimeMonitor 的xhr请求
if (urls.indexOf('.html') > -1 || urls.indexOf('operationMonitor/addTi meMonitor') > -1) {
return false;
}
return true;
},
monitorFetch: true,
captureXhrRequestResponse: true
},
SPA: 'enable',
Errors: {
monitorConsole: true,
monitorGlobal: true,
monitorNetwork: true,
monitorEvents: true,
monitorTimeout: true,
sendAfterOnload: true,
sendInterval: true
},
History: {
enable: true,
auto: true
},
ResourceTiming: 'enable',
Memory: 'enable',
Mobile: 'enable',
NavigationTiming: 'enable',
RT: 'enable',
UserId: function () {
return layout.session.user.distinguishedName.split("@")[1];
},
UserName: function (){
return layout.session.user.name;
},
ServiceName: function(){
return '新OA系统';
},
ExtInfo: function() {
return {key: 'value'};
}
});
}
layout.addReady(function(){
if (layout.session && layout.session.user){
insightLoad();
}else{
if (layout.sessionPromise){
layout.sessionPromise.then(function(){
insightLoad();
},function(){});
}
}
});
</script>
</body>
</html>
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册