public static MetricRegistryInfo createRegistryInfoForWALCoprocessor(String clazz) {
    return new MetricRegistryInfo(suffix(WAL_COPROC_METRICS_NAME, clazz),
      WAL_COPROC_METRICS_DESCRIPTION, suffix(WAL_COPROC_METRICS_JMX_CONTEXT, clazz),
      WAL_COPROC_METRICS_CONTEXT, false);
  }
Utility class for tracking metrics for various types of coprocessors. Each coprocessor instance
creates its own MetricRegistry which is exported as an individual MetricSource. MetricRegistries
are ref counted using the hbase-metric module interfaces.
hbase-server/src/main/java/org/apache/hadoop/hbase/coprocessor/MetricsCoprocessor.java