Options needed for metric creation

1.3.0

interface MetricOptions {
    advice?: @opentelemetry/api.MetricAdvice;
    description?: string;
    unit?: string;
    valueType?: @opentelemetry/api.ValueType;
}

Properties

The advice influencing aggregation configuration parameters.

1.7.0

description?: string

The description of the Metric.

''
unit?: string

The unit of the Metric values.

''

Indicates the type of the recorded value.