public static MBeanAttributeInfo[] getMBeanAttributeInfo(ObjectName bean)
    throws IntrospectionException, InstanceNotFoundException, ReflectionException,
    IntrospectionException, javax.management.IntrospectionException {
    MBeanInfo mbinfo = mbServer.getMBeanInfo(bean);
    return mbinfo.getAttributes();
  }
Utility for getting metric values. Collection of static methods intended for easier access to
metric values.
hbase-http/src/main/java/org/apache/hadoop/hbase/util/JSONMetricUtil.java