mirror of
https://github.com/wahyd4/pinpoint.git
synced 2026-08-16 16:28:48 +10:00
Add jsdoc base code
This commit is contained in:
@@ -1,6 +1,11 @@
|
||||
(function() {
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
* (en)Tooltip for english
|
||||
* @ko 영문 Tooltip
|
||||
* @group Config
|
||||
* @name pinpointApp#helpContent-en
|
||||
*/
|
||||
var oHelp = {
|
||||
navbar : {
|
||||
applicationSelector: {
|
||||
|
||||
@@ -1,6 +1,11 @@
|
||||
(function(){
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
* (en)한국어 Tooltip
|
||||
* @ko 한국어 Tooltip
|
||||
* @group Config
|
||||
* @name pinpointApp#helpContent-ko
|
||||
*/
|
||||
var oHelp = {
|
||||
navbar : {
|
||||
applicationSelector: {
|
||||
|
||||
@@ -1,5 +1,11 @@
|
||||
(function(){
|
||||
'use strict';
|
||||
/**
|
||||
* (en) Template code for tooltip
|
||||
* @ko Tooltip을 위한 Template code
|
||||
* @group Config
|
||||
* @name pinpointApp#helpContentTemplate
|
||||
*/
|
||||
var template = [
|
||||
'<div class="pinpoint-tooltip" style="{{mainStyle}}">',
|
||||
'<dl>',
|
||||
|
||||
@@ -1,6 +1,12 @@
|
||||
(function() {
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
* (en)agentChartGroupDirective
|
||||
* @ko agentChartGroupDirective
|
||||
* @group Directive
|
||||
* @name agentChartGroupDirective
|
||||
* @class
|
||||
*/
|
||||
pinpointApp.constant('agentChartGroupConfig', {
|
||||
POINTS_TIMESTAMP: 0,
|
||||
POINTS_MIN: 1,
|
||||
|
||||
@@ -1,6 +1,12 @@
|
||||
(function() {
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
* (en)agentInfoDirective
|
||||
* @ko agentInfoDirective
|
||||
* @group Directive
|
||||
* @name agentInfoDirective
|
||||
* @class
|
||||
*/
|
||||
pinpointApp.constant('agentInfoConfig', {
|
||||
agentStatUrl: '/getAgentStat.pinpoint'
|
||||
});
|
||||
|
||||
@@ -1,6 +1,12 @@
|
||||
(function() {
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
* (en)agentListDirective
|
||||
* @ko agentListDirective
|
||||
* @group Directive
|
||||
* @name agentListDirective
|
||||
* @class
|
||||
*/
|
||||
pinpointApp.constant('agentListConfig', {
|
||||
agentGroupUrl: '/getAgentList.pinpoint'
|
||||
});
|
||||
|
||||
@@ -1,6 +1,12 @@
|
||||
(function() {
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
* (en)cpuLoadChartDirective
|
||||
* @ko cpuLoadChartDirective
|
||||
* @group Directive
|
||||
* @name cpuLoadChartDirective
|
||||
* @class
|
||||
*/
|
||||
angular.module('pinpointApp').directive('cpuLoadChartDirective', ['$timeout',
|
||||
function ($timeout) {
|
||||
return {
|
||||
|
||||
@@ -1,6 +1,12 @@
|
||||
(function() {
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
* (en)distributedCallFlowDirective
|
||||
* @ko distributedCallFlowDirective
|
||||
* @group Directive
|
||||
* @name distributedCallFlowDirective
|
||||
* @class
|
||||
*/
|
||||
pinpointApp.directive('distributedCallFlowDirective', [ '$filter', '$timeout',
|
||||
function ($filter, $timeout) {
|
||||
return {
|
||||
|
||||
@@ -1,6 +1,12 @@
|
||||
(function() {
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
* (en)jvmMemoryChartDirective
|
||||
* @ko jvmMemoryChartDirective
|
||||
* @group Directive
|
||||
* @name jvmMemoryChartDirective
|
||||
* @class
|
||||
*/
|
||||
angular.module('pinpointApp').directive('jvmMemoryChartDirective', ['$timeout',
|
||||
function ($timeout) {
|
||||
return {
|
||||
|
||||
@@ -1,6 +1,12 @@
|
||||
(function() {
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
* (en)linkInfoDetailsDirective
|
||||
* @ko linkInfoDetailsDirective
|
||||
* @group Directive
|
||||
* @name linkInfoDetailsDirective
|
||||
* @class
|
||||
*/
|
||||
pinpointApp.constant('linkInfoDetailsDirectiveConfig', {
|
||||
linkStatisticsUrl: '/linkStatistics.pinpoint',
|
||||
myColors: ["#2ca02c", "#3c81fa", "#f8c731", "#f69124", "#f53034"],
|
||||
|
||||
@@ -1,6 +1,12 @@
|
||||
(function() {
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
* (en)loadChartDirective
|
||||
* @ko loadChartDirective
|
||||
* @group Directive
|
||||
* @name loadChartDirective
|
||||
* @class
|
||||
*/
|
||||
pinpointApp.constant('loadChartDirectiveConfig', {
|
||||
myColors: ["#2ca02c", "#3c81fa", "#f8c731", "#f69124", "#f53034"]
|
||||
// myColors: ["#c9e7a5", "#bbcdf0", "#fce0b5", "#f69124", "#f53034"]
|
||||
|
||||
@@ -1,6 +1,12 @@
|
||||
(function() {
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
* (en)loadingDirective
|
||||
* @ko loadingDirective
|
||||
* @group Directive
|
||||
* @name loadingDirective
|
||||
* @class
|
||||
*/
|
||||
pinpointApp.directive('loadingDirective', ['$timeout', '$templateCache', '$compile', function ($timeout, $templateCache, $compile) {
|
||||
return {
|
||||
restrict: 'A',
|
||||
|
||||
@@ -1,6 +1,12 @@
|
||||
(function() {
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
* (en)navbarDirective
|
||||
* @ko navbarDirective
|
||||
* @group Directive
|
||||
* @name navbarDirective
|
||||
* @class
|
||||
*/
|
||||
pinpointApp.constant('cfg', {
|
||||
applicationUrl: '/applications.pinpoint',
|
||||
serverTimeUrl: '/serverTime.pinpoint',
|
||||
|
||||
@@ -1,6 +1,12 @@
|
||||
(function() {
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
* (en)nodeInfoDetailsDirective
|
||||
* @ko nodeInfoDetailsDirective
|
||||
* @group Directive
|
||||
* @name nodeInfoDetailsDirective
|
||||
* @class
|
||||
*/
|
||||
pinpointApp.constant('nodeInfoDetailsDirectiveConfig', {
|
||||
applicationStatisticsUrl: '/applicationStatistics.pinpoint',
|
||||
myColors: ["#2ca02c", "#3c81fa", "#f8c731", "#f69124", "#f53034"],
|
||||
|
||||
@@ -1,6 +1,12 @@
|
||||
(function() {
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
* (en)responseTimeChartDirective
|
||||
* @ko responseTimeChartDirective
|
||||
* @group Directive
|
||||
* @name responseTimeChartDirective
|
||||
* @class
|
||||
*/
|
||||
pinpointApp.constant('responseTimeChartDirectiveConfig', {
|
||||
myColors: ["#2ca02c", "#3c81fa", "#f8c731", "#f69124", "#f53034"]
|
||||
});
|
||||
|
||||
@@ -1,6 +1,12 @@
|
||||
(function() {
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
* (en)scatterDirective
|
||||
* @ko scatterDirective
|
||||
* @group Directive
|
||||
* @name scatterDirective
|
||||
* @class
|
||||
*/
|
||||
pinpointApp.constant('scatterDirectiveConfig', {
|
||||
get: {
|
||||
scatterData: '/getScatterData.pinpoint',
|
||||
|
||||
@@ -1,6 +1,12 @@
|
||||
(function() {
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
* (en)serverListDirective
|
||||
* @ko serverListDirective
|
||||
* @group Directive
|
||||
* @name serverListDirective
|
||||
* @class
|
||||
*/
|
||||
pinpointApp.directive('serverListDirective', [ '$timeout', '$window', '$filter', 'helpContentTemplate', 'helpContentService', function ($timeout, $window, $filter, helpContentTemplate, helpContentService) {
|
||||
return {
|
||||
restrict: 'A',
|
||||
|
||||
@@ -1,6 +1,12 @@
|
||||
(function() {
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
* (en)filterInformationDirective
|
||||
* @ko filterInformationDirective
|
||||
* @group Directive
|
||||
* @name filterInformationDirective
|
||||
* @class
|
||||
*/
|
||||
pinpointApp.directive('filterInformationDirective', [ '$filter', '$base64',
|
||||
function ($filter, $base64) {
|
||||
return {
|
||||
|
||||
@@ -1,6 +1,12 @@
|
||||
(function() {
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
* (en)sidebarTitleDirective
|
||||
* @ko sidebarTitleDirective
|
||||
* @group Directive
|
||||
* @name sidebarTitleDirective
|
||||
* @class
|
||||
*/
|
||||
pinpointApp.directive('sidebarTitleDirective', [ '$timeout',
|
||||
function ($timeout) {
|
||||
return {
|
||||
|
||||
@@ -1,6 +1,12 @@
|
||||
(function() {
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
* (en)timeSliderDirective
|
||||
* @ko timeSliderDirective
|
||||
* @group Directive
|
||||
* @name timeSliderDirective
|
||||
* @class
|
||||
*/
|
||||
pinpointApp.constant('timeSliderDirectiveConfig', {
|
||||
scaleCount: 10
|
||||
});
|
||||
|
||||
@@ -1,6 +1,12 @@
|
||||
(function( $ ) {
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
* (en)timelineDirective
|
||||
* @ko timelineDirective
|
||||
* @group Directive
|
||||
* @name timelineDirective
|
||||
* @class
|
||||
*/
|
||||
pinpointApp.directive('timelineDirective', function () {
|
||||
return {
|
||||
restrict: 'EA',
|
||||
|
||||
@@ -1,6 +1,12 @@
|
||||
(function() {
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
* (en)transactionTableDirective
|
||||
* @ko transactionTableDirective
|
||||
* @group Directive
|
||||
* @name transactionTableDirective
|
||||
* @class
|
||||
*/
|
||||
pinpointApp.directive('transactionTableDirective', ['$window', 'helpContentTemplate', 'helpContentService', function ($window, helpContentTemplate, helpContentService) {
|
||||
return {
|
||||
restrict: 'EA',
|
||||
|
||||
@@ -1,6 +1,12 @@
|
||||
(function() {
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
* (en)FilteredMapCtrl
|
||||
* @ko FilteredMapCtrl
|
||||
* @group Controller
|
||||
* @name FilteredMapCtrl
|
||||
* @class
|
||||
*/
|
||||
pinpointApp.controller('FilteredMapCtrl', [ 'filterConfig', '$scope', '$routeParams', '$timeout', 'TimeSliderVoService', 'NavbarVoService', '$window', 'SidebarTitleVoService', 'filteredMapUtilService', '$rootElement',
|
||||
function (cfg, $scope, $routeParams, $timeout, TimeSliderVoService, NavbarVoService, $window, SidebarTitleVoService, filteredMapUtilService, $rootElement) {
|
||||
$at($at.FILTEREDMAP_PAGE);
|
||||
|
||||
@@ -1,6 +1,12 @@
|
||||
(function() {
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
* (en)InspectorCtrl
|
||||
* @ko InspectorCtrl
|
||||
* @group Controller
|
||||
* @name InspectorCtrl
|
||||
* @class
|
||||
*/
|
||||
pinpointApp.controller('InspectorCtrl', [ '$scope', '$timeout', '$routeParams', 'locationService', 'NavbarVoService',
|
||||
function ($scope, $timeout, $routeParams, locationService, NavbarVoService) {
|
||||
$at($at.INSPECTOR_PAGE);
|
||||
|
||||
@@ -1,6 +1,12 @@
|
||||
(function() {
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
* (en)MainCtrl
|
||||
* @ko MainCtrl
|
||||
* @group Controller
|
||||
* @name MainCtrl
|
||||
* @class
|
||||
*/
|
||||
pinpointApp.controller('MainCtrl', [ 'filterConfig', '$scope', '$timeout', '$routeParams', 'locationService', 'NavbarVoService', '$window', 'SidebarTitleVoService', 'filteredMapUtilService', '$rootElement',
|
||||
function (cfg, $scope, $timeout, $routeParams, locationService, NavbarVoService, $window, SidebarTitleVoService, filteredMapUtilService, $rootElement) {
|
||||
$at($at.MAIN_PAGE);
|
||||
|
||||
+7
-1
@@ -1,6 +1,12 @@
|
||||
(function() {
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
* (en)ScatterFullScreenModeCtrl
|
||||
* @ko ScatterFullScreenModeCtrl
|
||||
* @group Controller
|
||||
* @name ScatterFullScreenModeCtrl
|
||||
* @class
|
||||
*/
|
||||
pinpointApp.controller('ScatterFullScreenModeCtrl', [ '$scope', '$rootScope', '$routeParams', '$timeout', 'NavbarVoService',
|
||||
function ($scope, $rootScope, $routeParams, $timeout, NavbarVoService) {
|
||||
$at($at.SCATTER_FULL_SCREEN_PAGE);
|
||||
|
||||
@@ -1,5 +1,12 @@
|
||||
(function() {
|
||||
'use strict';
|
||||
/**
|
||||
* (en)TransactionDetailCtrl
|
||||
* @ko TransactionDetailCtrl
|
||||
* @group Controller
|
||||
* @name TransactionDetailCtrl
|
||||
* @class
|
||||
*/
|
||||
pinpointApp.constant('TransactionDetailConfig', {
|
||||
applicationUrl: '/transactionInfo.pinpoint'
|
||||
});
|
||||
|
||||
@@ -1,6 +1,12 @@
|
||||
(function() {
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
* (en)TransactionListCtrl
|
||||
* @ko TransactionListCtrl
|
||||
* @group Controller
|
||||
* @name TransactionListCtrl
|
||||
* @class
|
||||
*/
|
||||
pinpointApp.constant('TransactionListConfig', {
|
||||
applicationUrl: '/transactionmetadata.pinpoint',
|
||||
MAX_FETCH_BLOCK_SIZE: 100,
|
||||
|
||||
@@ -1,6 +1,12 @@
|
||||
(function() {
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
* (en)TransactionViewCtrl
|
||||
* @ko TransactionViewCtrl
|
||||
* @group Controller
|
||||
* @name TransactionViewCtrl
|
||||
* @class
|
||||
*/
|
||||
pinpointApp.constant('TransactionViewConfig', {
|
||||
applicationUrl: '/transactionInfo.pinpoint'
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user