MeterFactory { public static Gauge.Builder gauge(String name, Supplier<Double> supplier) { return new Gauge.Builder(name, supplier); }  static Counter.Builder counter(String name); static Gauge.Builder gauge(String name, Supplier<Double> supplier); static Histogram.Builder histogram(String name);  }
@Test public void testGauge() { final Gauge gauge = MeterFactory.gauge("test_gauge", () -> 1d) .tag("testA", "testB") .build(); testGauge(gauge, "test_gauge", new String[] {"testA", "testB"}, 1.0); }