
monitor.monitoringAppStatsPage.inc Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of console-common Show documentation
Show all versions of console-common Show documentation
This bundle contains common code that may be shared across plugins.
The newest version!
#include "/common/shared/commonHandlers.inc"
$attribute{monitorList} FirstItem=>$attribute{firstVal});
if(!#{viewVal}) {
setAttribute(key="viewVal" value="#{firstVal}");
}
if(#{viewVal}) {
setPageSessionAttribute(key="viewVal" value="#{viewVal}");
}
if(#{cVal}) {
setPageSessionAttribute(key="cVal" value="#{cVal}");
}
getAppName(endpoint="#{sessionScope.REST_URL}/applications/application" name="#{viewVal}", appName=>$attribute{appValue}, appFullName=>$attribute{appFullName});
//To get the sub components of a module
if(#{viewVal}) {
setAttribute(key="isAppScopedresourcesComp" value="$boolean{false}");
if(#{cVal}) {
startsWith(testStr="#{cVal}" pattern="resources/" result=>$attribute{isAppScopedresourcesComp});
}
if(!#{isAppScopedresourcesComp}) {
createMap(result="#{requestScope.attrsMap}");
mapPut(map="#{requestScope.attrsMap}" key="id" value="#{viewVal}");
mapPut(map="#{requestScope.attrsMap}" key="appname" value="#{appValue}");
gf.restRequest(
endpoint="#{sessionScope.REST_URL}/applications/application/#{appValue}/list-sub-components"
attrs="#{requestScope.attrsMap}"
method="GET"
result="#{requestScope.result}" );
setPageSessionAttribute(key="propsMap" value="#{requestScope.result.data.properties}");
}
}
getWebStatsUrl(app="#{appFullName}",
compVal="#{cVal}",
monitorURL="#{pageSession.monitorURL}",
vsList="#{pageSession.vsList}",
moduleProps="#{pageSession.propsMap}",
webServletUrl=>$attribute{webServletUrl},
webUrl=>$attribute{webUrl},
webServletType=>$attribute{webServletType},
webType=>$attribute{webType});
getStatsUrl(app="#{appFullName}",
compVal="#{cVal}",
monitorURL="#{pageSession.monitorURL}",
moduleProps="#{pageSession.propsMap}",
statUrl=>$attribute{statUrl},
statType=>$attribute{statType});
}
if("#{pageSession.isMonitoringOff}") {
setPageSessionAttribute(key="displayPropSection" value="#{false}");
}
}
if("!#{requestScope.isInstanceRunning}"){
setPageSessionAttribute(key="displayPropSection" value="#{false}");
setAttribute(key="instanceRunningAlert" value="#{true}");
}
calculateHelpUrl(pluginId="#{pluginId}", helpKey: "$resource{help_web.monitorApps}", url="#{olhLink}");
/>
#include "/common/shared/nameSection.inc"
"
$attribute{componentList});
/>
$page{dropDownId});
/>
$page{tableId});
/>
$attribute{jerseyStatsList} hasStats=>$attribute{hasStatsJersey});
/>
#include "/common/monitor/monitoringTableRows.inc"
"
$attribute{MDBAppStatsList} hasStats=>$attribute{hasStatsMDBApp});
/>
#include "/common/monitor/monitoringTableRows.inc"
"
$attribute{EntityBeanStatsList} hasStats=>$attribute{hasStatsEntityBean});
/>
#include "/common/monitor/monitoringTableRows.inc"
"
$attribute{SingletonBeanStatsList} hasStats=>$attribute{hasStatsSingletonBean});
/>
#include "/common/monitor/monitoringTableRows.inc"
"
$attribute{SfullStatsList} hasStats=>$attribute{hasStatsSfull});
/>
#include "/common/monitor/monitoringTableRows.inc"
"
$attribute{SlessStatsList} hasStats=>$attribute{hasStatsSless});
/>
#include "/common/monitor/monitoringTableRows.inc"
"
$attribute{EJBTimerStatsList} hasStats=>$attribute{hasStatsEJBTimer});
/>
#include "/common/monitor/monitoringTableRows.inc"
"
$attribute{EjbMethodStatsList} hasStats=>$attribute{hasStatsEjbMethod});
/>
#include "/common/monitor/monitoringTableRows.inc"
"
$attribute{EjbCacheStatsList} hasStats=>$attribute{hasStatsEjbCache});
/>
#include "/common/monitor/monitoringTableRows.inc"
"
$attribute{EjbPoolStatsList} hasStats=>$attribute{hasStatsEjbPool});
/>
#include "/common/monitor/monitoringTableRows.inc"
"
$attribute{AppScopedResStatsList} hasStats=>$attribute{hasStatsAppScopedRes});
/>
#include "/common/monitor/monitoringTableRows.inc"
"
$attribute{wmStatsList} hasStats=>$attribute{hasStatsWMS});
/>
#include "/common/monitor/monitoringTableRows.inc"
"
//Refer the issue #13647 for login stats.
//
// $attribute{loginStatsList} hasStats=>$attribute{hasStatsLogin});
// />
$attribute{servletInstanceList} hasStats=>$attribute{hasStatsSI});
/>
#include "/common/monitor/monitoringTableRows.inc"
"
$attribute{servletList} hasStats=>$attribute{hasStatsSS});
filterWebStats(webStats="$attribute{servletList}", statType="Servlet", stats=>$attribute{servletList});
/>
#include "/common/monitor/monitoringTableRows.inc"
"
$attribute{sessionList} hasStats=>$attribute{hasStatsSSP});
filterWebStats(webStats="$attribute{sessionList}", statType="Session", stats=>$attribute{sessionList});
/>
#include "/common/monitor/monitoringTableRows.inc"
"
$attribute{requestStatsList} hasStats=>$attribute{hasStatsWR});
filterWebStats(webStats="$attribute{requestStatsList}", statType="Request", stats=>$attribute{requestStatsList});
/>
#include "/common/monitor/monitoringTableRows.inc"
"
$attribute{jspStatsList} hasStats=>$attribute{hasStatsJSP});
filterWebStats(webStats="$attribute{jspStatsList}", statType="Jsp", stats=>$attribute{jspStatsList});
/>
#include "/common/monitor/monitoringTableRows.inc"
"
© 2015 - 2025 Weber Informatics LLC | Privacy Policy