Package com.influxdb.spring.health
Class InfluxDB2HealthIndicatorAutoConfiguration
java.lang.Object
org.springframework.boot.actuate.autoconfigure.health.AbstractCompositeHealthContributorConfiguration<org.springframework.boot.actuate.health.HealthContributor,InfluxDB2HealthIndicator,InfluxDBClient>
org.springframework.boot.actuate.autoconfigure.health.CompositeHealthContributorConfiguration<InfluxDB2HealthIndicator,InfluxDBClient>
com.influxdb.spring.health.InfluxDB2HealthIndicatorAutoConfiguration
@Configuration(proxyBeanMethods=false)
@ConditionalOnClass(com.influxdb.client.InfluxDBClient.class)
@ConditionalOnBean(com.influxdb.client.InfluxDBClient.class)
@ConditionalOnEnabledHealthIndicator("influx")
@AutoConfigureAfter(InfluxDB2AutoConfiguration.class)
public class InfluxDB2HealthIndicatorAutoConfiguration
extends org.springframework.boot.actuate.autoconfigure.health.CompositeHealthContributorConfiguration<InfluxDB2HealthIndicator,InfluxDBClient>
Auto-configuration
for InfluxDB2HealthIndicator
.- Author:
- Jakub Bednar
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.boot.actuate.health.HealthContributor
influxDbHealthContributor
(Map<String, InfluxDBClient> influxDBClients) Methods inherited from class org.springframework.boot.actuate.autoconfigure.health.CompositeHealthContributorConfiguration
createComposite
Methods inherited from class org.springframework.boot.actuate.autoconfigure.health.AbstractCompositeHealthContributorConfiguration
createContributor, createIndicator
-
Constructor Details
-
InfluxDB2HealthIndicatorAutoConfiguration
public InfluxDB2HealthIndicatorAutoConfiguration()
-
-
Method Details
-
influxDbHealthContributor
@Bean @ConditionalOnMissingBean(name={"influxDB2HealthIndicator","influxDB2HealthContributor"}) public org.springframework.boot.actuate.health.HealthContributor influxDbHealthContributor(Map<String, InfluxDBClient> influxDBClients)
-