class JvmAttributeGaugeSet implements MetricSet {

    @Override
    public Map<String, Metric> getMetrics() {
        final Map<String, Metric> gauges = new HashMap<>();

        gauges.put("name", (Gauge<String>) runtime::getName);
        gauges.put("vendor", (Gauge<String>) () -> String.format(Locale.US,
                "%s %s %s (%s)",
                runtime.getVmVendor(),
                runtime.getVmName(),
                runtime.getVmVersion(),
                runtime.getSpecVersion()));
        gauges.put("uptime", (Gauge<Long>) runtime::getUptime);

        return Collections.unmodifiableMap(gauges);
    }

    public  JvmAttributeGaugeSet();
    public  JvmAttributeGaugeSet(RuntimeMXBean runtime);

}