Skip to content

feat(prometheus.exporter.postgres): Update to version 0.19.1#5659

Merged
kgeckhart merged 1 commit intomainfrom
cristian/pgexporter-0.19.1
Feb 25, 2026
Merged

feat(prometheus.exporter.postgres): Update to version 0.19.1#5659
kgeckhart merged 1 commit intomainfrom
cristian/pgexporter-0.19.1

Conversation

@cristiangreco
Copy link
Contributor

Brief description of Pull Request

Update to version 0.19.1 of postgres_exporter.
See https://github.com/prometheus-community/postgres_exporter/releases/tag/v0.19.1

Pull Request Details

Update to version 0.19.1 of postgres_exporter, which includes:

  • Filter and warn about duplicates in pg_stat_statements
  • perf/reliability: Optimize pg_stat_statements queries that uses too many temp files
  • fix: ignore setting google_dataplex.max_messages
  • wal: Fix collector NULL SUM(size)

Issue(s) fixed by this Pull Request

Notes to the Reviewer

PR Checklist

  • Documentation added
  • Tests updated
  • Config converters updated

Update to version 0.19.1 of postgres_exporter, which includes:
- Filter and warn about duplicates in pg_stat_statements
- perf/reliability: Optimize pg_stat_statements queries that uses too many temp files
- fix: ignore setting google_dataplex.max_messages
- wal: Fix collector NULL SUM(size)

https://github.com/prometheus-community/postgres_exporter/releases/tag/v0.19.1
@cristiangreco cristiangreco marked this pull request as ready for review February 25, 2026 17:59
@cristiangreco cristiangreco requested a review from a team as a code owner February 25, 2026 17:59
@github-actions
Copy link
Contributor

🔍 Dependency Review

github.com/prometheus-community/postgres_exporter v0.0.0-20260212092411-d256e52d0faf → v0.0.0-20260225165717-9c2c77e3702a — ⚠️ Needs Review
  • Context

    • This is a replace to the Grafana fork of postgres_exporter, moving tracking from “exporter-package-v0.19.0” to “exporter-package-v0.19.1”.
    • Pseudo-versions reference specific commits on the forked repo:
      • From: d256e52d0faf (2026-02-12)
      • To: 9c2c77e3702a (2026-02-25)
    • Module path remains github.com/prometheus-community/postgres_exporter with replace to github.com/grafana/postgres_exporter.
  • Evidence reviewed

    • This bump tracks a fork/branch rather than an upstream tagged release; no public semver release notes are available for the pseudo-version.
    • The postgres_exporter project is primarily a “main” package; the Grafana fork’s “exporter-package” branch historically exposes light-weight library glue so exporters can be embedded/packaged. Patch-level branch bumps (0.19.0 → 0.19.1) typically suggest fixes rather than API reshapes.
  • Impact assessment

    • Compile-time/API:
      • No major-version change or import path change.
      • No evidence of exported symbol changes between the two pseudo-versions was found via public releases; given the nature of the fork and a patch bump, compile-time API breakage is unlikely but should be verified with a build.
    • Runtime/behavioral:
      • Potential areas to sanity-check in postgres_exporter updates:
        • CLI flags and env var defaults (e.g., query file handling, auto-discovery).
        • Metric set changes (added/removed metrics, label set adjustments).
        • Minimum supported PostgreSQL versions for specific collectors/queries.
      • If your packaging or integration depends on specific flags/behavior, run integration tests to verify no regressions in metrics or startup.
  • Code changes required

    • None identified from the version bump itself.
    • If your code imports library glue from the Grafana fork (e.g., an embedded runner or registration helper), a simple rebuild should confirm there are no signature changes. No diffs are proposed because no API changes are indicated.
  • Validation checklist

    • Rebuild components that reference github.com/prometheus-community/postgres_exporter to confirm no compile-time breakage.
    • Run a smoke test against a PostgreSQL instance:
      • Verify exporter starts with your existing configuration/flags.
      • Scrape and diff a sample of metrics to confirm expected metric names/labels are present.
      • Check logs for deprecations or flag changes.
  • References

    • Fork: github.com/grafana/postgres_exporter
    • Commits (for the pseudo-versions):
      • Old: d256e52d0faf
      • New: 9c2c77e3702a

Notes

  • Only the postgres_exporter replace target changed in this PR; other replaces are unchanged. No additional dependencies to review.

@kgeckhart kgeckhart merged commit 54e5c2f into main Feb 25, 2026
51 of 52 checks passed
@kgeckhart kgeckhart deleted the cristian/pgexporter-0.19.1 branch February 25, 2026 21:50
@grafana-alloybot grafana-alloybot bot mentioned this pull request Feb 25, 2026
jharvey10 pushed a commit that referenced this pull request Feb 26, 2026
### Brief description of Pull Request
Update to version 0.19.1 of postgres_exporter. 
See
https://github.com/prometheus-community/postgres_exporter/releases/tag/v0.19.1

### Pull Request Details
Update to version 0.19.1 of postgres_exporter, which includes:
- Filter and warn about duplicates in pg_stat_statements
- perf/reliability: Optimize pg_stat_statements queries that uses too
many temp files
- fix: ignore setting google_dataplex.max_messages
- wal: Fix collector NULL SUM(size)

### Issue(s) fixed by this Pull Request

<!--
Uncomment the following line and fill in an issue number if you want a
GitHub
  issue to be closed automatically when this PR gets merged.
-->

<!-- Fixes #issue_id -->

### Notes to the Reviewer

<!-- Add any relevant notes for the reviewers and testers of this PR.
-->

### PR Checklist

<!-- Remove items that do not apply. For completed items, change [ ] to
[x]. -->

- [ ] Documentation added
- [ ] Tests updated
- [ ] Config converters updated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants