File tree Expand file tree Collapse file tree 3 files changed +11
-3
lines changed
crunchy-postgres-exporter
installers/metrics/ansible/roles/pgo-metrics/defaults Expand file tree Collapse file tree 3 files changed +11
-3
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change 1414# limitations under the License.
1515
1616echo " Getting pgMonitor..."
17- PGMONITOR_COMMIT=' v4.4-RC5 '
17+ PGMONITOR_COMMIT=' v4.4-RC6 '
1818
1919# pgMonitor Setup
2020if [[ -d ${PGOROOT?} /tools/pgmonitor ]]
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ delete_metrics_namespace: "false"
99metrics_namespace : " pgo"
1010metrics_image_pull_secret : " "
1111metrics_image_pull_secret_manifest : " "
12- pgmonitor_version : " v4.4-RC5 "
12+ pgmonitor_version : " v4.4-RC6 "
1313
1414alertmanager_configmap : " alertmanager-config"
1515alertmanager_rules_configmap : " alertmanager-rules-config"
You can’t perform that action at this time.
0 commit comments