|
|
|
@ -25,8 +25,17 @@ import java.util.Set;
|
|
|
|
|
import java.util.concurrent.ConcurrentHashMap;
|
|
|
|
|
import java.util.concurrent.TimeUnit;
|
|
|
|
|
|
|
|
|
|
import com.codahale.metrics.Counter;
|
|
|
|
|
import com.codahale.metrics.Gauge;
|
|
|
|
|
import com.codahale.metrics.Histogram;
|
|
|
|
|
import com.codahale.metrics.Meter;
|
|
|
|
|
import com.codahale.metrics.MetricRegistry;
|
|
|
|
|
import com.codahale.metrics.MetricRegistryListener;
|
|
|
|
|
import com.codahale.metrics.Sampling;
|
|
|
|
|
import com.codahale.metrics.Timer;
|
|
|
|
|
import org.apache.commons.logging.Log;
|
|
|
|
|
import org.apache.commons.logging.LogFactory;
|
|
|
|
|
|
|
|
|
|
import org.springframework.beans.BeanUtils;
|
|
|
|
|
import org.springframework.beans.BeanWrapperImpl;
|
|
|
|
|
import org.springframework.boot.actuate.metrics.Metric;
|
|
|
|
@ -35,15 +44,6 @@ import org.springframework.util.LinkedMultiValueMap;
|
|
|
|
|
import org.springframework.util.MultiValueMap;
|
|
|
|
|
import org.springframework.util.StringUtils;
|
|
|
|
|
|
|
|
|
|
import com.codahale.metrics.Counter;
|
|
|
|
|
import com.codahale.metrics.Gauge;
|
|
|
|
|
import com.codahale.metrics.Histogram;
|
|
|
|
|
import com.codahale.metrics.Meter;
|
|
|
|
|
import com.codahale.metrics.MetricRegistry;
|
|
|
|
|
import com.codahale.metrics.MetricRegistryListener;
|
|
|
|
|
import com.codahale.metrics.Sampling;
|
|
|
|
|
import com.codahale.metrics.Timer;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* A Spring Boot {@link MetricReader} that reads metrics from a Dropwizard
|
|
|
|
|
* {@link MetricRegistry}. Gauges and Counters are reflected as a single value. Timers,
|
|
|
|
|