C Report Group Configuration Elements

The report group configuration reference provides a detailed description of the report group deployment descriptor elements.

This appendix includes the following sections:

Report Group Configuration Deployment Descriptor

The report group deployment descriptor specifies any number of individual reports to create when reporting is enabled. The coherence.jar/reports directory contains two predefined descriptors. The report-group.xml descriptor is the default descriptor and includes a subset of the predefined reports. The report-all.xml descriptor includes all the predefined reports. Modify the predefined report group deployment descriptors or create new report group deployment descriptors as required. The name and location of which report group deployment descriptor to use at run time is configured in the operational deployment descriptor and is overridden in an operational override file. See Switching the Default Report Group Configuration File.

The report group deployment descriptor schema is defined in the coherence-report-group-config.xsd file, which is located in the root of the coherence.jar library and at the following Web URL:

http://xmlns.oracle.com/coherence/coherence-report-group-config/1.1/coherence-report-group-config.xsd

The <report-group> element is the root element of the descriptor and includes the XSD and namespace declarations. For example:

<?xml version='1.0'?>
<report-group xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
   xmlns="http://xmlns.oracle.com/coherence/coherence-report-group-config"
   xsi:schemaLocation="http://xmlns.oracle.com/coherence/coherence-report-group-config
   coherence-report-group-config.xsd">

Note:

  • The schema that is located in the coherence.jar library is always used at run time even if the xsi:schemaLocation attribute references the Web URL.

  • Omit the xsi:schemaLocation attribute to disable schema validation.

  • When deploying Oracle Coherence into environments where the default character set is EBCDIC rather than ASCII, ensure that the deployment descriptor file is in ASCII format and is deployed into its run-time environment in the binary format.

Report Group Element Reference

The report group element reference includes all non-terminal report group configuration elements. Each section includes instructions on how to use the element and also includes descriptions for all valid subelements.

init-param

Used in: init-params

Description

The init-param element contains an initialization parameter for a report. The parameter consists of either a parameter name or type and its value.

Elements

Table C-1 describes the subelements of the init-param element.

Table C-1 init-param Subelements

Element Required/ Optional Description

param-name

Optional

Specifies the name of the initialization parameter.

This element cannot be used with the param-type element.

param-type

Optional

Specifies the Java type of the initialization parameter. The following types are supported:

  • string – Indicates that the value is a java.lang.String

  • long – Indicates that the value is a java.lang.Long

  • double – Indicates that the value is a java.lang.Double

This element cannot be used with the para-name element.

param-value

Required

Specifies the value of the initialization parameter. The value is in a format specific to the type of the parameter.

init-params

Used in: report-config

Description

The init-params element contains a list of initialization parameters.

Elements

Table C-2 describes the subelements of the init-params element.

Table C-2 init-params Subelements

Element Required/ Optional Description

init-param

Optional

Specifies an initialization parameter for a report

report-config

Used in: report-group

Description

The report-config contains the configuration file name and the initialization parameters for the report.

Elements

Table C-3 describes the subelements of the report-config element.

Table C-3 report-config Subelements

Element Required/ Optional Description

location

Required

Specifies a path to a report configuration descriptor that conforms to the coherence-report-config.xsd file. This path is either a file or a URL.

init-params

Optional

Specifies a list of initialization parameters

report-group

Used in: root element

Description

The report-group element describes the report list, the frequency, the report parameters, and the output directory for the batch.

Elements

Table C-4 describes the subelements of the report-group element.

Table C-4 report-group Subelements

Element Required/ Optional Description

frequency

Required

Specifies how often a report batch refreshes. Enter the value in either seconds seconds (s) or minutes (m). For example, a value of 10s refreshes the reports every 10 seconds; a value of 5m refreshes the reports every 5 minutes. Selecting an appropriate frequency is important: if the frequency is too short, the report contains too much data and consumes significant disk space; if the frequency is too long, the report does not contain enough information. In addition, decide on a process for purging and archiving historical information before you enable reporting.

output-directory

Optional

The directory path to prepend to the output file names from the report configuration files. The cluster member must have read/write access to this path.

The <output-directory> element supports an optional system-property attribute. The attribute value is a user-defined name that can be used at runtime to override the configured output location.

The preconfigured system property override that is used in the predefined report group configuration files is coherence.reporter.output.directory.

report-list

Required

Specifies a list of report configurations

report-list

Used in: report-group

Description

The report-list element contains the list of reports to include in the batch.

Elements

Table C-5 describes the subelements of the report-list element.

Table C-5 report-list Subelements

Element Required/ Optional Description

report-config

Required

Specifies the location of the report configuration file and corresponding initialization parameters