package io.quarkus.micrometer.runtime.binder;

import io.micrometer.core.instrument.Gauge;
import io.micrometer.core.instrument.MeterRegistry;
import io.micrometer.core.instrument.binder.MeterBinder;

public class JVMInfoBinder implements MeterBinder {

    @Override
    public void bindTo(MeterRegistry registry) {
        Gauge.builder("jvm_info", () -> 1L)
                .description("JVM version info")
                .tags("version", System.getProperty("java.runtime.version", "unknown"),
                        "vendor", System.getProperty("java.vm.vendor", "unknown"),
                        "runtime", System.getProperty("java.runtime.name", "unknown"))
                .strongReference(true)
                .register(registry);
    }
}

@@ -77,21 +77,23 @@
 trument.
-Gauge
+Counter
 ;%0Aimport
@@ -324,13 +324,15 @@
     
-Gauge
+Counter
 .bui
@@ -350,18 +350,8 @@
 nfo%22
-, () -%3E 1L
 )%0A  
@@ -659,47 +659,8 @@
 %22))%0A
-                .strongReference(true)%0A
     
@@ -690,16 +690,45 @@
 egistry)
+%0A                .increment()
 ;%0A    %7D%0A

Use counter for JVM Info