From 904d09a613ba3abe834fe083bc34bc0ececf88b7 Mon Sep 17 00:00:00 2001 From: Maciek Sakrejda Date: Thu, 13 Feb 2025 11:20:21 -0800 Subject: [PATCH 1/5] Release 0.65.0 --- CHANGELOG.md | 21 +++++++++++++++++++++ contrib/helm/pganalyze-collector/Chart.yaml | 4 ++-- packages/Makefile | 2 +- util/version.go | 2 +- 4 files changed, 25 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2c93631e..cea24520 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,26 @@ # Changelog +## 0.65.0 2025-02-14 + +* Follow symlinks when tracking storage stats for data directory + - This fixes storage statistics accounting for data directories symlinked + to other partitions +* Fix errors when collecting stats about frequently-locked partitions +* Fix receiving logs through syslog + - This was inadvertently broken by the log parsing changes in v0.58.0 +* Avoid log parsing error when database connection cannot be established + - This was only a secondary problem, but the stack trace in the logs could + make it harder to track down the root cause +* Sign built Go binaries for macOS + - Due to security enhancements in newer macOS versions, unsigned Go + binaries may hang when built and executed locally; signing makes it + easier to debug the collector on macOS +* Start collecting and report pg_stat_statements_info stats + - This makes it easier to track down some pg_stat_statements-related + problems +* Update Go version to 1.23 +* Update Dockerfile alpine base image to 3.21 + ## 0.64.1 2025-01-08 * Fix database connection leak in buffercache logic diff --git a/contrib/helm/pganalyze-collector/Chart.yaml b/contrib/helm/pganalyze-collector/Chart.yaml index 874a4afb..d434e3a1 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.64.1 -appVersion: "v0.64.1" +version: 0.65.0 +appVersion: "v0.65.0" type: application description: pganalyze statistics collector home: https://pganalyze.com/ diff --git a/packages/Makefile b/packages/Makefile index cf653311..8dedc4aa 100644 --- a/packages/Makefile +++ b/packages/Makefile @@ -1,5 +1,5 @@ export NAME ?= pganalyze-collector -export VERSION ?= 0.64.1 +export VERSION ?= 0.65.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 6dd70453..571f5c83 100644 --- a/util/version.go +++ b/util/version.go @@ -1,4 +1,4 @@ package util -const CollectorVersion = "0.64.1" +const CollectorVersion = "0.65.0" const CollectorNameAndVersion = "pganalyze-collector " + CollectorVersion From 03107280647ba802a08d6d09af9844ce452c92ae Mon Sep 17 00:00:00 2001 From: Maciek Sakrejda Date: Thu, 13 Feb 2025 12:18:21 -0800 Subject: [PATCH 2/5] Rearrange CHANGELOG items, add GCP IAM item --- CHANGELOG.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index cea24520..784a45f4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ ## 0.65.0 2025-02-14 +* Support IAM Authentication with Google Cloud SQL +* Start collecting and report pg_stat_statements_info stats + - This makes it easier to track down some pg_stat_statements-related + problems * Follow symlinks when tracking storage stats for data directory - This fixes storage statistics accounting for data directories symlinked to other partitions @@ -15,9 +19,6 @@ - Due to security enhancements in newer macOS versions, unsigned Go binaries may hang when built and executed locally; signing makes it easier to debug the collector on macOS -* Start collecting and report pg_stat_statements_info stats - - This makes it easier to track down some pg_stat_statements-related - problems * Update Go version to 1.23 * Update Dockerfile alpine base image to 3.21 From 63337113d78e245f847bb3750349513894157a25 Mon Sep 17 00:00:00 2001 From: Maciek Sakrejda Date: Fri, 14 Feb 2025 09:48:58 -0800 Subject: [PATCH 3/5] Revamp GCP IAM auth CHANGELOG entry --- CHANGELOG.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 784a45f4..c3ec4d15 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,14 @@ ## 0.65.0 2025-02-14 -* Support IAM Authentication with Google Cloud SQL +* Google Cloud SQL: Support IAM Authentication + - This allows monitoring of Google Cloud SQL databases using the existing + `db_use_iam_auth` / `DB_USE_IAM_AUTH` setting: If enabled, the collector + fetches a short-lived token for logging into the database instance from the + GCP API, instead of using a hardcoded password in the collector + configuration file + - To set this up, see our [updated Google Cloud SQL setup + documentation](https://pganalyze.com/docs/install/google_cloud_sql/01_create_monitoring_user) * Start collecting and report pg_stat_statements_info stats - This makes it easier to track down some pg_stat_statements-related problems From 01671897255081f382aa8e094161b78b14a92ebb Mon Sep 17 00:00:00 2001 From: Maciek Sakrejda Date: Thu, 20 Feb 2025 08:50:29 -0800 Subject: [PATCH 4/5] Add #678 and #683 to CHANGELOG --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index c3ec4d15..fe304258 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,9 +13,11 @@ * Start collecting and report pg_stat_statements_info stats - This makes it easier to track down some pg_stat_statements-related problems +* Support monitoring non-Heroku databases with Heroku-hosted collector * Follow symlinks when tracking storage stats for data directory - This fixes storage statistics accounting for data directories symlinked to other partitions +* Fix pg_hint_plan handling for collector-driven Query Tuning workflow * Fix errors when collecting stats about frequently-locked partitions * Fix receiving logs through syslog - This was inadvertently broken by the log parsing changes in v0.58.0 From 7c3bb0b73c28ef0032e6cba91443dea54dcb616a Mon Sep 17 00:00:00 2001 From: Maciek Sakrejda Date: Thu, 20 Feb 2025 11:23:43 -0800 Subject: [PATCH 5/5] Update release date --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index fe304258..912cf0be 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # Changelog -## 0.65.0 2025-02-14 +## 0.65.0 2025-02-20 * Google Cloud SQL: Support IAM Authentication - This allows monitoring of Google Cloud SQL databases using the existing