Skip to content

Commit

Permalink
Use true instead of 1 as the config setting examples (#578)
Browse files Browse the repository at this point in the history
* Use true for enabling DB_ALL_NAMES

* Update other example using 1 as true
  • Loading branch information
keiko713 authored Jul 24, 2024
1 parent ff43b11 commit 9b23d29
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ To get better data quality for server metrics, enable "Enhanced Monitoring" in y

We currently require one Docker container per RDS instance monitored.

If you have multiple databases on the same RDS instance, you can monitor them all by specifying DB_ALL_NAMES=1 as an environment variable.
If you have multiple databases on the same RDS instance, you can monitor them all by specifying DB_ALL_NAMES=true as an environment variable.

Docker Container (non-RDS)
--------------------------
Expand All @@ -104,7 +104,7 @@ collector_config.env needs to look like this:

```sh
PGA_API_KEY=$YOUR_API_KEY
PGA_ALWAYS_COLLECT_SYSTEM_DATA=1
PGA_ALWAYS_COLLECT_SYSTEM_DATA=true
DB_NAME=your_database_name
DB_USERNAME=your_database_user
DB_PASSWORD=your_database_password
Expand Down
4 changes: 2 additions & 2 deletions contrib/helm/pganalyze-collector/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ fullnameOverride: ""
extraEnv: {}
# DB_HOST: your_database_host
# DB_NAME: your_database_name
# DB_ALL_NAMES: 1 (monitor all databases on the server)
# DB_ALL_NAMES: true (monitor all databases on the server)
# DB_USERNAME: your_monitoring_user

configMap:
Expand All @@ -33,7 +33,7 @@ configMap:
values: {}
# DB_HOST: your_database_host
# DB_NAME: your_database_name
# DB_ALL_NAMES: 1 (monitor all databases on the server)
# DB_ALL_NAMES: true (monitor all databases on the server)
# DB_USERNAME: your_monitoring_user

secret:
Expand Down

0 comments on commit 9b23d29

Please sign in to comment.