@Configuration public class PublicMetricsAutoConfiguration extends Object
Constructor and Description |
---|
PublicMetricsAutoConfiguration(ObjectProvider<List<MetricReader>> metricReadersProvider) |
Modifier and Type | Method and Description |
---|---|
MetricReaderPublicMetrics |
metricReaderPublicMetrics() |
RichGaugeReaderPublicMetrics |
richGaugePublicMetrics(RichGaugeReader richGaugeReader) |
SystemPublicMetrics |
systemPublicMetrics() |
public PublicMetricsAutoConfiguration(@ExportMetricReader ObjectProvider<List<MetricReader>> metricReadersProvider)
@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.