Java 类org.springframework.boot.actuate.metrics.reader.MetricRegistryMetricReader 实例源码

项目:https-github.com-g0t4-jenkins2-course-spring-boot    文件:MetricsDropwizardAutoConfiguration.java   
@Bean
public MetricReaderPublicMetrics dropwizardPublicMetrics(
        MetricRegistry metricRegistry) {
    MetricRegistryMetricReader reader = new MetricRegistryMetricReader(
            metricRegistry);
    return new MetricReaderPublicMetrics(reader);
}
项目:spring-boot-concourse    文件:MetricsDropwizardAutoConfiguration.java   
@Bean
public MetricReaderPublicMetrics dropwizardPublicMetrics(
        MetricRegistry metricRegistry) {
    MetricRegistryMetricReader reader = new MetricRegistryMetricReader(
            metricRegistry);
    return new MetricReaderPublicMetrics(reader);
}
项目:contestparser    文件:MetricsDropwizardAutoConfiguration.java   
@Bean
public MetricReaderPublicMetrics dropwizardPublicMetrics(
        MetricRegistry metricRegistry) {
    MetricRegistryMetricReader reader = new MetricRegistryMetricReader(
            metricRegistry);
    return new MetricReaderPublicMetrics(reader);
}
项目:HeliosStreams    文件:ActuatedMetricRegistryMetricReader.java   
/**
 * Exports a metric reader
 * @return a metric reader
 */
@Bean
@ExportMetricReader
public MetricReader metricReader() {
    return new MetricRegistryMetricReader(sharedRegistry);
}