Skip to content

Commit 160cc96

Browse files
committed
Document JDBC monitor configurations
1 parent f9ec470 commit 160cc96

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
@@ -365,17 +365,26 @@ method of backend clusters. Configure a username and password by adding
365365
`backendState` to your configuration. The username and password must be valid
366366
across all backends.
367367

368+
Trino Gateway uses `explicitPrepare=False` by default. This property was introduced
369+
in Trino 431, and uses a single query for prepared statements, instead of a
370+
`PREPARE/EXECUTE` pair. If you are using the JDBC Health Check option with older
371+
versions of Trino, set
372+
```yaml
373+
monitorConfiguration:
374+
explicitPrepare: false
375+
```
376+
368377
```yaml
369378
backendState:
370379
username: "user"
371380
password: "password"
372381
```
373382

374-
The request timeout can be set through
383+
The query timeout can be set through
375384

376385
```yaml
377386
monitor:
378-
requestTimeoutSeconds: 10
387+
queryTimeout: 10
379388
```
380389

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

0 commit comments

Comments
 (0)