MetricSpecification.withUnit(String unit) Method

Definition

Set the unit property: Unit that makes sense for the metric.

public MetricSpecification withUnit(String unit)

Parameters

unit
java.lang.String

the unit value to set.

Returns

the MetricSpecification object itself.

Applies to