Measurement
A measurement represents the actual metric that is to be computed. The measurement model object binds the parameters of the function specified in metric-function to the attributes of the schema. This is a schema level object. After defining a measurement in the schema, it can be used in a DimensionHierarchy.
<measurements>
<measurement name="HitCount" unit="hit">
<metric-function ref="System.SUM">
<function-params>
<function-param name="PARAM1" attribute-ref="hit"/>
</function-params>
</metric-function>
</measurement>
</measurements>
The table shows attributes and their equivalent API for the measurement element:
| Attributes | API Usage |
|---|---|
| measurement | Measurement RTASchema.getMeasurement(String name) |
| name | String getName() |
| display-name | String getDisplayName() |
| description | String getDescription() |
| unit | String getUnitOfMeasurement() |
| depends | Collection <Measurement> getDependencies() |
| datatype | DataType getDataType() |
Copyright © Cloud Software Group, Inc. All rights reserved.
