Skip to content

Commit 686ecab

Browse files
authored
Update pgMonitor version and PostgreSQL 13 Script Updates
This updates the pgMonitor version to v4.4-RC6, and updates the script references to include the new PostgreSQL 13 updates.
1 parent dc59b24 commit 686ecab

File tree

3 files changed

+11
-3
lines changed

3 files changed

+11
-3
lines changed

bin/crunchy-postgres-exporter/start.sh

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,14 +168,22 @@ else
168168
else
169169
echo_err "Custom Query file queries_pg11.yml does not exist (it should).."
170170
fi
171-
elif (( ${VERSION?} >= 120000 ))
171+
elif (( ${VERSION?} >= 120000 )) && (( ${VERSION?} < 130000 ))
172172
then
173173
if [[ -f ${CONFIG_DIR?}/queries_pg12.yml ]]
174174
then
175175
cat ${CONFIG_DIR?}/queries_pg12.yml >> /tmp/queries.yml
176176
else
177177
echo_err "Custom Query file queries_pg12.yml does not exist (it should).."
178178
fi
179+
elif (( ${VERSION?} >= 130000 ))
180+
then
181+
if [[ -f ${CONFIG_DIR?}/queries_pg13.yml ]]
182+
then
183+
cat ${CONFIG_DIR?}/queries_pg13.yml >> /tmp/queries.yml
184+
else
185+
echo_err "Custom Query file queries_pg12.yml does not exist (it should).."
186+
fi
179187
else
180188
echo_err "Unknown or unsupported version of PostgreSQL. Exiting.."
181189
exit 1

bin/get-pgmonitor.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
# limitations under the License.
1515

1616
echo "Getting pgMonitor..."
17-
PGMONITOR_COMMIT='v4.4-RC5'
17+
PGMONITOR_COMMIT='v4.4-RC6'
1818

1919
# pgMonitor Setup
2020
if [[ -d ${PGOROOT?}/tools/pgmonitor ]]

installers/metrics/ansible/roles/pgo-metrics/defaults/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ delete_metrics_namespace: "false"
99
metrics_namespace: "pgo"
1010
metrics_image_pull_secret: ""
1111
metrics_image_pull_secret_manifest: ""
12-
pgmonitor_version: "v4.4-RC5"
12+
pgmonitor_version: "v4.4-RC6"
1313

1414
alertmanager_configmap: "alertmanager-config"
1515
alertmanager_rules_configmap: "alertmanager-rules-config"

0 commit comments

Comments
 (0)