This is an automated email from the ASF dual-hosted git repository. potiuk pushed a commit to branch development in repository https://gitbox.apache.org/repos/asf/airflow-pgbouncer-exporter.git
commit d15fd26ea14d03494bbb12129fc3b2ef9cae6229 Author: Juraj Bubniak <[email protected]> AuthorDate: Thu Oct 22 12:44:21 2020 +0200 Update CHANGELOG for 0.7.0. --- CHANGELOG.md | 5 +++++ README.md | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5cee0ee..20b3ee1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +## 0.7.0 + +* Add support for default constant prometheus labels. +* Bump github.com/prometheus/client_golang to v1.8.0. + ## 0.6.0 * Refactor exporter to use NewConstMetric. diff --git a/README.md b/README.md index fc4ca05..6783d9e 100644 --- a/README.md +++ b/README.md @@ -36,6 +36,11 @@ it to `true` or `false`. | databases | List of configured databases. | EXPORT_DATABASES | Enabled | | lists | List of internal pgbouncer information. | EXPORT_LISTS | Enabled | +## Default constant prometheus labels + +In order to provide default prometheus constant labels you can use the `DEFAULT_LABELS` enviroment variable. +Labels can be set in this format `instance=pg1 env=dev`. Provided labels will be added to all the metrics. + [drone]: https://cloud.drone.io/jbub/pgbouncer_exporter [hub]: https://hub.docker.com/r/jbub/pgbouncer_exporter [goreportcard]: https://goreportcard.com/report/github.com/jbub/pgbouncer_exporter \ No newline at end of file
