@Configuration public class PublicMetricsAutoConfiguration extends Object
Constructor and Description |
---|
PublicMetricsAutoConfiguration(org.springframework.beans.factory.ObjectProvider<List<MetricReader>> metricReaders) |
Modifier and Type | Method and Description |
---|---|
MetricReaderPublicMetrics |
metricReaderPublicMetrics() |
RichGaugeReaderPublicMetrics |
richGaugePublicMetrics(RichGaugeReader richGaugeReader) |
SystemPublicMetrics |
systemPublicMetrics() |
public PublicMetricsAutoConfiguration(@ExportMetricReader org.springframework.beans.factory.ObjectProvider<List<MetricReader>> metricReaders)
@Bean public SystemPublicMetrics systemPublicMetrics()
@Bean public MetricReaderPublicMetrics metricReaderPublicMetrics()
@Bean @ConditionalOnBean(value=RichGaugeReader.class) public RichGaugeReaderPublicMetrics richGaugePublicMetrics(RichGaugeReader richGaugeReader)
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.