[Mc4j-cvs] mc4j/application/dashboards/tomcat Tomcat_RequestProcessorTable.xml,NONE,1.1 Tomcat_Servl
Brought to you by:
ghinkl
From: Greg H. <gh...@us...> - 2004-04-07 03:33:18
|
Update of /cvsroot/mc4j/mc4j/application/dashboards/tomcat In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19835/application/dashboards/tomcat Added Files: Tomcat_RequestProcessorTable.xml Tomcat_ServletTable.xml Tomcat_SingleServlet_Graph.xml Log Message: Updated for the new matching semantics and dashboard specs. Reorganized. --- NEW FILE: Tomcat_SingleServlet_Graph.xml --- <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE Dashboard SYSTEM "Dashboard.dtd"> <Dashboard version="1.0" name="Tomcat Servlet Statistics Graph"> <Description>This dashboard shows the statistics of a Tomcat servlet.</Description> <DashboardMatch type="Bean"> <BeanMatch id="ServletNode" type="Single"> <Condition type="BeanObjectNameCondition" filter="j2eeType=Servlet"/> </BeanMatch> </DashboardMatch> <LayoutManager type="java.awt.BorderLayout"/> <Content> <!-- *** Header *** --> <Component type="javax.swing.JPanel"> <Constraint type="BorderConstraints" direction="NORTH"/> <LayoutManager type="java.awt.BorderLayout"/> <Content> <Component type="javax.swing.JLabel" id="titleLable"> <Constraint type="BorderConstraints" direction="CENTER"/> <Attribute name="text" value="DashboardName"/> <Attribute name="font" value="(Literal)Dialog bold 24"/> <Attribute name="foreground" value="(Literal)0xFF2222"/> </Component> <Component type="org.mc4j.console.dashboard.components.RefreshControlComponent"> <Constraint type="BorderConstraints" direction="EAST"/> <Attribute name="refreshDelay" value="(Literal)2000"/> </Component> <Component type="javax.swing.JTextArea"> <Constraint type="BorderConstraints" direction="SOUTH"/> <Attribute name="text" value="DashboardDescription"/> <Attribute name="font" value="(Literal)Dialog bold 16"/> <Attribute name="opaque" value="(Literal)false"/> <Attribute name="editable" value="(Literal)false"/> </Component> </Content> </Component> <!-- *** Scroll pane of info *** --> <Component type="javax.swing.JScrollPane"> <Attribute name="background" value="(Literal)0xFFFFFF"/> <Content> <Component type="javax.swing.JPanel"> <Attribute name="background" value="(Literal)0xFFFFFF"/> <Constraint type="BorderConstraints" direction="CENTER"/> <Attribute name="preferredSize" value="100,100"/> <LayoutManager type="java.awt.BoxLayout" axis="Y_AXIS"/> <Content> <Component type="org.mc4j.console.swing.SectionHolder"> <Attribute name="title" value="(Literal)Request Counts"/> <Attribute name="background" value="(Literal)0xFFFFFF"/> <LayoutManager type="java.awt.GridLayout" rows="1" cols="1"/> <Content> <Component type="org.mc4j.console.dashboard.components.NumericAttributeGraph"> <Attribute name="beanNode" value="ServletNode"/> <Attribute name="preferredSize" value="(Literal)400,150"/> <Attribute name="attributeName" value="(Literal)requestCount"/> <Attribute name="attributeName" value="(Literal)errorCount"/> </Component> </Content> </Component> <Component type="org.mc4j.console.swing.SectionHolder"> <Attribute name="title" value="(Literal)Execution Speed"/> <Attribute name="background" value="(Literal)0xFFFFFF"/> <LayoutManager type="java.awt.GridLayout" rows="1" cols="1"/> <Content> <Component type="org.mc4j.console.dashboard.components.NumericAttributeGraph"> <Attribute name="beanNode" value="ServletNode"/> <Attribute name="preferredSize" value="(Literal)400,150"/> <Attribute name="attributeName" value="(Literal)minTime"/> <Attribute name="attributeName" value="(Literal)maxTime"/> </Component> </Content> </Component> <Component type="org.mc4j.console.swing.SectionHolder"> <Attribute name="title" value="(Literal)Processing Time"/> <Attribute name="background" value="(Literal)0xFFFFFF"/> <LayoutManager type="java.awt.GridLayout" rows="1" cols="1"/> <Content> <Component type="org.mc4j.console.dashboard.components.NumericAttributeGraph"> <Attribute name="beanNode" value="ServletNode"/> <Attribute name="preferredSize" value="(Literal)400,150"/> <Attribute name="attributeName" value="(Literal)processingTime"/> </Component> </Content> </Component> <Component type="org.mc4j.console.dashboard.components.FillerComponent"> <Attribute name="type" value="(Literal)VERTICAL_GLUE_SHAPE"/> </Component> </Content> </Component> </Content> </Component> </Content> </Dashboard> --- NEW FILE: Tomcat_ServletTable.xml --- <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE Dashboard SYSTEM "Dashboard.dtd"> <Dashboard version="1.0" name="Tomcat Servlet Statistics"> <Description>This dashboard shows the statistics of a Tomcat Servlets.</Description> <DashboardMatch type="Global" location="/Tomcat/Web"> <BeanMatch id="ServletList" type="Multiple"> <Condition type="BeanObjectNameCondition" filter="j2eeType=Servlet"/> </BeanMatch> </DashboardMatch> <LayoutManager type="java.awt.BorderLayout"/> <Content> <!-- *** Header *** --> <Component type="javax.swing.JPanel"> <Constraint type="BorderConstraints" direction="NORTH"/> <LayoutManager type="java.awt.BorderLayout"/> <Content> <Component type="javax.swing.JLabel" id="titleLable"> <Constraint type="BorderConstraints" direction="CENTER"/> <Attribute name="text" value="DashboardName"/> <Attribute name="font" value="(Literal)Dialog bold 24"/> <Attribute name="foreground" value="(Literal)0xFF2222"/> </Component> <Component type="org.mc4j.console.dashboard.components.RefreshControlComponent"> <Constraint type="BorderConstraints" direction="EAST"/> <Attribute name="refreshDelay" value="(Literal)2000"/> </Component> <Component type="javax.swing.JTextArea"> <Constraint type="BorderConstraints" direction="SOUTH"/> <Attribute name="text" value="DashboardDescription"/> <Attribute name="font" value="(Literal)Dialog bold 16"/> <Attribute name="opaque" value="(Literal)false"/> <Attribute name="editable" value="(Literal)false"/> </Component> </Content> </Component> <Component type="org.mc4j.console.dashboard.components.AttributeTableComponent"> <Attribute name="beanList" value="ServletList"/> <Constraint type="BorderConstraints" direction="CENTER"/> <Attribute name="background" value="(Literal)0xFFFFFF"/> <Attribute name="preferredSize" value="100,100"/> <Attribute name="AttributeName" value="(Literal)J2EEServer"/> <Attribute name="AttributeName" value="(Literal)J2EEApplication"/> <Attribute name="AttributeName" value="(Literal)WebModule"/> <Attribute name="AttributeName" value="(Literal)name"/> <Attribute name="AttributeName" value="(Literal)requestCount"/> <Attribute name="AttributeName" value="(Literal)processingTime"/> <Attribute name="AttributeName" value="(Literal)minTime"/> <Attribute name="AttributeName" value="(Literal)maxTime"/> <Attribute name="AttributeName" value="(Literal)loadTime"/> <Attribute name="AttributeName" value="(Literal)classLoadTime"/> <Attribute name="AttributeName" value="(Literal)errorCount"/> </Component> </Content> </Dashboard> --- NEW FILE: Tomcat_RequestProcessorTable.xml --- <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE Dashboard SYSTEM "Dashboard.dtd"> <Dashboard version="1.0" name="Request Processor Statistics"> <Description>This dashboard shows the statistics of Tomcat Request Processors.</Description> <DashboardMatch type="Global" location="/Tomcat/Web"> <BeanMatch id="RequestProcessorList" type="Multiple"> <Condition type="BeanObjectNameCondition" filter="type=RequestProcessor"/> </BeanMatch> </DashboardMatch> <LayoutManager type="java.awt.BorderLayout"/> <Content> <!-- *** Header *** --> <Component type="javax.swing.JPanel"> <Constraint type="BorderConstraints" direction="NORTH"/> <LayoutManager type="java.awt.BorderLayout"/> <Content> <Component type="javax.swing.JLabel" id="titleLable"> <Constraint type="BorderConstraints" direction="CENTER"/> <Attribute name="text" value="DashboardName"/> <Attribute name="font" value="(Literal)Dialog bold 24"/> <Attribute name="foreground" value="(Literal)0xFF2222"/> </Component> <Component type="org.mc4j.console.dashboard.components.RefreshControlComponent"> <Constraint type="BorderConstraints" direction="EAST"/> <Attribute name="refreshDelay" value="(Literal)2000"/> </Component> <Component type="javax.swing.JTextArea"> <Constraint type="BorderConstraints" direction="SOUTH"/> <Attribute name="text" value="DashboardDescription"/> <Attribute name="font" value="(Literal)Dialog bold 16"/> <Attribute name="opaque" value="(Literal)false"/> <Attribute name="editable" value="(Literal)false"/> </Component> </Content> </Component> <Component type="org.mc4j.console.dashboard.components.AttributeTableComponent"> <Attribute name="beanList" value="RequestProcessorList"/> <Constraint type="BorderConstraints" direction="CENTER"/> <Attribute name="background" value="(Literal)0xFFFFFF"/> <Attribute name="preferredSize" value="100,100"/> <Attribute name="AttributeName" value="(Literal)name"/> <Attribute name="AttributeName" value="(Literal)worker"/> <Attribute name="AttributeName" value="(Literal)remoteAddr"/> <Attribute name="AttributeName" value="(Literal)protocol"/> <Attribute name="AttributeName" value="(Literal)requestCount"/> <Attribute name="AttributeName" value="(Literal)requestProcessingTime"/> <Attribute name="AttributeName" value="(Literal)maxTime"/> <Attribute name="AttributeName" value="(Literal)bytesSent"/> <Attribute name="AttributeName" value="(Literal)bytesReceived"/> <Attribute name="AttributeName" value="(Literal)processingTime"/> <Attribute name="AttributeName" value="(Literal)errorCount"/> </Component> </Content> </Dashboard> |