mirror of
https://github.com/wahyd4/pinpoint.git
synced 2026-08-17 16:56:15 +10:00
[임대현] [NOBTS] 네이밍 변경
git-svn-id: http://svn.bds.nhncorp.com/pe/hippo-web/trunk@3550 84d0f5b1-2673-498c-a247-62c4ff18d310
This commit is contained in:
@@ -17,7 +17,7 @@ pinpointApp.directive('linkInfoDetails', [ 'linkInfoDetailsConfig', 'HelixChartV
|
||||
var htQuery, htTargetRawData, htLastLink;
|
||||
|
||||
// define private variables of methods;
|
||||
var reset, showDetailInformation, getLinkStatisticsData, renderStatisticsTimeSeriesHistogram,
|
||||
var reset, showDetailInformation, getTimeSeriesHistogramData, renderTimeSeriesHistogram,
|
||||
renderStatisticsSummary, showApplicationStatistics, parseHistogramForD3;
|
||||
|
||||
/**
|
||||
@@ -27,12 +27,12 @@ pinpointApp.directive('linkInfoDetails', [ 'linkInfoDetailsConfig', 'HelixChartV
|
||||
htQuery = false;
|
||||
htLastLink = false;
|
||||
htTargetRawData = false;
|
||||
scope.showLinkInfoDetails = false;
|
||||
scope.linkCategory = null;
|
||||
scope.targetinfo = null;
|
||||
scope.sourceinfo = null;
|
||||
scope.showLinkInfoChart = false;
|
||||
scope.showLinkInfoBarChart = false;
|
||||
scope.showLinkInfoDetails = false;
|
||||
scope.showResponseSummary = false;
|
||||
scope.showLoad = false;
|
||||
if (!scope.$$phase) {
|
||||
scope.$digest();
|
||||
}
|
||||
@@ -89,7 +89,7 @@ pinpointApp.directive('linkInfoDetails', [ 'linkInfoDetailsConfig', 'HelixChartV
|
||||
* @param version
|
||||
* @param callback
|
||||
*/
|
||||
getLinkStatisticsData = function (query, version, callback) {
|
||||
getTimeSeriesHistogramData = function (query, version, callback) {
|
||||
jQuery.ajax({
|
||||
type: 'GET',
|
||||
url: config.linkStatisticsUrl,
|
||||
@@ -114,10 +114,10 @@ pinpointApp.directive('linkInfoDetails', [ 'linkInfoDetailsConfig', 'HelixChartV
|
||||
};
|
||||
|
||||
/**
|
||||
* render statistics timseries histogram
|
||||
* render statistics time series histogram
|
||||
* @param data
|
||||
*/
|
||||
renderStatisticsTimeSeriesHistogram = function (data) {
|
||||
renderTimeSeriesHistogram = function (data) {
|
||||
nv.addGraph(function () {
|
||||
angular.element('.linkInfoDetails .infoChart svg').empty();
|
||||
var chart = nv.models.multiBarChart().x(function (d) {
|
||||
@@ -275,15 +275,15 @@ pinpointApp.directive('linkInfoDetails', [ 'linkInfoDetailsConfig', 'HelixChartV
|
||||
"targetApplicationName": targetApplicationName
|
||||
};
|
||||
|
||||
scope.showLinkInfoChart = true;
|
||||
scope.showLinkInfoBarChart = true;
|
||||
scope.showLoad = true;
|
||||
scope.showResponseSummary = true;
|
||||
renderStatisticsSummary('.linkInfoDetails .infoBarChart svg', parseHistogramForD3(histogram), 'ResponseSummary');
|
||||
|
||||
getLinkStatisticsData(params, 1, function (query, result) {
|
||||
renderStatisticsTimeSeriesHistogram(result.timeSeriesHistogram);
|
||||
getTimeSeriesHistogramData(params, 1, function (query, result) {
|
||||
renderTimeSeriesHistogram(result.timeSeriesHistogram);
|
||||
});
|
||||
|
||||
// getLinkStatisticsData(params, 2, function (query, result) {
|
||||
// getTimeSeriesHistogramData(params, 2, function (query, result) {
|
||||
// var oHelixChartVo = new HelixChartVo();
|
||||
// oHelixChartVo
|
||||
// .setType('stacked_line')
|
||||
|
||||
@@ -50,16 +50,16 @@
|
||||
|
||||
</div>
|
||||
|
||||
<div class='infoBarChart' ng-show="showLinkInfoBarChart">
|
||||
<div class='infoBarChart' ng-show="showResponseSummary">
|
||||
<h5>Response Summary</h5>
|
||||
<svg style='height:150px' />
|
||||
</div>
|
||||
|
||||
<div class='infoChart' ng-show="showLinkInfoChart">
|
||||
<div class='infoChart' ng-show="showLoad">
|
||||
<h5>Load</h5>
|
||||
<svg style='height:150px' />
|
||||
</div>
|
||||
<!--<div ng-if="showLinkInfoChart" style="height:220px;">-->
|
||||
<!--<div ng-if="showLoad" style="height:220px;">-->
|
||||
<!--<h5>Load(Draft)</h5>-->
|
||||
<!--<helix-chart namespace="loadForLinkInfoDetails"></helix-chart>-->
|
||||
<!--</div>-->
|
||||
|
||||
Reference in New Issue
Block a user