2021-03-01 12:48:14 +00:00
|
|
|
## 0.9.0 / 2021-03-01
|
2021-02-26 14:17:36 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
|
2021-03-01 12:48:14 +00:00
|
|
|
## 0.8.0 / 2019-11-25
|
2021-02-26 14:17:36 +00:00
|
|
|
|
|
|
|
* 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.
|
|
|
|
|
2021-03-01 12:48:14 +00:00
|
|
|
## 0.7.0 / 2019-11-01
|
2021-02-26 14:17:36 +00:00
|
|
|
|
|
|
|
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).
|
|
|
|
|
2021-03-01 12:48:14 +00:00
|
|
|
## 0.6.0 / 2019-10-30
|
2021-02-26 14:17:36 +00:00
|
|
|
|
|
|
|
* 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)
|
|
|
|
|
2021-03-01 12:48:14 +00:00
|
|
|
## 0.5.1 / 2019-07-09
|
2021-02-26 14:17:36 +00:00
|
|
|
|
|
|
|
* Add application_name as a label for pg_stat_replication metrics (#285).
|
|
|
|
|
2021-03-01 12:48:14 +00:00
|
|
|
## 0.5.0 / 2019-07-03
|
2021-02-26 14:17:36 +00:00
|
|
|
|
|
|
|
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.
|
|
|
|
|
2021-03-01 12:48:14 +00:00
|
|
|
## 0.4.7 / 2018-10-02
|
2021-02-26 14:17:36 +00:00
|
|
|
|
|
|
|
* 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.
|
|
|
|
|
2021-03-01 12:48:14 +00:00
|
|
|
## 0.4.6 / 2018-04-15
|
2021-02-26 14:17:36 +00:00
|
|
|
|
|
|
|
* Fix issue #173 - 32 and 64mb unit sizes were not supported in pg_settings.
|
|
|
|
|
2021-03-01 12:48:14 +00:00
|
|
|
## 0.4.5 / 2018-02-27
|
2021-02-26 14:17:36 +00:00
|
|
|
|
|
|
|
* Add commandline flag to disable default metrics (thanks @hsun-cnnxty)
|
|
|
|
|
2021-03-01 12:48:14 +00:00
|
|
|
## 0.4.4 / 2018-03-21
|
2021-02-26 14:17:36 +00:00
|
|
|
|
|
|
|
* Bugfix for 0.4.3 which broke pg_up (it would always be 0).
|
|
|
|
* pg_up is now refreshed based on database Ping() every scrape.
|
|
|
|
* Re-release of 0.4.4 to fix version numbering.
|
|
|
|
|
2021-03-01 12:48:14 +00:00
|
|
|
## 0.4.2 / 2018-02-19
|
2021-02-26 14:17:36 +00:00
|
|
|
|
|
|
|
* Adds the following environment variables for overriding defaults:
|
|
|
|
* `PG_EXPORTER_WEB_LISTEN_ADDRESS`
|
|
|
|
* `PG_EXPORTER_WEB_TELEMETRY_PATH`
|
|
|
|
* `PG_EXPORTER_EXTEND_QUERY_PATH`
|
|
|
|
|
|
|
|
* Add Content-Type to HTTP landing page.
|
|
|
|
* Fix Makefile to produce .exe binaries for Windows.
|
|
|
|
|
2021-03-01 12:48:14 +00:00
|
|
|
## 0.4.1 / 2017-11-30
|
2021-02-26 14:17:36 +00:00
|
|
|
|
|
|
|
* No code changes to v0.4.0 for the exporter.
|
|
|
|
* First release switching to tar-file based distribution.
|
|
|
|
* First release with Windows and Darwin cross-builds.\\
|
|
|
|
|
2021-03-01 12:48:14 +00:00
|
|
|
## 0.4.0 / 2017-11-29
|
2021-02-26 14:17:36 +00:00
|
|
|
|
|
|
|
* Fix panic due to inconsistent label cardinality when using queries.yaml with
|
|
|
|
queries which return extra columns.
|
|
|
|
* Add metric for whether the user queries YAML file parsed correctly. This also
|
|
|
|
includes the filename and SHA256 sum allowing tracking of updates.
|
|
|
|
* Add pg_up metric to indicate whether the exporter was able to connect and
|
|
|
|
Ping() the PG instance before a scrape.
|
|
|
|
* Fix broken link in landing page for `/metrics`
|
|
|
|
|
2021-03-01 12:48:14 +00:00
|
|
|
## 0.3.0 / 2017-10-23
|
2021-02-26 14:17:36 +00:00
|
|
|
|
|
|
|
* Add support for PostgreSQL 10.
|
|
|
|
|
2021-03-01 12:48:14 +00:00
|
|
|
## 0.2.3 / 2017-09-07
|
2021-02-26 14:17:36 +00:00
|
|
|
|
|
|
|
* Add support for the 16kB unit when decoding pg_settings. (#101)
|
|
|
|
|
2021-03-01 12:48:14 +00:00
|
|
|
## 0.2.2 / 2017-08-04
|
2021-02-26 14:17:36 +00:00
|
|
|
|
|
|
|
* Fix DSN logging. The exporter previously never actually logged the DSN when
|
|
|
|
database connections failed. This was also masking a logic error which could
|
|
|
|
potentially lead to a crash when DSN was unparseable, though no actual
|
|
|
|
crash could be produced in testing.
|
|
|
|
|
2021-03-01 12:48:14 +00:00
|
|
|
## 0.2.1 / 2017-06-07
|
2021-02-26 14:17:36 +00:00
|
|
|
|
|
|
|
* Ignore functions that cannot be executed during replication recovery (#52)
|
|
|
|
* Add a `-version` flag finally.
|
|
|
|
* Add confirmed_flush_lsn to pg_stat_replication.
|
|
|
|
|
2021-03-01 12:48:14 +00:00
|
|
|
## 0.2.0 / 2017-04-18
|
2021-02-26 14:17:36 +00:00
|
|
|
|
|
|
|
* Major change - use pg_settings to retrieve runtime variables. Adds >180
|
|
|
|
new metrics and descriptions (big thanks to Matt Bostock for this work).
|
|
|
|
|
|
|
|
Removes the following metrics:
|
|
|
|
```
|
|
|
|
pg_runtime_variable_max_connections
|
|
|
|
pg_runtime_variable_max_files_per_process
|
|
|
|
pg_runtime_variable_max_function_args
|
|
|
|
pg_runtime_variable_max_identifier_length
|
|
|
|
pg_runtime_variable_max_index_keys
|
|
|
|
pg_runtime_variable_max_locks_per_transaction
|
|
|
|
pg_runtime_variable_max_pred_locks_per_transaction
|
|
|
|
pg_runtime_variable_max_prepared_transactions
|
|
|
|
pg_runtime_variable_max_standby_archive_delay_milliseconds
|
|
|
|
pg_runtime_variable_max_standby_streaming_delay_milliseconds
|
|
|
|
pg_runtime_variable_max_wal_senders
|
|
|
|
```
|
|
|
|
|
|
|
|
They are replaced by equivalent names under `pg_settings` with the exception of
|
|
|
|
```
|
|
|
|
pg_runtime_variable_max_standby_archive_delay_milliseconds
|
|
|
|
pg_runtime_variable_max_standby_streaming_delay_milliseconds
|
|
|
|
```
|
|
|
|
which are replaced with
|
|
|
|
```
|
|
|
|
pg_settings_max_standby_archive_delay_seconds
|
|
|
|
pg_settings_max_standby_streaming_delay_seconds
|
|
|
|
```
|
|
|
|
|
2021-03-01 12:48:14 +00:00
|
|
|
## 0.1.3 / 2017-02-21
|
2021-02-26 14:17:36 +00:00
|
|
|
|
|
|
|
* Update the Go build to 1.7.5 to include a fix for NAT handling.
|
|
|
|
* Fix passwords leaking in DB url error message on connection failure.
|
|
|
|
|
2021-03-01 12:48:14 +00:00
|
|
|
## 0.1.2 / 2017-02-07
|
2021-02-26 14:17:36 +00:00
|
|
|
|
|
|
|
* Use a connection pool of size 1 to reduce memory churn on target database.
|
|
|
|
|
2021-03-01 12:48:14 +00:00
|
|
|
## 0.1.1 / 2016-11-29
|
2021-02-26 14:17:36 +00:00
|
|
|
|
|
|
|
* Fix pg_stat_replication metrics not being collected due to semantic version
|
|
|
|
filter problem.
|
|
|
|
|
2021-03-01 12:48:14 +00:00
|
|
|
## 0.1.0 / 2016-11-21
|
2021-02-26 14:17:36 +00:00
|
|
|
|
|
|
|
* Change default port to 9187.
|
|
|
|
* Fix regressions with pg_stat_replication on older versions of Postgres.
|
|
|
|
* Add pg_static metric to store version strings as labels.
|
|
|
|
* Much more thorough testing structure.
|
|
|
|
* Move to semantic versioning for releases and docker image publications.
|
|
|
|
|
2021-03-01 12:48:14 +00:00
|
|
|
## 0.0.1 / 2016-06-03
|
2021-02-26 14:17:36 +00:00
|
|
|
|
|
|
|
Initial release for publication.
|