JmxReporter sends integer as java.lang.Object

37 views
Skip to first unread message

hystrix fan

unread,
Jan 25, 2017, 11:57:48 AM1/25/17
to metrics-user
I use dropwizard to provide hystrix metrics such gauge.hystrix.HystrixThreadPool.RemoteCallServiceImpl.currentActiveCount via JMX. Unfortunately 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>
Reply all
Reply to author
Forward
0 new messages