Interface MetricOptions

Options needed for metric creation

interface MetricOptions {
    advice?: MetricAdvice;
    description?: string;
    unit?: string;
    valueType?: ValueType;
}

Properties

advice?: MetricAdvice

The advice influencing aggregation configuration parameters.

description?: string

The description of the Metric.

Default

''
unit?: string

The unit of the Metric values.

Default

''
valueType?: ValueType

Indicates the type of the recorded value.

Default

{@link ValueType.DOUBLE}