Skip to content

Commit 64dcbd5

Browse files
committed
Document JDBC monitor configurations
1 parent 0b8a88b commit 64dcbd5

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

docs/installation.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -386,17 +386,26 @@ method of backend clusters. Configure a username and password by adding
386386
`backendState` to your configuration. The username and password must be valid
387387
across all backends.
388388

389+
Trino Gateway uses `explicitPrepare=false` by default. This property was introduced
390+
in Trino 431, and uses a single query for prepared statements, instead of a
391+
`PREPARE/EXECUTE` pair. If you are using the JDBC health check option with older
392+
versions of Trino, set
393+
```yaml
394+
monitorConfiguration:
395+
explicitPrepare: false
396+
```
397+
389398
```yaml
390399
backendState:
391400
username: "user"
392401
password: "password"
393402
```
394403

395-
The request timeout can be set through
404+
The query timeout can be set through
396405

397406
```yaml
398407
monitor:
399-
requestTimeoutSeconds: 10
408+
queryTimeout: 10
400409
```
401410

402411
Other timeout parameters are not applicable to the JDBC connection.

0 commit comments

Comments
 (0)