This commit is contained in:
Phillip Webb
2014-05-08 16:48:03 +01:00
parent f3a40e03bb
commit 1acffdf649
11 changed files with 34 additions and 27 deletions

View File

@@ -164,8 +164,8 @@ To provide custom health information you can register a Spring bean that impleme
Spring Boot provides a
{sc-spring-boot-actuator}/health/SimpleDatabaseHealthIndicator.{sc-ext}[`SimpleDatabaseHealthIndicator`]
implementation that attempts a simple database test as well as implementations for
Redis and MongoDB.
implementation that attempts a simple database test as well as implementations for
Redis and MongoDB.
Spring Boot adds the `HealthIndicator` instances automatically if beans of type `DataSource`,
`MongoTemplate` or `RedisConnectionFactory` are present in the `ApplicationContext`.