Skip to content

Commit

Permalink
Document JDBC monitor configurations
Browse files Browse the repository at this point in the history
  • Loading branch information
willmostly committed Jan 14, 2025
1 parent 0b8a88b commit 64dcbd5
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions docs/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -386,17 +386,26 @@ method of backend clusters. Configure a username and password by adding
`backendState` to your configuration. The username and password must be valid
across all backends.

Trino Gateway uses `explicitPrepare=false` by default. This property was introduced
in Trino 431, and uses a single query for prepared statements, instead of a
`PREPARE/EXECUTE` pair. If you are using the JDBC health check option with older
versions of Trino, set
```yaml
monitorConfiguration:
explicitPrepare: false
```

```yaml
backendState:
username: "user"
password: "password"
```

The request timeout can be set through
The query timeout can be set through

```yaml
monitor:
requestTimeoutSeconds: 10
queryTimeout: 10
```

Other timeout parameters are not applicable to the JDBC connection.
Expand Down

0 comments on commit 64dcbd5

Please sign in to comment.