@Configuration @ConditionalOnClass(value=org.influxdb.InfluxDB.class) @ConditionalOnBean(value=org.influxdb.InfluxDB.class) @ConditionalOnEnabledHealthIndicator(value="influxdb") @AutoConfigureBefore(value=HealthIndicatorAutoConfiguration.class) @AutoConfigureAfter(value=InfluxDbAutoConfiguration.class) public class InfluxDbHealthIndicatorAutoConfiguration extends CompositeHealthIndicatorConfiguration<InfluxDbHealthIndicator,org.influxdb.InfluxDB>
Constructor and Description |
---|
InfluxDbHealthIndicatorAutoConfiguration(Map<String,org.influxdb.InfluxDB> influxDbs) |
Modifier and Type | Method and Description |
---|---|
HealthIndicator |
influxDbHealthIndicator() |
createHealthIndicator, createHealthIndicator
@Bean @ConditionalOnMissingBean(name="influxDbHealthIndicator") public HealthIndicator influxDbHealthIndicator()
Copyright © 2020 Pivotal Software, Inc.. All rights reserved.