Description
Hi,
I use Spring Boot 1.3.0 M5.
When I add compile('com.codahale.metrics:metrics-jvm:3.0.1')
dependency to my project standard http-request related metrics are no longer passed to the StatsdMetricsWriter
.
<app-prefix>.gauge.response.greeting:24|g
<app-prefix>.counter.status.200.greeting:2|g
Documentation mentions that that "CounterService and GaugeService are replaced with a DropwizardMetricServices". It happens in MetricsDropwizardAutoConfiguration
and i think this is the reason.
Link to the documentation: http://docs.spring.io/spring-boot/docs/1.3.0.M5/reference/htmlsingle/#production-ready-dropwizard-metrics
I wanted to publish JVM stats from dropwizard and internal request statistics as well. It does not work.
There is one similar StackOverflow thread http://stackoverflow.com/questions/32215723/exporting-spring-boot-actuator-metrics-dropwizard-metrics-to-statsd. After using example code from this thread results are the same. Dropwizard JVM metrics are published to the Statsd daemon, but internal Spring metrics are not.
Is there any way to combine both metric sources ?
Thanks for you help.