[임대현] [NOBTS] Response histogram summary의 데이터를 기존 ajax 통신에서 servermap data를 재활용하는 것으로 변경

git-svn-id: http://svn.bds.nhncorp.com/pe/hippo-web/trunk@2248 84d0f5b1-2673-498c-a247-62c4ff18d310
This commit is contained in:
Denny Lim
2013-09-02 08:06:00 +00:00
parent c49d1143b5
commit e1f12df9fa
@@ -58,6 +58,7 @@ pinpointApp
var renderApplicationStatistics = function (data) {
scope.showNodeInfoBarChart = true;
scope.$digest();
nv.dev = false;
nv.addGraph(function () {
var chart = nv.models.discreteBarChart().x(function (d) {
return d.label;
@@ -102,6 +103,7 @@ pinpointApp
// "serviceType" : serviceType
// };
// getApplicationStatisticsData(params, function (query, result) {
// console.log('result', result);
// renderApplicationStatistics(result.histogramSummary);
// });
// };
@@ -125,10 +127,10 @@ pinpointApp
});
});
}
var histogramData = {
var histogramData = [{
'key' : "Response Time Histogram",
'values': histogram
};
}];
return histogramData;
};
@@ -136,7 +138,7 @@ pinpointApp
reset();
showDetailInformation(query, data);
if (!data.rawdata && data.category !== "USER" && data.category !== "UNKNOWN_GROUP") {
showApplicationStatisticsSummary(query.from, query.to, data.text, data.serviceTypeCode);
// showApplicationStatisticsSummary(query.from, query.to, data.text, data.serviceTypeCode);
var histogramData = extractHistogramFromData(data);
renderApplicationStatistics(histogramData);
}