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