public <T> Gauge<T> registerGauge(String name, Gauge<T> metric) throws IllegalArgumentException {
        return register(name, metric);
    }
@Test
    public void infersGaugeType() {
        Gauge<Long> gauge = registry.registerGauge("gauge", () -> 10_000_000_000L);

        assertThat(gauge.getValue()).isEqualTo(10_000_000_000L);
    }