Skip to content

Releases: prometheus-community/postgres_exporter

0.11.0 / 2022-07-28

28 Jul 13:28
v0.11.0
58cc383
Compare
Choose a tag to compare

NOTE: pg_stat_bgwriter counter metrics had the _total suffix added #556

  • [CHANGE] refactor pg_stat_bgwriter metrics into standalone collector #556
  • [FEATURE] Add pg_database collector #613
  • [ENHANCEMENT] Add pg_database_size_bytes metric #613
  • [BUGFIX] Avoid parsing error from bogus Azure Flexible Server custom GUC #587
  • [BUGFIX] Fix pg_stat_archiver error in 9.4 and earlier. #599
  • [BUGFIX] Sanitize setting values because of Aurora irregularity #620

0.10.1 / 2022-01-14

19 Jan 10:16
v0.10.1
6cff384
Compare
Choose a tag to compare
  • [BUGFIX] Fix broken log-level for values other than debug. #560

0.10.0 / 2021-07-08

09 Jul 15:23
v0.10.0
57719ba
Compare
Choose a tag to compare
  • [ENHANCEMENT] Add ability to set included databases when autoDiscoverDatabases is enabled #499
  • [BUGFIX] fix pg_replication_slots on postgresql versions 9.4 <> 10.0 #537

0.9.0 / 2021-03-01

01 Mar 13:21
v0.9.0
21f27a8
Compare
Choose a tag to compare

First release under the Prometheus Community organisation.

  • [CHANGE] Update build to use standard Prometheus promu/Dockerfile
  • [ENHANCEMENT] Remove duplicate column in queries.yml #433
  • [ENHANCEMENT] Add query for 'pg_replication_slots' #465
  • [ENHANCEMENT] Allow a custom prefix for metric namespace #387
  • [ENHANCEMENT] Improve PostgreSQL replication lag detection #395
  • [ENHANCEMENT] Support connstring syntax when discovering databases #473
  • [ENHANCEMENT] Detect SIReadLock locks in the pg_locks metric #421
  • [BUGFIX] Fix pg_database_size_bytes metric in queries.yaml #357
  • [BUGFIX] Don't ignore errors in parseUserQueries #362
  • [BUGFIX] Fix queries.yaml for AWS RDS #370
  • [BUGFIX] Recover when connection cannot be established at startup #415
  • [BUGFIX] Don't retry if an error occurs #426
  • [BUGFIX] Do not panic on incorrect env #457

v0.8.0

25 Nov 13:34
v0.8.0
Compare
Choose a tag to compare
* Add a build info metric (#323)
* Re-add pg_stat_bgwriter metrics which were accidentally removed in the previous version. (resolves #336)
* Export pg_stat_archiver metrics (#324)
* Add support for 'DATA_SOURCE_URI_FILE' envvar.
* Resolve #329
* Added new field "master" to queries.yaml. (credit to @sfalkon)
  - If "master" is true, query will be call only on once database in instance
* Change queries.yaml for work with autoDiscoveryDatabases options (credit to @sfalkon)
  - added current database name to metrics because any database in cluster maybe have the same table names
  - added "master" field for query instance metrics.

v0.7.0

31 Oct 14:08
v0.7.0
Compare
Choose a tag to compare
Introduces some more significant changes, hence the minor version bump in
such a short time frame.

* Rename pg_database_size to pg_database_size_bytes in queries.yml.
* Add pg_stat_statements to sample queries.yml file.
* Add support for optional namespace caching. (#319)
* Fix some autodiscovery problems (#314) (resolves #308)
* Yaml parsing refactor (#299)
* Don't stop generating fingerprint while encountering value with "=" sign (#318)
  (may resolve problems with passwords and special characters).

v0.6.0

30 Oct 14:55
v0.6.0
Compare
Choose a tag to compare
* Add SQL for grant connect (#303)
* Expose pg_current_wal_lsn_bytes (#307)
* [minor] fix landing page content-type (#305)
* Updated lib/pg driver to 1.2.0 in order to support stronger SCRAM-SHA-256 authentication. This drops support for Go < 1.11 and PostgreSQL < 9.4. (#304)
* Provide more helpful default values for tables that have never been vacuumed (#310)
* Add retries to getServer() (#316)
* Fix pg_up metric returns last calculated value without explicit resetting (#291)
* Discover only databases that are not templates and allow connections (#297)
* Add --exclude-databases option (#298)

v0.5.1

12 Jul 01:33
v0.5.1
Compare
Choose a tag to compare
* Add application_name as a label for pg_stat_replication metrics (#285).

v0.5.0

03 Jul 14:06
v0.5.0
0d7891d
Compare
Choose a tag to compare
It's been far too long since I've done a release and we have a lot of accumulated changes.

* Docker image now runs as a non-root user named "postgres_exporter"
* Add `--auto-discover-databases` option, which automatically discovers and scrapes all databases.
* Add support for boolean data types as metrics
* Replication lag is now expressed as a float and not truncated to an integer.
* When default metrics are disabled, no version metrics are collected anymore either.
* BUGFIX: Fix exporter panic when postgres server goes down.
* Add support for collecting metrics from multiple servers.
* PostgreSQL 11 is now supported in the integration tests.

v0.4.7

11 Nov 03:03
v0.4.7
Compare
Choose a tag to compare
* Added a query for v9.1 pg_stat_activity.
* Add `--constantLabels` flag to allow applying fixed constant labels to metrics.
* queries.yml: dd pg_statio_user_tables.
* Support 'B' suffix in units.