IBM BPM, V8.0.1, All platforms > Authoring services in Integration Designer > Developing monitor models > What are monitor models? > Monitor XML schema definition (monitor.xsd) > XML schema (monitor.xsd) description

MeasureType

MeasureType identifies a metric, counter, or stopwatch that is to be used as a measure within a cube. MeasureType also identifies the function that can be used against the metric, counter, or stopwatch. The functions are enumerated by the AggregationType.

Elements

Name Min-max Description
description 0 - 1 A user-provided description of the measure.

Attributes

Name Required or optional Type Description
source Required String The metric, counter, or stopwatch that is the source for the measure.
trackingKey Optional String An additional string that can be associated with a measure for the purpose of retrieving actual values collected during monitoring and returning them to WebSphere Business Modeler.
aggregationType Required AggregationType One of the valid aggregation types defined in AggregationType.
id Required String The unique identifier of the element.
displayName Optional String The name to display in the Monitor Model editor and Business Monitor dashboards. If a displayName is not provided, the ID attribute is used.

Restrictions

  • The ID attribute must not be InstancesCount, which is a reserved ID.

  • The source attribute must point to a valid metric in the associated monitoring context.

  • If the metric referenced by source has type Integer or Decimal, the aggregationType must be one of the values avg, count, max, min, or sum.

  • If the metric referenced by source has type Date, DateTime, or Time, the aggregationType must be one of the values count, max, or min.

  • If the metric referenced by source has type Duration, the aggregationType must be one of the values avg, count, max, min, or sum.

  • If the metric referenced by source has type Boolean or String, the aggregationType must be count.

Schema definition

<xsd:complexType name="MeasureType" >
    <xsd:complexContent>
        <xsd:extension base="mon:NamedElementType">
            <xsd:attribute name="source" type="xsd:string"
                use="required"/>
            <xsd:attribute name="aggregationType" 
                type="mon:AggregationType" use="required"/>
            <xsd:attribute name="trackingKey" type="xsd:string"
                use="optional"/>
        </xsd:extension>
    </xsd:complexContent>
</xsd:complexType>

XML schema (monitor.xsd) description