@Configuration @EnableConfigurationProperties(value=MetricsProperties.class) public static class DataFlowControllerAutoConfiguration.MetricsConfiguration extends Object
Constructor and Description |
---|
MetricsConfiguration() |
Modifier and Type | Method and Description |
---|---|
org.springframework.analytics.rest.controller.AggregateCounterController |
aggregateCounterController(org.springframework.analytics.metrics.AggregateCounterRepository repository) |
org.springframework.analytics.rest.controller.CounterController |
counterController(org.springframework.analytics.metrics.redis.RedisMetricRepository metricRepository) |
org.springframework.analytics.rest.controller.FieldValueCounterController |
fieldValueCounterController(org.springframework.analytics.metrics.FieldValueCounterRepository repository) |
MetricsController |
metricsController(MetricStore metricStore) |
MetricStore |
metricStore(MetricsProperties metricsProperties) |
@Bean public MetricStore metricStore(MetricsProperties metricsProperties)
@Bean @ConditionalOnBean(value=org.springframework.analytics.metrics.redis.RedisMetricRepository.class) public org.springframework.analytics.rest.controller.CounterController counterController(org.springframework.analytics.metrics.redis.RedisMetricRepository metricRepository)
@Bean @ConditionalOnBean(value=org.springframework.analytics.metrics.FieldValueCounterRepository.class) public org.springframework.analytics.rest.controller.FieldValueCounterController fieldValueCounterController(org.springframework.analytics.metrics.FieldValueCounterRepository repository)
@Bean @ConditionalOnBean(value=org.springframework.analytics.metrics.AggregateCounterRepository.class) public org.springframework.analytics.rest.controller.AggregateCounterController aggregateCounterController(org.springframework.analytics.metrics.AggregateCounterRepository repository)
@Bean public MetricsController metricsController(MetricStore metricStore)
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.