@Configuration @EnableConfigurationProperties(value=SimpleProperties.class) public class SimpleExportConfiguration extends Object
SimpleMeterRegistry
.Constructor and Description |
---|
SimpleExportConfiguration() |
Modifier and Type | Method and Description |
---|---|
io.micrometer.core.instrument.Clock |
clock() |
MetricsExporter |
simpleExporter(io.micrometer.core.instrument.Clock clock) |
@Bean @ConditionalOnProperty(value="spring.metrics.simple.enabled", matchIfMissing=true) @ConditionalOnMissingBean(value=MetricsExporter.class) public MetricsExporter simpleExporter(io.micrometer.core.instrument.Clock clock)
@Bean @ConditionalOnMissingBean public io.micrometer.core.instrument.Clock clock()
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.