OP#176 fix quotes
This commit is contained in:
@@ -14,3 +14,5 @@ However we did a few changes to adjust the following:
|
|||||||
|
|
||||||
* the entire build flow is now based on the Dockerfile, no external make step. This allows using a Jenkins CI/CD pipeline for both build and placing the image in a package registry, so the image can be used in Kubernetes via CI/CD. All manual steps are removed.
|
* the entire build flow is now based on the Dockerfile, no external make step. This allows using a Jenkins CI/CD pipeline for both build and placing the image in a package registry, so the image can be used in Kubernetes via CI/CD. All manual steps are removed.
|
||||||
* we moved away from CentOS 7 as base to Alpine, which creates a much smaller image footprint while providing the very same functionality.
|
* we moved away from CentOS 7 as base to Alpine, which creates a much smaller image footprint while providing the very same functionality.
|
||||||
|
|
||||||
|
## Usage
|
||||||
|
|||||||
12
start.sh
12
start.sh
@@ -14,12 +14,12 @@ function shutdown() {
|
|||||||
pkill -SIGINT postgresql-prometheus-adapter
|
pkill -SIGINT postgresql-prometheus-adapter
|
||||||
}
|
}
|
||||||
|
|
||||||
adapter_send_timeout=${adapter_send_timeout:-'30s'}
|
adapter_send_timeout=$(echo "${adapter_send_timeout:-'30s'}" | tr -d "'")
|
||||||
web_listen_address="${web_listen_address:-':9201'}"
|
web_listen_address=$(echo "${web_listen_address:-':9201'}" | tr -d "'")
|
||||||
web_telemetry_path="${web_telemetry_path:-'/metrics'}"
|
web_telemetry_path=$(echo "${web_telemetry_path:-'/metrics'}" | tr -d "'")
|
||||||
log_level="${log_level:-'info'}"
|
log_level=$(echo "${log_level:-'info'}" | tr -d "'")
|
||||||
log_format="${log_format:-'logfmt'}"
|
log_format=$(echo "${log_format:-'logfmt'}" | tr -d "'")
|
||||||
pg_partition="${pg_partition:-'hourly'}"
|
pg_partition=$(echo "${pg_partition:-'hourly'}" | tr -d "'")
|
||||||
pg_commit_secs=${pg_commit_secs:-30}
|
pg_commit_secs=${pg_commit_secs:-30}
|
||||||
pg_commit_rows=${pg_commit_rows:-20000}
|
pg_commit_rows=${pg_commit_rows:-20000}
|
||||||
pg_threads="${pg_threads:-1}"
|
pg_threads="${pg_threads:-1}"
|
||||||
|
|||||||
Reference in New Issue
Block a user