Skip to content

Commit 59c9621

Browse files
Fix installation docs on monitor configuration
* Fix installation docs by replacing monitorConfiguration with monitor * Fix explicitPrepare description
1 parent 396369c commit 59c9621

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

docs/installation.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,7 @@ are the minimum or maximum values (inclusive) that are considered healthy. By de
419419
the only metric populated is:
420420

421421
```yaml
422-
monitorConfiguration:
422+
monitor:
423423
metricMinimumValues:
424424
trino_metadata_name_DiscoveryNodeManager_ActiveNodeCount: 1
425425
```
@@ -430,7 +430,7 @@ worker count to 10 and disqualify clusters that have been experiencing frequent
430430
Collections, set
431431

432432
```yaml
433-
monitorConfiguration:
433+
monitor:
434434
metricMinimumValues:
435435
trino_metadata_name_DiscoveryNodeManager_ActiveNodeCount: 10
436436
metricMaximumValues:
@@ -446,19 +446,19 @@ method of backend clusters. Configure a username and password by adding
446446
`backendState` to your configuration. The username and password must be valid
447447
across all backends.
448448

449+
```yaml
450+
backendState:
451+
username: "user"
452+
password: "password"
453+
```
454+
449455
Trino Gateway uses `explicitPrepare=false` by default. This property was introduced
450456
in Trino 431, and uses a single query for prepared statements, instead of a
451457
`PREPARE/EXECUTE` pair. If you are using the JDBC health check option with older
452458
versions of Trino, set
453459
```yaml
454-
monitorConfiguration:
455-
explicitPrepare: false
456-
```
457-
458-
```yaml
459-
backendState:
460-
username: "user"
461-
password: "password"
460+
monitor:
461+
explicitPrepare: true
462462
```
463463

464464
The query timeout can be set through

0 commit comments

Comments
 (0)