Skip to content

Releases: prometheus-community/postgres_exporter

0.16.0 / 2024-11-10

10 Nov 21:12
v0.16.0
a324fe3
Compare
Choose a tag to compare

BREAKING CHANGES:

The logging system has been replaced with log/slog from the stdlib. This change is being made across the prometheus ecosystem. The logging output has changed, but the messages and levels remain the same. The ts label for the timestamp has bewen replaced with time, the accuracy is less, and the timezone is not forced to UTC. The caller field has been replaced by the source field, which now includes the full path to the source file. The level field now exposes the log level in capital letters.

  • [CHANGE] Replace logging system #1073
  • [ENHANCEMENT] Add save_wal_size and wal_status to replication_slot collector #1027
  • [ENHANCEMENT] Add roles collector and connection limit metrics to database collector #997
  • [ENHANCEMENT] Excluded databases log messgae is now info level #1003
  • [ENHANCEMENT] Add active_time to stat_database collector #961
  • [ENHANCEMENT] Add slot_type label to replication_slot collector #960
  • [BUGFIX] Fix walreceiver collectore when no repmgr #1086
  • [BUGFIX] Remove logging errors on replicas #1048
  • [BUGFIX] Fix active_time query on postgres>=14 #1045

0.15.0 / 2023-10-27

06 Nov 15:44
v0.15.0
68c176b
Compare
Choose a tag to compare
  • [ENHANCEMENT] Add 1kB and 2kB units #915
  • [BUGFIX] Add error log when probe collector creation fails #918
  • [BUGFIX] Fix test build failures on 32-bit arch #919
  • [BUGFIX] Adjust collector to use separate connection per scrape #936

0.14.0 / 2023-09-11

20 Sep 01:49
v0.14.0
c06e57d
Compare
Choose a tag to compare
  • [CHANGE] Add state label to pg_process_idle_seconds #862
  • [CHANGE] Change database connections to one per scrape #882 #902
  • [ENHANCEMENT] Add wal collector #858
  • [ENHANCEMENT] Add database_wraparound collector #834
  • [ENHANCEMENT] Add stat_activity_autovacuum collector #840
  • [ENHANCEMENT] Add stat_wal_receiver collector #844
  • [ENHANCEMENT] Add xlog_location collector #849
  • [ENHANCEMENT] Add statio_user_indexes collector #845
  • [ENHANCEMENT] Add long_running_transactions collector #836
  • [ENHANCEMENT] Add pg_stat_user_tables_size_bytes metric #904
  • [BUGFIX] Fix tests on 32-bit systems #857
  • [BUGFIX] Fix pg_stat_statements metrics on Postgres 13+ #874 #876
  • [BUGFIX] Fix pg_stat_database metrics for NULL stats_reset #877
  • [BUGFIX] Fix pg_replication_lag_seconds on Postgres 10+ when master is idle #895

0.13.2 / 2023-07-21

24 Jul 00:12
v0.13.2
8c3604b
Compare
Choose a tag to compare
  • [BUGFIX] Fix type issues on pg_postmaster metrics #828
  • [BUGFIX] Fix pg_replication collector instantiation #854
  • [BUGFIX] Fix pg_process_idle metrics #855

0.13.1 / 2023-06-27

27 Jun 11:53
v0.13.1
bf4e4fb
Compare
Choose a tag to compare
  • [BUGFIX] Make collectors not fail on null values #823

0.13.0 / 2023-06-21

22 Jun 07:14
v0.13.0
f550f8f
Compare
Choose a tag to compare

BREAKING CHANGES:

Please note, the following features are deprecated and may be removed in a future release:

  • auto-discover-databases
  • extend.query-path
  • constantLabels
  • exclude-databases
  • include-databases

This exporter is meant to monitor PostgresSQL servers, not the user data/databases. If
you need a generic SQL report exporter https://github.com/burningalchemist/sql_exporter
is recommended.

  • [CHANGE] Adjust log level for collector startup #784
  • [CHANGE] Move queries from queries.yaml to collectors #801
  • [CHANGE] Deprecate extend queries feature #811
  • [CHANGE] Deprecate additional database features #815
  • [CHANGE] Convert pg_stat_database to new collector #685
  • [ENHANCEMENT] Supports alternate postgres:// prefix in URLs #787
  • [BUGFIX] Fix pg_setting different help values #771
  • [BUGFIX] Fix column type for pg_replication_slots #777
  • [BUGFIX] Fix pg_stat_database collector #809

0.12.1 / 2023-06-12

13 Jun 17:28
v0.12.1
Compare
Choose a tag to compare
  • [BUGFIX] Fix column type for pg_replication_slots #777

0.12.0 / 2023-03-21

21 Mar 23:59
v0.12.0
f9a1edb
Compare
Choose a tag to compare

BREAKING CHANGES:

This release changes support for multiple postgres servers to use the
multi-target exporter pattern. This makes it much easier to monitor multiple
PostgreSQL servers from a single exporter by passing the target via URL
params. See the Multi-Target Support section of the README.

  • [CHANGE] Add multi-target support #618
  • [CHANGE] Add usename and application_name to pg_stat_activity metrics #673
  • [FEATURE] Add replication metrics from pg_replication_slots #747
  • [BUGFIX] Add dsn type for handling datasources #678
  • [BUGFIX] Add 64kB unit for postgres 15 #740
  • [BUGFIX] Add 4kB unit for postgres compiled with small blocks #699

0.12.0-rc.0 / 2022-08-26

29 Aug 17:35
v0.12.0-rc.0
ce947b1
Compare
Choose a tag to compare
Pre-release

BREAKING CHANGES:

This release changes support for multiple postgres servers to use the
multi-target exporter pattern. This makes it much easier to monitor multiple
PostgreSQL servers from a single exporter by passing the target via URL
params. See the Multi-Target Support section of the README.

  • [CHANGE] Add multi-target support #618
  • [BUGFIX] Add dsn type for handling datasources #678

0.11.1 / 2022-08-01

18 Aug 21:11
v0.11.1
b5fd246
Compare
Choose a tag to compare
  • [BUGFIX] Fix checkpoint_write_time value type #666
  • [BUGFIX] Fix checkpoint_sync_time value type #667