I use dropwizard to provide hystrix metrics such
gauge.hystrix.HystrixThreadPool.RemoteCallServiceImpl.currentActiveCount via JMX. U
nfortunately JmxReporter sends this values not as integer but as java.lang.Object.
It is possible that JmxReporter sends integer as integer?
My dependencies:
<dependency>
<groupId>io.dropwizard.metrics</groupId>
<artifactId>metrics-core</artifactId>
<version>3.1.2</version>
</dependency>
<dependency>
<groupId>com.netflix.hystrix</groupId>
<artifactId>hystrix-codahale-metrics-publisher</artifactId>
<version>1.5.6</version>
<exclusions>
<exclusion>
<groupId>com.codahale.metrics</groupId>
<artifactId>metrics-core</artifactId>
</exclusion>
</exclusions>
</dependency>