All Downloads are FREE. Search and download functionalities are using the official Maven repository.

reports.report-memory-status.xml Maven / Gradle / Ivy

There is a newer version: 24.09
Show newest version
<?xml version="1.0"?>
<!--
  Copyright (c) 2000, 2024, Oracle and/or its affiliates.

  Licensed under the Universal Permissive License v 1.0 as shown at
  https://oss.oracle.com/licenses/upl.
-->

<report-config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
               xmlns="http://xmlns.oracle.com/coherence/coherence-report-config"
               xsi:schemaLocation="http://xmlns.oracle.com/coherence/coherence-report-config coherence-report-config.xsd">
			  
    <report>
      <file-name>{date}-memory-status.txt</file-name>
      <delim>{tab}</delim>

      <query>
        <pattern>Coherence:type=Platform,Domain=java.lang,subType=GarbageCollector,*</pattern>
      </query>

      <row>
        <column id="BatchCounter">
          <type>global</type>
          <name>{batch-counter}</name>
          <header>Batch Counter</header>
        </column>

        <column id ="ReportTime">
          <type>global</type>
          <name>{report-time}</name>
          <header>Report Time</header>
        </column>

        <column id ="Uptime">
          <name>Uptime</name>
          <header>JVM Uptime</header>
          <query>
            <pattern>Coherence:type=Platform,Domain=java.lang,subType=Runtime,nodeId={NodeId},*</pattern>
          </query>
        </column>

        <column id ="NodeId">
          <type>key</type>
          <name>nodeId</name>
          <header>Node Id</header>
        </column>

        <column id ="NodeTS">
          <name>Timestamp</name>
          <header>Timestamp</header>
          <query>
            <pattern>Coherence:type=Node,nodeId={NodeId}</pattern>
          </query>
          <hidden>true</hidden>
        </column>

        <column id ="GCName">
          <type>key</type>
          <name>name</name>
          <header>GC Name</header>
        </column>

        <column id="GCCount">
          <name>CollectionCount</name>
        </column>

        <column id="DeltaCount">
          <type>function</type>
          <name>DeltaCollectionCount</name>
          <header>Delta Collection Count</header>
          <column-ref>GCCount</column-ref>
          <function-name>delta</function-name>
          <params>
            <column-ref>NodeId</column-ref>
            <column-ref>NodeTS</column-ref>
            <column-ref>GCName</column-ref>
          </params>
        </column>

        <column id="GCTime">
          <name>CollectionTime</name>
        </column>

        <column id="DeltaTime">
          <type>function</type>
          <name>DeltaCollectionTime</name>
          <header>Delta Collection Time</header>
          <column-ref>GCTime</column-ref>
          <function-name>delta</function-name>
          <params>
            <column-ref>NodeId</column-ref>
            <column-ref>NodeTS</column-ref>
            <column-ref>GCName</column-ref>
          </params>
        </column>

        <column id="LastGCStart">
          <type>attribute</type>
          <name>LastGcInfo/startTime</name>
          <header>Last GC Start Time</header>
        </column>

        <column id="LastGCDuration">
          <type>function</type>
          <header>Last GC Duration Millis</header>
          <function-name>subtract</function-name>
          <params>
            <column-ref>LastGCStop</column-ref>
            <column-ref>LastGCStart</column-ref>
          </params>
        </column>

        <column id="LastGCStop">
          <type>attribute</type>
          <name>LastGcInfo/endTime</name>
          <header>Last GC Stop Time</header>
          <hidden>true</hidden>
        </column>

        <column id="HeapCommitted">
          <type>attribute</type>
          <name>HeapMemoryUsage/committed</name>
          <header>Heap Committed</header>
          <query>
            <pattern>Coherence:type=Platform,Domain=java.lang,subType=Memory,nodeId={NodeId},*</pattern>
          </query>
        </column>

        <column id="HeapInit">
          <type>attribute</type>
          <name>HeapMemoryUsage/init</name>
          <header>Heap Init</header>
          <query>
            <pattern>Coherence:type=Platform,Domain=java.lang,subType=Memory,nodeId={NodeId},*</pattern>
          </query>
        </column>

        <column id="HeapMax">
          <type>attribute</type>
          <name>HeapMemoryUsage/max</name>
          <header>Heap Max</header>
          <query>
            <pattern>Coherence:type=Platform,Domain=java.lang,subType=Memory,nodeId={NodeId},*</pattern>
          </query>
        </column>

        <column id="HeapUsed">
          <type>attribute</type>
          <name>HeapMemoryUsage/used</name>
          <header>Heap Used</header>
          <query>
            <pattern>Coherence:type=Platform,Domain=java.lang,subType=Memory,nodeId={NodeId},*</pattern>
          </query>
        </column>

        <column id="HeapCommittedMB">
          <type>function</type>
          <name>HeapCommittedMB</name>
          <header>Heap Committed MB</header>
          <function-name>divide</function-name>
          <params>
            <column-ref>HeapCommitted</column-ref>
            <column-ref>ConstMB</column-ref>
          </params>
        </column>

        <column id="HeapInitMB">
          <type>function</type>
          <name>HeapInitMB</name>
          <header>Heap Init MB</header>
          <function-name>divide</function-name>
          <params>
            <column-ref>HeapInit</column-ref>
            <column-ref>ConstMB</column-ref>
          </params>
        </column>

        <column id="HeapMaxMB">
          <type>function</type>
          <name>HeapMaxMB</name>
          <header>Heap Max MB</header>
          <function-name>divide</function-name>
          <params>
            <column-ref>HeapMax</column-ref>
            <column-ref>ConstMB</column-ref>
          </params>
        </column>

        <column id="HeapUsedMB">
          <type>function</type>
          <name>HeapUsedMB</name>
          <header>Heap Used MB</header>
          <function-name>divide</function-name>
          <params>
            <column-ref>HeapUsed</column-ref>
            <column-ref>ConstMB</column-ref>
          </params>
        </column>

        <column id="ConstMB">
          <type>constant</type>
          <name>ConstMB</name>
          <hidden>true</hidden>
          <data-type>double</data-type>
          <value>1048576</value>
        </column>
      </row>
    </report>
</report-config>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy