code: public static void registerMappingsFromConfig(Registry registry, Config cfg) {
      registry.register(new JmxMeter(registry, JmxConfig.from(cfg)));
    }
docs: Add meters based on configured JMX queries. See the {@link JmxConfig} class for more
  details.
  
  @param registry
  Registry to use for reporting the data.
  @param cfg
  Config object with the mappings.