Skip to content

Commit c408461

Browse files
committed
add docs for health type none
1 parent 65e8a1b commit c408461

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

docs/en/actuator.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,13 @@ grpc.server.health-service.type=ACTUATOR
195195
196196
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).
197197
`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.
198+
199+
To prevent any health service from being served by the GRPC server, you can set the type to `NONE`:
200+
201+
````properties
202+
grpc.server.health-service.type=NONE
203+
````
204+
198205
## Opt-Out
199206

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

0 commit comments

Comments
 (0)