|
| 1 | + |
| 2 | +## 0.8.0 / 2019-11-25 |
| 3 | + |
| 4 | +* Add a build info metric (#323) |
| 5 | +* Re-add pg_stat_bgwriter metrics which were accidentally removed in the previous version. (resolves #336) |
| 6 | +* Export pg_stat_archiver metrics (#324) |
| 7 | +* Add support for 'DATA_SOURCE_URI_FILE' envvar. |
| 8 | +* Resolve #329 |
| 9 | +* Added new field "master" to queries.yaml. (credit to @sfalkon) |
| 10 | + - If "master" is true, query will be call only on once database in instance |
| 11 | +* Change queries.yaml for work with autoDiscoveryDatabases options (credit to @sfalkon) |
| 12 | + - added current database name to metrics because any database in cluster maybe have the same table names |
| 13 | + - added "master" field for query instance metrics. |
| 14 | + |
| 15 | +## 0.7.0 / 2019-11-01 |
| 16 | + |
| 17 | +Introduces some more significant changes, hence the minor version bump in |
| 18 | +such a short time frame. |
| 19 | + |
| 20 | +* Rename pg_database_size to pg_database_size_bytes in queries.yml. |
| 21 | +* Add pg_stat_statements to sample queries.yml file. |
| 22 | +* Add support for optional namespace caching. (#319) |
| 23 | +* Fix some autodiscovery problems (#314) (resolves #308) |
| 24 | +* Yaml parsing refactor (#299) |
| 25 | +* Don't stop generating fingerprint while encountering value with "=" sign (#318) |
| 26 | + (may resolve problems with passwords and special characters). |
| 27 | + |
| 28 | +## 0.6.0 / 2019-10-30 |
| 29 | + |
| 30 | +* Add SQL for grant connect (#303) |
| 31 | +* Expose pg_current_wal_lsn_bytes (#307) |
| 32 | +* [minor] fix landing page content-type (#305) |
| 33 | +* 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) |
| 34 | +* Provide more helpful default values for tables that have never been vacuumed (#310) |
| 35 | +* Add retries to getServer() (#316) |
| 36 | +* Fix pg_up metric returns last calculated value without explicit resetting (#291) |
| 37 | +* Discover only databases that are not templates and allow connections (#297) |
| 38 | +* Add --exclude-databases option (#298) |
| 39 | + |
| 40 | +## 0.5.1 / 2019-07-09 |
| 41 | + |
| 42 | +* Add application_name as a label for pg_stat_replication metrics (#285). |
| 43 | + |
| 44 | +## 0.5.0 / 2019-07-03 |
| 45 | + |
| 46 | +It's been far too long since I've done a release and we have a lot of accumulated changes. |
| 47 | + |
| 48 | +* Docker image now runs as a non-root user named "postgres_exporter" |
| 49 | +* Add `--auto-discover-databases` option, which automatically discovers and scrapes all databases. |
| 50 | +* Add support for boolean data types as metrics |
| 51 | +* Replication lag is now expressed as a float and not truncated to an integer. |
| 52 | +* When default metrics are disabled, no version metrics are collected anymore either. |
| 53 | +* BUGFIX: Fix exporter panic when postgres server goes down. |
| 54 | +* Add support for collecting metrics from multiple servers. |
| 55 | +* PostgreSQL 11 is now supported in the integration tests. |
| 56 | + |
| 57 | +## 0.4.7 / 2018-10-02 |
| 58 | + |
| 59 | +* Added a query for v9.1 pg_stat_activity. |
| 60 | +* Add `--constantLabels` flag to allow applying fixed constant labels to metrics. |
| 61 | +* queries.yml: dd pg_statio_user_tables. |
| 62 | +* Support 'B' suffix in units. |
| 63 | + |
| 64 | +## 0.4.6 / 2018-04-15 |
| 65 | + |
| 66 | +* Fix issue #173 - 32 and 64mb unit sizes were not supported in pg_settings. |
| 67 | + |
| 68 | +## 0.4.5 / 2018-02-27 |
| 69 | + |
| 70 | +* Add commandline flag to disable default metrics (thanks @hsun-cnnxty) |
| 71 | + |
| 72 | +## 0.4.4 / 2018-03-21 |
| 73 | + |
| 74 | +* Bugfix for 0.4.3 which broke pg_up (it would always be 0). |
| 75 | +* pg_up is now refreshed based on database Ping() every scrape. |
| 76 | +* Re-release of 0.4.4 to fix version numbering. |
| 77 | + |
| 78 | +## 0.4.2 / 2018-02-19 |
| 79 | + |
| 80 | +* Adds the following environment variables for overriding defaults: |
| 81 | + * `PG_EXPORTER_WEB_LISTEN_ADDRESS` |
| 82 | + * `PG_EXPORTER_WEB_TELEMETRY_PATH` |
| 83 | + * `PG_EXPORTER_EXTEND_QUERY_PATH` |
| 84 | + |
| 85 | +* Add Content-Type to HTTP landing page. |
| 86 | +* Fix Makefile to produce .exe binaries for Windows. |
| 87 | + |
| 88 | +## 0.4.1 / 2017-11-30 |
| 89 | + |
| 90 | +* No code changes to v0.4.0 for the exporter. |
| 91 | +* First release switching to tar-file based distribution. |
| 92 | +* First release with Windows and Darwin cross-builds.\\ |
| 93 | + |
| 94 | +## 0.4.0 / 2017-11-29 |
| 95 | + |
| 96 | +* Fix panic due to inconsistent label cardinality when using queries.yaml with |
| 97 | + queries which return extra columns. |
| 98 | +* Add metric for whether the user queries YAML file parsed correctly. This also |
| 99 | + includes the filename and SHA256 sum allowing tracking of updates. |
| 100 | +* Add pg_up metric to indicate whether the exporter was able to connect and |
| 101 | + Ping() the PG instance before a scrape. |
| 102 | +* Fix broken link in landing page for `/metrics` |
| 103 | + |
| 104 | +## 0.3.0 / 2017-10-23 |
| 105 | + |
| 106 | +* Add support for PostgreSQL 10. |
| 107 | + |
| 108 | +## 0.2.3 / 2017-09-07 |
| 109 | + |
| 110 | +* Add support for the 16kB unit when decoding pg_settings. (#101) |
| 111 | + |
| 112 | +## 0.2.2 / 2017-08-04 |
| 113 | + |
| 114 | +* Fix DSN logging. The exporter previously never actually logged the DSN when |
| 115 | + database connections failed. This was also masking a logic error which could |
| 116 | + potentially lead to a crash when DSN was unparseable, though no actual |
| 117 | + crash could be produced in testing. |
| 118 | + |
| 119 | +## 0.2.1 / 2017-06-07 |
| 120 | + |
| 121 | +* Ignore functions that cannot be executed during replication recovery (#52) |
| 122 | +* Add a `-version` flag finally. |
| 123 | +* Add confirmed_flush_lsn to pg_stat_replication. |
| 124 | + |
| 125 | +## 0.2.0 / 2017-04-18 |
| 126 | + |
| 127 | +* Major change - use pg_settings to retrieve runtime variables. Adds >180 |
| 128 | + new metrics and descriptions (big thanks to Matt Bostock for this work). |
| 129 | + |
| 130 | + Removes the following metrics: |
| 131 | + ``` |
| 132 | + pg_runtime_variable_max_connections |
| 133 | + pg_runtime_variable_max_files_per_process |
| 134 | + pg_runtime_variable_max_function_args |
| 135 | + pg_runtime_variable_max_identifier_length |
| 136 | + pg_runtime_variable_max_index_keys |
| 137 | + pg_runtime_variable_max_locks_per_transaction |
| 138 | + pg_runtime_variable_max_pred_locks_per_transaction |
| 139 | + pg_runtime_variable_max_prepared_transactions |
| 140 | + pg_runtime_variable_max_standby_archive_delay_milliseconds |
| 141 | + pg_runtime_variable_max_standby_streaming_delay_milliseconds |
| 142 | + pg_runtime_variable_max_wal_senders |
| 143 | + ``` |
| 144 | + |
| 145 | + They are replaced by equivalent names under `pg_settings` with the exception of |
| 146 | + ``` |
| 147 | + pg_runtime_variable_max_standby_archive_delay_milliseconds |
| 148 | + pg_runtime_variable_max_standby_streaming_delay_milliseconds |
| 149 | + ``` |
| 150 | + which are replaced with |
| 151 | + ``` |
| 152 | + pg_settings_max_standby_archive_delay_seconds |
| 153 | + pg_settings_max_standby_streaming_delay_seconds |
| 154 | + ``` |
| 155 | + |
| 156 | +## 0.1.3 / 2017-02-21 |
| 157 | + |
| 158 | +* Update the Go build to 1.7.5 to include a fix for NAT handling. |
| 159 | +* Fix passwords leaking in DB url error message on connection failure. |
| 160 | + |
| 161 | +## 0.1.2 / 2017-02-07 |
| 162 | + |
| 163 | +* Use a connection pool of size 1 to reduce memory churn on target database. |
| 164 | + |
| 165 | +## 0.1.1 / 2016-11-29 |
| 166 | + |
| 167 | +* Fix pg_stat_replication metrics not being collected due to semantic version |
| 168 | + filter problem. |
| 169 | + |
| 170 | +## 0.1.0 / 2016-11-21 |
| 171 | + |
| 172 | +* Change default port to 9187. |
| 173 | +* Fix regressions with pg_stat_replication on older versions of Postgres. |
| 174 | +* Add pg_static metric to store version strings as labels. |
| 175 | +* Much more thorough testing structure. |
| 176 | +* Move to semantic versioning for releases and docker image publications. |
| 177 | + |
| 178 | +## 0.0.1 / 2016-06-03 |
| 179 | + |
| 180 | +Initial release for publication. |
0 commit comments