From 893654bdd1d71fdf42b21d8ca16c4c18faf6a3ea Mon Sep 17 00:00:00 2001 From: Christian Dupuis Date: Thu, 8 May 2014 16:21:06 +0200 Subject: [PATCH] Update documentation for new HealthIndicator support --- spring-boot-docs/src/main/asciidoc/index.adoc | 2 +- .../src/main/asciidoc/production-ready-features.adoc | 10 +++++++--- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/spring-boot-docs/src/main/asciidoc/index.adoc b/spring-boot-docs/src/main/asciidoc/index.adoc index b8df190aae..68dcd5addd 100644 --- a/spring-boot-docs/src/main/asciidoc/index.adoc +++ b/spring-boot-docs/src/main/asciidoc/index.adoc @@ -1,5 +1,5 @@ = Spring Boot Reference Guide -Phillip Webb; Dave Syer; Josh Long; Stéphane Nicoll; Rob Winch; Andy Wilkinson; Marcel Overdijk; +Phillip Webb; Dave Syer; Josh Long; Stéphane Nicoll; Rob Winch; Andy Wilkinson; Marcel Overdijk; Christian Dupuis; :doctype: book :toc: :toclevels: 4 diff --git a/spring-boot-docs/src/main/asciidoc/production-ready-features.adoc b/spring-boot-docs/src/main/asciidoc/production-ready-features.adoc index d29a8ccf30..3a214e2399 100644 --- a/spring-boot-docs/src/main/asciidoc/production-ready-features.adoc +++ b/spring-boot-docs/src/main/asciidoc/production-ready-features.adoc @@ -162,9 +162,13 @@ To provide custom health information you can register a Spring bean that impleme } ---- -Spring Boot also provides a -{sc-spring-boot-actuator}/health/SimpleHealthIndicator.{sc-ext}[`SimpleHealthIndicator`] -implementation that attempts a simple database test. +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. + +Spring Boot adds the `HealthIndicator` instances automatically if beans of type `DataSource`, +`MongoTemplate` or `RedisConnectionFactory` are present in the `ApplicationContext`.