com.lightstep.tracer.metrics.GaugeMetric Maven / Gradle / Ivy
package com.lightstep.tracer.metrics;
class GaugeMetric extends Metric {
GaugeMetric(final String name, final Class type, final long factor) {
super(name, type, factor);
}
@Override
T compute(final long current, final long previous) {
return getAdapter().toT(current);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy