From e600b5d3752e63d16532b9df0c61b700a24ff8f4 Mon Sep 17 00:00:00 2001 From: Maciek Sakrejda Date: Thu, 21 Nov 2024 15:07:21 -0800 Subject: [PATCH 1/3] Release 0.63.0 --- CHANGELOG.md | 19 +++++++++++++++++++ contrib/helm/pganalyze-collector/Chart.yaml | 4 ++-- packages/Makefile | 2 +- util/version.go | 2 +- 4 files changed, 23 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2fb5393a..e52c7bbc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,24 @@ # Changelog +## 0.63.0 2024-11-21 + +* Fix WebSocket error handling + - If the WebSocket mechanism hit an error at the wrong time, this could cause + a stuck collector state, where the collector would keep running but stop + processing and sending snapshots +* Track Postgres buffer cache usage + - This reports statistics from [pg_buffercache](https://www.postgresql.org/docs/current/pgbuffercache.html) + if available +* Fix partitioned table stats handling + - Partitioned table stats are now reported as aggregations over child partition stats +* Add collector query runner + - This provides a mechanism for the collector to help pganalyze users run + EXPLAIN queries in future versions of pganalyze + - This is disabled by default +* Update packaging scripts to use the `groupadd` command instead of `addgroup` when installing + - `addgroup` is not available on some newer distributions, e.g., Amazon Linux 2023 + + ## 0.62.0 2024-11-13 * Fix PII filtering for detail log lines diff --git a/contrib/helm/pganalyze-collector/Chart.yaml b/contrib/helm/pganalyze-collector/Chart.yaml index 3314d946..5fd55c6f 100644 --- a/contrib/helm/pganalyze-collector/Chart.yaml +++ b/contrib/helm/pganalyze-collector/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v2 name: pganalyze-collector -version: 0.62.0 -appVersion: "v0.62.0" +version: 0.62.1 +appVersion: "v0.62.1" type: application description: pganalyze statistics collector home: https://pganalyze.com/ diff --git a/packages/Makefile b/packages/Makefile index 1f6ccafb..1b0c50bf 100644 --- a/packages/Makefile +++ b/packages/Makefile @@ -1,5 +1,5 @@ export NAME ?= pganalyze-collector -export VERSION ?= 0.62.0 +export VERSION ?= 0.62.1 export GIT_VERSION ?= v$(VERSION) #export GIT_VERSION=HEAD #export GIT_VERSION=618e85ce5ed5365bc7d9d9da866fdeb73bac5a55 diff --git a/util/version.go b/util/version.go index 694d4cf3..d852c205 100644 --- a/util/version.go +++ b/util/version.go @@ -1,4 +1,4 @@ package util -const CollectorVersion = "0.62.0" +const CollectorVersion = "0.62.1" const CollectorNameAndVersion = "pganalyze-collector " + CollectorVersion From 5589c89bb64cf9077c094f9f0927b9a25f11094f Mon Sep 17 00:00:00 2001 From: Maciek Sakrejda Date: Thu, 21 Nov 2024 15:29:48 -0800 Subject: [PATCH 2/3] Fix version numbers in code --- contrib/helm/pganalyze-collector/Chart.yaml | 4 ++-- packages/Makefile | 2 +- util/version.go | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/contrib/helm/pganalyze-collector/Chart.yaml b/contrib/helm/pganalyze-collector/Chart.yaml index 5fd55c6f..25ff129b 100644 --- a/contrib/helm/pganalyze-collector/Chart.yaml +++ b/contrib/helm/pganalyze-collector/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v2 name: pganalyze-collector -version: 0.62.1 -appVersion: "v0.62.1" +version: 0.63.0 +appVersion: "v0.63.0" type: application description: pganalyze statistics collector home: https://pganalyze.com/ diff --git a/packages/Makefile b/packages/Makefile index 1b0c50bf..6f6f8b45 100644 --- a/packages/Makefile +++ b/packages/Makefile @@ -1,5 +1,5 @@ export NAME ?= pganalyze-collector -export VERSION ?= 0.62.1 +export VERSION ?= 0.63.0 export GIT_VERSION ?= v$(VERSION) #export GIT_VERSION=HEAD #export GIT_VERSION=618e85ce5ed5365bc7d9d9da866fdeb73bac5a55 diff --git a/util/version.go b/util/version.go index d852c205..cc6b0bdf 100644 --- a/util/version.go +++ b/util/version.go @@ -1,4 +1,4 @@ package util -const CollectorVersion = "0.62.1" +const CollectorVersion = "0.63.0" const CollectorNameAndVersion = "pganalyze-collector " + CollectorVersion From 9170ec8ff80e718c64fee6fda3c69c6d23ee8392 Mon Sep 17 00:00:00 2001 From: Maciek Sakrejda Date: Thu, 21 Nov 2024 15:33:38 -0800 Subject: [PATCH 3/3] Address review feedback --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index e52c7bbc..5aa429e6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,8 @@ * Track Postgres buffer cache usage - This reports statistics from [pg_buffercache](https://www.postgresql.org/docs/current/pgbuffercache.html) if available + - Since this can be slow, and grows slower with larger buffer size, this can be + configured with the new setting `max_buffer_cache_monitoring_gb` (default 200 GB) * Fix partitioned table stats handling - Partitioned table stats are now reported as aggregations over child partition stats * Add collector query runner