Please refer "AS-BAM application and server monitoring - Overall
Architecture" mail thread on [email protected] for context details.

The AS Agent will collect the connector level stats periodically using the
MBeans provided by Catalina. Then it publish them to the BAM using several
data streams.

Here are the possible stats that can be collected.

    *Mbean* *Attribute* *Description* *Example*  Connector
Get List of Connectors 9443, 9763
port


protocol
Http11NioProtocol
scheme
Http / https



 Cache
Get Cache details per each context. Cache details of /jaxrs_basic
accessCount


cacheSize


hitsCount





 GlobalRequestProcessor
Requests processed per each Connector Requests processed on Http-nio-9443
bytesSent


bytesReceived


errorCount


processingTime


requestCount





 JspMonitor
Per each WebappContext JSP details of /examples
jspCount


jspReloadCount


jspUnloadCount





 Manager
Session details per each context Session details of /example
activeSessions


rejectedSessions


expiredSessions


sessionCounter





 Servlet
Per each Servlet loaded Details of JaggeryServlet
classLoadTime


errorCount


loadTime


processingTime


requestCount





 ThreadPool
The details of each threadpool i.e. http-nio-9763 thread pool
connectionCount


currentThreadCount


currentThreadsBusy


keepAliveCount





 WebModule
Per each webapp Overall details about /example
errorCount


processingTime


requestCount


*BAM Data Stream Definition(s)*

These data can be categorized as:

1. Stats per Connector from Connector, GlobalRequestProcessor, ThreadPool
MBeans
2. Stats per Webapp Context from WebModule, Manager, JspMonitor & Cache
MBeans
3. Stats per Servlet from Servlet MBean.

So It should have three different Streams to represent these data.

*Data Streams:*

Connector Data Stream

Columns:
connectorName, port, scheme, bytesSent, bytesReceived, errorCount,
processingTime, requestCount, connectionCount, currentThreadCount,
currentThreadsBusy, keepAliveCount

Context Data Stream

Columns:
context, errorCount, processingTime, requestCount, activeSessions,
rejectedSessions, expiredSessions, jspCount, jspReloadCount,
jspUnloadCount, accessCount, hitsCount, cacheSize

Servlet Data Stream:
servlet, context, classLoadTime, errorCount, loadTime, processingTime,
requestCount

Please be kind enough to add your valuable feedback.

-- 
K.D. Chamil Jeewantha
Associate Technical Lead
WSO2, Inc.;  http://wso2.com
Mobile: +94716813892
_______________________________________________
Architecture mailing list
[email protected]
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture

Reply via email to