-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(couch-backlog): multi-couch2pg isntances on 1 db, update fake-ch…
…t, add prometheus env vars (#108) * feat(couch-backlog): allow multi-couch2pg isntances in one postgres db, backwards compatible * change sql server for fake-cht to fake-postgres, add interface and port for prometheus * update config to denote we need to enumerate * add dev values to .env example per feedback * add instructions to use db server name in yaml per feedback * remove unused patch files for dev settings
- Loading branch information
1 parent
70ab33c
commit 7bfcbf7
Showing
10 changed files
with
26 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 0 additions & 17 deletions
17
development/patches/apply/exporters.postgres.config.scrape_config.yml.patch
This file was deleted.
Oops, something went wrong.
17 changes: 0 additions & 17 deletions
17
development/patches/revert/exporters.postgres.config.scrape_config.yml.patch
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,6 +24,9 @@ jobs: | |
enable_ping: true | ||
static_configs: | ||
- targets: | ||
# " same as URL in cht-instances.yml ": 'postgres://USERNAME:PASSWORD@DB_SERVER_IP/DATABASE | ||
"172-17-0-1.local-ip.medicmobile.org:10464": 'postgres://cht_couch2pg:[email protected]:5432/cht?sslmode=disable' # //NOSONAR - password is safe to commit | ||
# change USERNAME, PASSWORD, DB_SERVER as needed. Likely DATABASE and PORT don't need to change. | ||
# be sure each new server gets a unique name. A good rule of thumb is to use the name of the | ||
# sql server (eg "postgres-rds-prod", "postgres-rds-dev1" etc.) | ||
# 'postgres://USERNAME:PASSWORD@DB_SERVER_IP/DATABASE:PORT | ||
"db1": 'postgres://cht_couch2pg:[email protected]:5432/cht?sslmode=disable' # //NOSONAR - password is safe to commit | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters