public Rate rate(long value, String name, MetricLevel metricLevel, String... tags) {
    Rate rate = getOrCreateRate(name, metricLevel, tags);
    rate.mark(value);
    return rate;
  }
Mark rate. if exists, then mark rate by value. if not, then create and mark.

@param value the value to mark
@param name the name of name
@param metricLevel the level of name
@param tags string pairs, like sg="ln" will be "sg", "ln"
iotdb-core/metrics/interface/src/main/java/org/apache/iotdb/metrics/AbstractMetricManager.java