createMeasurement<T extends num> method
Creates a measurement with the given value and optional attributes.
Measurements are used with metric instruments to record data points.
@param value The numeric value of the measurement @param attributes Optional attributes to associate with this measurement @return A new Measurement instance
Implementation
Measurement<T> createMeasurement<T extends num>(T value,
[Attributes? attributes]) {
return MeasurementCreate.create(value, attributes);
}