Joe Adams
7259eec41c
Merge pull request #747 from sheldor14/replication_slot
...
adding codified functionality for logical replication metrics
2023-02-07 08:57:26 -05:00
Zachary Caldarola
076eb2c3f5
fmt
...
Signed-off-by: Zachary Caldarola <zmc2005@gmail.com>
2023-01-28 18:45:48 -05:00
Zachary Caldarola
f3952f941b
typing
...
Signed-off-by: Zachary Caldarola <zmc2005@gmail.com>
2023-01-28 17:40:46 -05:00
Zachary Caldarola
1ec69c9168
fmt
...
Signed-off-by: Zachary Caldarola <zmc2005@gmail.com>
2023-01-28 17:37:41 -05:00
Zachary Caldarola
600ad185cf
more comments
...
Signed-off-by: Zachary Caldarola <zmc2005@gmail.com>
2023-01-28 17:05:45 -05:00
Zachary Caldarola
9b13780d14
addressing comments
...
Signed-off-by: Zachary Caldarola <zachary.caldarola@reddit.com>
2023-01-25 11:15:24 -05:00
Ben Kochie
732e74db32
Merge pull request #738 from prometheus-community/dependabot/go_modules/github.com/prometheus/common-0.39.0
...
Bump github.com/prometheus/common from 0.37.0 to 0.39.0
2023-01-25 14:20:08 +01:00
dependabot[bot]
61492f6931
Bump github.com/prometheus/common from 0.37.0 to 0.39.0
...
Bumps [github.com/prometheus/common](https://github.com/prometheus/common ) from 0.37.0 to 0.39.0.
- [Release notes](https://github.com/prometheus/common/releases )
- [Commits](https://github.com/prometheus/common/compare/v0.37.0...v0.39.0 )
---
updated-dependencies:
- dependency-name: github.com/prometheus/common
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-01-25 13:16:35 +00:00
Ben Kochie
e57817678a
Merge pull request #730 from prometheus-community/dependabot/go_modules/github.com/prometheus/client_golang-1.14.0
...
Bump github.com/prometheus/client_golang from 1.13.0 to 1.14.0
2023-01-25 14:15:18 +01:00
dependabot[bot]
e198f6fabe
Bump github.com/prometheus/client_golang from 1.13.0 to 1.14.0
...
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang ) from 1.13.0 to 1.14.0.
- [Release notes](https://github.com/prometheus/client_golang/releases )
- [Changelog](https://github.com/prometheus/client_golang/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prometheus/client_golang/compare/v1.13.0...v1.14.0 )
---
updated-dependencies:
- dependency-name: github.com/prometheus/client_golang
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-01-25 08:32:54 +00:00
Ben Kochie
0e4506e3f4
Merge pull request #746 from prometheus-community/bjk/exporter-toolkit-bump
...
Update exporter-toolkit
2023-01-25 09:31:55 +01:00
Zachary Caldarola
300750001c
adding codified functionality for logical replication metrics
...
Signed-off-by: Zachary Caldarola <zachary.caldarola@reddit.com>
2023-01-24 14:52:00 -05:00
SuperQ
b1e72a981b
go fmt
...
Signed-off-by: SuperQ <superq@gmail.com>
2023-01-24 18:18:17 +01:00
SuperQ
fc264d0ab0
Update exporter-toolkit
...
Update to the latest exporter-toolkit
* Enables multi-listener and systemd socket activation.
* Bump Go to 1.19.
* Remove `PG_EXPORTER_WEB_LISTEN_ADDRESS` env var because this is now a
repeatable flag.
Signed-off-by: SuperQ <superq@gmail.com>
2023-01-24 17:57:31 +01:00
Ben Kochie
d4af9429bb
Merge pull request #745 from prometheus-community/repo_sync
...
Synchronize common files from prometheus/prometheus
2023-01-24 16:53:29 +01:00
prombot
29cf7eb61c
Update common Prometheus files
...
Signed-off-by: prombot <prometheus-team@googlegroups.com>
2023-01-23 17:50:28 +00:00
Joe Adams
169bb0c360
Merge pull request #733 from prometheus-community/repo_sync
...
Synchronize common files from prometheus/prometheus
2023-01-22 13:42:43 -05:00
Joe Adams
ab8f272f4b
Merge pull request #736 from khiemdoan/circleci
...
Add postgres 15 for CI test
2023-01-22 13:39:51 -05:00
Joe Adams
8b8466f3aa
Merge pull request #740 from revverse/master
...
New unit value 64kB
2023-01-21 14:56:22 -05:00
Joe Adams
d23b0b25e4
Merge pull request #647 from grafana/rgeyer/mixin-dashboard-linting
...
Dashboard linting improvements for mixin
2023-01-21 14:29:09 -05:00
Khiem Doan
b92161c291
Merge branch 'circleci' of github.com:khiemdoan/postgres_exporter into circleci
2023-01-05 14:55:30 +07:00
Khiem Doan
e6ac9ca1d2
Merge branch 'master' of github.com:khiemdoan/postgres_exporter into circleci
2023-01-05 14:54:37 +07:00
Oleksandr Mysyura
8ff0e5aa70
New unit value 64kB
...
Signed-off-by: Oleksandr Mysyura <olexandr.mysyura@pragmaticplay.com>
2023-01-04 12:14:29 +02:00
Khiem Doan
045f24fd63
Add postgres 15 for CI test
...
Signed-off-by: Khiem Doan <doankhiem.crazy@gmail.com>
2022-12-27 09:07:35 +07:00
Khiem Doan
3b45347749
Add postgres 15 for CI test
...
Signed-off-by: Khiem Doan <doankhiem.crazy@gmail.com>
2022-12-27 09:06:27 +07:00
Julien Pivotto
dc1c19efd4
Set gauge to 1 when collector is successful
...
Signed-off-by: Julien Pivotto <roidelapluie@o11y.eu>
Signed-off-by: Khiem Doan <doankhiem.crazy@gmail.com>
2022-12-27 09:06:27 +07:00
prombot
c8991de223
Update common Prometheus files
...
Signed-off-by: prombot <prometheus-team@googlegroups.com>
2022-12-13 17:51:01 +00:00
Joe Adams
9bd9d83d73
Merge pull request #724 from roidelapluie/gauge1
...
Set gauge to 1 when collector is successful
2022-11-27 14:05:26 -05:00
Julien Pivotto
5fcceb4105
Set gauge to 1 when collector is successful
...
Signed-off-by: Julien Pivotto <roidelapluie@o11y.eu>
2022-11-24 14:02:37 +01:00
Joe Adams
02aff21cf7
Merge pull request #672 from Luckz/patch-2
...
Correct minor typos in README.md
2022-11-07 19:19:00 -05:00
Luckz
b10a942f40
Correct additional typo in README.md
...
Signed-off-by: Luckz <224748+Luckz@users.noreply.github.com>
2022-11-06 16:24:43 +01:00
Joe Adams
34d3605788
Merge pull request #683 from preved911/fix/extend_probe_path_metrics
...
Extending /probe path metrics
2022-10-31 20:51:30 -04:00
Joe Adams
20a0133fca
Merge pull request #699 from ken3122/master
...
4kB size added for postgres with 4kB block_size
2022-10-17 19:27:26 -04:00
Sergey Morozov
14c9d0370f
4kB size added for postgres with 4kB block_size
...
Signed-off-by: Sergey Morozov <38383507+ken3122@users.noreply.github.com>
2022-10-09 01:50:45 +06:00
Ben Kochie
0adab051b3
Merge pull request #698 from prometheus-community/repo_sync
...
Synchronize common files from prometheus/prometheus
2022-10-04 20:50:19 +02:00
prombot
fc2e8f0837
Update common Prometheus files
...
Signed-off-by: prombot <prometheus-team@googlegroups.com>
2022-10-04 17:59:51 +00:00
Joe Adams
6eac43241d
Merge pull request #695 from prometheus-community/dependabot/go_modules/github.com/lib/pq-1.10.7
...
Bump github.com/lib/pq from 1.10.6 to 1.10.7
2022-10-03 20:20:40 -04:00
dependabot[bot]
8268b7e6ff
Bump github.com/lib/pq from 1.10.6 to 1.10.7
...
Bumps [github.com/lib/pq](https://github.com/lib/pq ) from 1.10.6 to 1.10.7.
- [Release notes](https://github.com/lib/pq/releases )
- [Commits](https://github.com/lib/pq/compare/v1.10.6...v1.10.7 )
---
updated-dependencies:
- dependency-name: github.com/lib/pq
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-10-01 17:05:04 +00:00
Ildar Valiullin
ad8b5608f8
extended /probe path metrics
...
Signed-off-by: Ildar Valiullin <preved.911@gmail.com>
2022-09-03 14:33:13 +03:00
Joe Adams
cb70292fe1
Merge pull request #684 from sysadmind/probe-dsn
...
Update multi-target handler to use new DSN type
2022-09-02 11:26:11 -04:00
Joe Adams
69a802493b
Add missing license header
...
Signed-off-by: Joe Adams <github@joeadams.io>
2022-09-02 11:09:01 -04:00
Joe Adams
7ffba684de
Update multi-target handler to use new DSN type
...
- Moves new dsn type to config.DSN. This will prevent circular dependencies.
- Change DSN.query to be url.Values. This allows the multi-target functionality to merge values without re-parsing the query string
- Change NewProbeCollector to use the new config.DSN type
- Add DSN.GetConnectionString to return a string formatted for the sql driver to use during connection
Signed-off-by: Joe Adams <github@joeadams.io>
2022-09-02 10:32:44 -04:00
Ben Kochie
ac9fa13302
Merge pull request #680 from greut/patch-1
...
fix: typo
2022-08-30 08:38:37 +02:00
Yoan Blanc
9ae347519b
fix: typo
...
Signed-off-by: Yoan Blanc <yoan@dosimple.ch>
2022-08-30 06:48:06 +02:00
Joe Adams
ce947b1908
Merge pull request #679 from prometheus-community/superq/0.12.0
...
Release 0.12.0-rc.0
2022-08-29 11:14:55 -04:00
SuperQ
d86dd06ffe
Release 0.12.0-rc.0
...
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
Signed-off-by: SuperQ <superq@gmail.com>
2022-08-26 16:49:54 +02:00
Joe Adams
f72680be33
Merge pull request #678 from sysadmind/dsn-logging
...
Add dsn type for handling datasources
2022-08-25 09:34:31 -04:00
Joe Adams
de9d21df6a
Add dsn type for handling datasources
...
dsn is designed to replace the other uses of dsn as a string in the long term. dsn is designed to be safe to log, properly redacting passwords. The goal is eventually always parse datasource information into a dsn type object which can safely be passed around and logged without worrying about wrapping calls in a redaction function (today this function is loggableDSN().
This should solve the root issue in #648 , #677 , and #643 , although the full fix will require more changes to update all code references over to use the dsn type.
Signed-off-by: Joe Adams <github@joeadams.io>
2022-08-24 22:07:37 -04:00
Ben Kochie
c84fc4a13a
Merge pull request #675 from prometheus-community/superq/release-0.11.1
...
Release 0.11.1
2022-08-18 15:55:54 -05:00
SuperQ
e4b3cb5805
Release 0.11.1
...
* [BUGFIX] Fix checkpoint_write_time value type #666
* [BUGFIX] Fix checkpoint_sync_time value type #667
Signed-off-by: SuperQ <superq@gmail.com>
2022-08-18 22:52:25 +02:00