Skip to content

Commit

Permalink
add docs for health type none
Browse files Browse the repository at this point in the history
  • Loading branch information
charlesmst committed May 13, 2024
1 parent 65e8a1b commit c408461
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docs/en/actuator.md
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,13 @@ grpc.server.health-service.type=ACTUATOR
The integration allows you to check the health status for the whole service or specific health indicators, where the `service` is the key of the [`HealthIndicator`](https://docs.spring.io/spring-boot/docs/current/reference/html/actuator.html#actuator.endpoints.health.auto-configured-health-indicators).
`Watch` is not yet supported because actuator is pull-based and does not automatically tries to determine the status of the service to notify clients.

To prevent any health service from being served by the GRPC server, you can set the type to `NONE`:

````properties
grpc.server.health-service.type=NONE
````

## Opt-Out

You can opt out from the actuator autoconfiguration using the following annotation:
Expand Down

0 comments on commit c408461

Please sign in to comment.