Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
S
spring-boot
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
DEMO
spring-boot
Commits
e104b341
Commit
e104b341
authored
Jun 03, 2014
by
Christian Dupuis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix HealthIndicator documentation
fixes #1018
parent
a6702f5b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
production-ready-features.adoc
...oot-docs/src/main/asciidoc/production-ready-features.adoc
+2
-2
No files found.
spring-boot-docs/src/main/asciidoc/production-ready-features.adoc
View file @
e104b341
...
@@ -163,14 +163,14 @@ To provide custom health information you can register a Spring bean that impleme
...
@@ -163,14 +163,14 @@ To provide custom health information you can register a Spring bean that impleme
----
----
Spring Boot provides a
Spring Boot provides a
{sc-spring-boot-actuator}/health/
SimpleDatabaseHealthIndicator.{sc-ext}[`SimpleDatabas
eHealthIndicator`]
{sc-spring-boot-actuator}/health/
DataSourceHealthIndicator.{sc-ext}[`DataSourc
eHealthIndicator`]
implementation that attempts a simple database test as well as implementations for
implementation that attempts a simple database test as well as implementations for
Redis, MongoDB and RabbitMQ.
Redis, MongoDB and RabbitMQ.
Spring Boot adds the `HealthIndicator` instances automatically if beans of type `DataSource`,
Spring Boot adds the `HealthIndicator` instances automatically if beans of type `DataSource`,
`MongoTemplate`, `RedisConnectionFactory`, `RabbitTemplate` are present in the `ApplicationContext`.
`MongoTemplate`, `RedisConnectionFactory`, `RabbitTemplate` are present in the `ApplicationContext`.
Besides implementing custom
`HealthIndicator`s
and using out-of-box {sc-spring-boot-actuator}/health/Status.{sc-ext}[`Status`]
Besides implementing custom
a `HealthIndicator` type
and using out-of-box {sc-spring-boot-actuator}/health/Status.{sc-ext}[`Status`]
types, it is also possible to introduce custom `Status` types for different or more complex system
types, it is also possible to introduce custom `Status` types for different or more complex system
states. In that case a custom implementation of the {sc-spring-boot-actuator}/health/HealthAggregator.{sc-ext}[`HealthAggregator`]
states. In that case a custom implementation of the {sc-spring-boot-actuator}/health/HealthAggregator.{sc-ext}[`HealthAggregator`]
interface needs to be provided or the default implementation has to be configured using the
interface needs to be provided or the default implementation has to be configured using the
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment