Skip to content

Commit db62360

Browse files
committed
chore: adjust minimum version of pgmonitor-exporter required
1 parent 02f132e commit db62360

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

sql_exporter/common/crunchy_global_collector.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -469,11 +469,11 @@ queries:
469469
470470
471471
# The version case here is to check for the minimum version of the pgmonitor-extension required by this version of pgMonitor
472-
# As of Feb 2025, this is 2.1.0 or 20100. 0 for true, 1 for false
472+
# As of July 2025, this is 2.2.0 or 20200. 0 for true, 1 for false
473473
- query_name: ccp_pgmonitor_extension_global
474474
query: |
475475
SELECT split_part(extversion, '.', 1) || lpad(split_part(extversion, '.', 2), 2, '0') || lpad(split_part(extversion, '.', 3), 2, '0') AS version
476-
, CASE WHEN (split_part(extversion, '.', 1) || lpad(split_part(extversion, '.', 2), 2, '0') || lpad(split_part(extversion, '.', 3), 2, '0'))::int >= 20100 THEN
476+
, CASE WHEN (split_part(extversion, '.', 1) || lpad(split_part(extversion, '.', 2), 2, '0') || lpad(split_part(extversion, '.', 3), 2, '0'))::int >= 20200 THEN
477477
0 ELSE 1
478478
END AS min_version_installed
479479
FROM pg_catalog.pg_extension

0 commit comments

Comments
 (0)