mirror of
https://github.com/wahyd4/pinpoint.git
synced 2026-08-15 15:55:54 +10:00
[유치수] [NOBTS] 차트 데이터 조회 함수를 각 차트의 js파일로 이동.
git-svn-id: http://svn.bds.nhncorp.com/pe/hippo-web/trunk@1503 84d0f5b1-2673-498c-a247-62c4ff18d310
This commit is contained in:
@@ -6,26 +6,6 @@ function openTrace(uuid, timestamp) {
|
||||
window.open("/selectTransaction.hippo?traceId=" + uuid + "&focusTimestamp=" + timestamp);
|
||||
}
|
||||
|
||||
function getServerMapData2(application, begin, end, callback) {
|
||||
var app = application.split("@");
|
||||
d3.json("/getServerMapData2.hippo?application=" + app[0] + "&serviceType=" + app[1] + "&from=" + begin + "&to=" + end, function(d) { callback(d); });
|
||||
}
|
||||
|
||||
function getLastServerMapData2(application, period, callback) {
|
||||
var app = application.split("@");
|
||||
d3.json("/getLastServerMapData2.hippo?application=" + app[0] + "&serviceType=" + app[1] + "&period=" + period, function(d) { callback(d); });
|
||||
}
|
||||
|
||||
function getServerMapData(application, begin, end, callback) {
|
||||
var app = application.split("@");
|
||||
d3.json("/getServerMapData.hippo?application=" + app[0] + "&from=" + begin + "&to=" + end, function(d) { callback(d); });
|
||||
}
|
||||
|
||||
function getLastServerMapData(application, period, callback) {
|
||||
var app = application.split("@");
|
||||
d3.json("/getLastServerMapData.hippo?application=" + app[0] + "&period=" + period, function(d) { callback(d); });
|
||||
}
|
||||
|
||||
function getQueryPeriod() {
|
||||
return $("#period").find("button.active").val().split(",") * 1000 * 60;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user