Exporting Spring Boot Actuator Metrics (& Dropwizard Metrics) to Statsd
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: I'm trying to export all of the metrics which are visible at the endpoint /metrics to a StatsdMetricWriter . I've got the following configuration class so far: package com . tonyghita . metricsdriven . service . config ; import com . codahale . metrics . MetricRegistry ; import com . ryantenney . metrics . spring . config . annotation . EnableMetrics ; import org . slf4j . Logger ; import org . slf4j . LoggerFactory ; import org . springframework . beans . factory . annotation . Autowired ; import org . springframework . beans .