mirror of
https://github.com/wahyd4/pinpoint.git
synced 2026-08-16 08:16:15 +10:00
[임대현] [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:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user