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