reports.report-proxy.xml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of coherence Show documentation
Show all versions of coherence Show documentation
Oracle Coherence Community Edition
<?xml version="1.0"?> <!-- Copyright (c) 2000, 2021, Oracle and/or its affiliates. Licensed under the Universal Permissive License v 1.0 as shown at http://oss.oracle.com/licenses/upl. --> <!-- The following are tested with the report: Attribute - Simple Attribute - Key Constant Strings Correlated Sub query --> <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}-report-proxy.txt</file-name> <delim>{tab}</delim> <!-- Only include services where Protocol == 'tcp' --> <filters> <filter id="equals"> <type>equals</type> <params> <column-ref>Protocol</column-ref> <column-ref>ConstTCP</column-ref> </params> </filter> </filters> <query> <pattern>Coherence:type=ConnectionManager,*</pattern> <filter-ref>equals</filter-ref> </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="RefreshTime"> <name>RefreshTime</name> </column> <column id="Name"> <type>key</type> <name>name</name> <header>Service Name</header> </column> <column id ="HostIp"> <name>HostIP</name> </column> <column id ="NodeId"> <type>key</type> <name>nodeId</name> <header>NodeId</header> </column> <column id ="ConnectionCount"> <name>ConnectionCount</name> </column> <column id ="ByteBacklog"> <name>OutgoingByteBacklog</name> </column> <column id ="MessageBacklog"> <name>OutgoingMessageBacklog</name> </column> <!-- Delta calculations using Service Name, Node ID and Node TS to determine prior value --> <column id ="BytesSent"> <type>function</type> <header>Bytes Sent</header> <column-ref>TotalBytesSent</column-ref> <function-name>delta</function-name> <params> <column-ref>Name</column-ref> <column-ref>NodeId</column-ref> <column-ref>NodeTS</column-ref> </params> </column> <column id ="BytesReceived"> <type>function</type> <header>Bytes Received</header> <column-ref>TotalBytesReceived</column-ref> <function-name>delta</function-name> <params> <column-ref>Name</column-ref> <column-ref>NodeId</column-ref> <column-ref>NodeTS</column-ref> </params> </column> <column id ="MessagesSent"> <type>function</type> <header>Messages Sent</header> <column-ref>TotalMessagesSent</column-ref> <function-name>delta</function-name> <params> <column-ref>Name</column-ref> <column-ref>NodeId</column-ref> <column-ref>NodeTS</column-ref> </params> </column> <column id ="MessagesReceived"> <type>function</type> <header>Messages Received</header> <column-ref>TotalMessagesReceived</column-ref> <function-name>delta</function-name> <params> <column-ref>Name</column-ref> <column-ref>NodeId</column-ref> <column-ref>NodeTS</column-ref> </params> </column> <!-- Raw Data --> <column id ="NodeTS"> <name>Timestamp</name> <header>Timestamp</header> <query> <pattern>Coherence:type=Node,nodeId={NodeId}</pattern> </query> <hidden>true</hidden> </column> <column id ="TotalBytesSent"> <name>TotalBytesSent</name> <hidden>true</hidden> </column> <column id ="TotalBytesReceived"> <name>TotalBytesReceived</name> <hidden>true</hidden> </column> <column id ="TotalMessagesSent"> <name>TotalMessagesSent</name> <hidden>true</hidden> </column> <column id ="TotalMessagesReceived"> <name>TotalMessagesReceived</name> <hidden>true</hidden> </column> <column id="ConstTCP"> <type>constant</type> <name>ConstTCP</name> <hidden>true</hidden> <data-type>string</data-type> <value>tcp</value> </column> <column id="Protocol"> <name>Protocol</name> <hidden>true</hidden> </column> </row> </report> </report-config>