This is documentation for Caché & Ensemble.

For information on converting to InterSystems IRIS, see the InterSystems IRIS Adoption Guide and the InterSystems IRIS In-Place Conversion Guide, both available on the WRC Distributions page (login required).

Home > Class Reference > ENSLIB namespace > Ens.DataType.Metric

Ens.DataType.Metric

datatype class Ens.DataType.Metric extends %Library.Float

ODBC Type: DOUBLE

Represents a value within a Business Metric class

Method Inventory (Including Private)

Parameters

parameter AUTOHISTORY = 0;
For multidimensional metrics: if this is set to a non-zero value, then the Metric class will automatically maintain a history of values for this property. The author of the OnCalculate method needs only set to the current value for the metric into the top (non-subscripted) node of the property.
The number of values maintained is specified by the value of this parameter.
Specfies a default URL to provide drill down information for this metric.
This is used by the Dashboard to provide a drill down page for any meters connected to this metric.
parameter RANGELOWER = 0;
Default value for RangeLower for a metric
parameter RANGEUPPER = 100;
Default value for RangeUpper for a metric
parameter THRESHOLDLOWER = 0;
Default value for ThresholdLower for a metric
parameter THRESHOLDUPPER = 100;
Default value for ThresholdUpper for a metric
parameter UNITS;
Units used by this metric (e.g., Dollars, Percentage, etc.)
This is used solely for documentation purposes

Methods (Including Private)

classmethod Points() as %String
Default number of points for a chart based on this property.
classmethod RangeLower() as %String
classmethod RangeUpper() as %String
classmethod ThresholdLower() as %String
classmethod ThresholdUpper() as %String
classmethod Units() as %String

Inherited Members

Inherited Methods (Including Private)

Feedback