public static MetricsSource createLockMetricsSource(String label) {
    Preconditions.checkNotNull(label);
    Preconditions.checkArgument(!label.contains("\""),
        "Label can't contain quote (\")");
    return new LockMetricSource(label);
  }
Factory method for new metric collections.
You can create and use a single <code>MetricsSource</code> collection for
multiple R/W locks. This makes sense if several locks belong to a single
group and you're then interested in the accumulated values for the whole
group, rather than the single lock instance. The passed in label is
supposed to identify the group uniquely.

@param label The group identifier for lock statistics
llap-common/src/java/org/apache/hadoop/hive/llap/metrics/ReadWriteLockMetrics.java