@@ -0,0 +1,650 @@
+package io.micrometer.core.instrument;%0A%0Aimport io.micrometer.core.instrument.simple.SimpleMeterRegistry;%0Aimport org.junit.jupiter.api.Test;%0A%0Aimport java.util.concurrent.TimeUnit;%0Aimport java.util.concurrent.atomic.AtomicLong;%0A%0Aimport static org.assertj.core.api.Assertions.assertThat;%0A%0Aclass TimeGaugeTest %7B%0A    @Test%0A    void hasBaseTimeUnit() %7B%0A        MeterRegistry registry = new SimpleMeterRegistry();%0A%0A        AtomicLong n = new AtomicLong(0);%0A        TimeGauge g = registry.more().timeGauge(%22my.time.gauge%22, Tags.empty(), n, TimeUnit.SECONDS, AtomicLong::doubleValue);%0A%0A        assertThat(g.getId().getBaseUnit()).isEqualTo(%22seconds%22);%0A    %7D%0A%7D

Add base time unit to time gauge ids (fixes #730)