Cube

Cubes are a logical grouping of related hierarchies.

<cube>
 <hierarchy name="ByService">
     <properties>
       <property name="storage-schema" value="ByService"/>
    </properties>
      <dimensions>
        <dimension ref="service_name" compute="false"/>
        <dimension ref="application_name" compute="false"/>
        <dimension ref="environment" compute="false"/>
        <dimension ref="node" compute="false"/>
        <dimension ref="host" compute="false"/>
        <dimension ref="service_type" compute="false"/>
        <dimension ref="weeks"/>
        <dimension ref="days"/>
        <dimension ref="hours"/>
        <dimension ref="minutes"/>
      </dimensions>
      <measurement-refs>
        <measurement ref="HitCount"/>
        <measurement ref="SuccessCount"/>
        <measurement ref="FaultCount"/>
        <measurement ref="AvgResponseTime"/>
        <measurement ref="TP5ResponseTime"/>
        <measurement ref="TP95ResponseTime"/>
      </measurement-refs>
    </hierarchy>
  </hierarchies>
</cube>

The table shows attributes and their equivalent API for the cube element:

API for the Cube Element
Attributes API Usage
cube Cube RTASchema.getCube(String name)
name String getName()
display-name String getDisplayName()
description String getDescription()