Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 0.52.0 #461

Merged
merged 2 commits into from
Oct 5, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,30 @@
# Changelog

## 0.52.0 2023-10-04

* OpenTelemetry integration: Allow exporting EXPLAIN plans as trace spans
- This is an experimental feature that allows configuring the collector
to send an OpenTelemetry tracing span for each processed EXPLAIN plan
with an associated `traceparent` query tag (e.g. set by sqlcommenter)
to the configured OpenTelemetry endpoint
- To configure the OTLP protocol endpoint, set the new config setting
`otel_exporter_otlp_endpoint` / `OTEL_EXPORTER_OTLP_ENDPOINT`, with a
endpoint string like "http://localhost:4318". You can also optionally
set the `otel_exporter_otlp_headers` / `OTEL_EXPORTER_OTLP_HEADERS`
variable to add authentication details used by hosted tracing providers
like Honeycomb and New Relic
* Relax locking requirements for collecting table stats
- This avoids skipped statistics due to page or tuple level locks,
which do not conflict with `pg_relation_size` as run by the collector.
* Activity snapshots: Normalize queries for `filter_query_sample = normalize`
- This matches the existing behavior when `filter_query_sample` is set
to `all`, which is to run the normalization function on pg_stat_activity
query texts, making sure all parameter values are replaced with `$n`
parameter references
* Self-managed servers: Add test run notice when system stats are skipped
* Docker log tail: Re-order args to also support podman aliased as docker


## 0.51.1 2023-08-15

* Fix handling of tables that only have an entry in pg_class, but not pg_stat_user_tables
Expand Down
4 changes: 2 additions & 2 deletions contrib/helm/pganalyze-collector/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v2
name: pganalyze-collector
version: 0.51.1
appVersion: "v0.51.1"
version: 0.52.0
appVersion: "v0.52.0"
type: application
description: pganalyze statistics collector
home: https://pganalyze.com/
Expand Down
2 changes: 1 addition & 1 deletion packages/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export NAME ?= pganalyze-collector
export VERSION ?= 0.51.1
export VERSION ?= 0.52.0
export GIT_VERSION ?= v$(VERSION)
#export GIT_VERSION=HEAD
#export GIT_VERSION=618e85ce5ed5365bc7d9d9da866fdeb73bac5a55
Expand Down
2 changes: 1 addition & 1 deletion util/version.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package util

const CollectorVersion = "0.51.1"
const CollectorVersion = "0.52.0"
const CollectorNameAndVersion = "pganalyze-collector " + CollectorVersion