Skip to content

Commit

Permalink
Merge pull request #36901 from dbirks/fix-formatting
Browse files Browse the repository at this point in the history
Fix formatting in the datasource docs
  • Loading branch information
gsmet authored Nov 7, 2023
2 parents fddb8fc + ae53938 commit d84e47a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/src/main/asciidoc/datasource.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -412,15 +412,15 @@ AgroalDataSource inventoryDataSource;
If you use the link:https://quarkus.io/extensions/io.quarkus/quarkus-smallrye-health[`quarkus-smallrye-health`] extension, the `quarkus-agroal` and reactive client extensions automatically add a readiness health check to validate the datasource.

When you access your application’s health readiness endpoint, `/q/health/ready` by default, you receive information about the datasource validation status.
If you have multiple datasources, all datasources are checked, and if a single datasource validation failure occurs, the status changes to`DOWN`.
If you have multiple datasources, all datasources are checked, and if a single datasource validation failure occurs, the status changes to `DOWN`.

This behavior can be disabled by using the `quarkus.datasource.health.enabled` property.

To exclude only a particular datasource from the health check, use:

[source,properties]
----
`quarkus.datasource."datasource-name".health-exclude=true`
quarkus.datasource."datasource-name".health-exclude=true
----

=== Datasource metrics
Expand Down

0 comments on commit d84e47a

Please sign in to comment.