Cristian Greco
0cfc7b20d2
feat: allow excluding databases or users names in stat_statements
...
Add a couple of of options to the `stat_statements` collector that
allow excluding certain database names or user names from metrics.
This is useful if you don't care about certain preconfigured databases
with admin activity.
Signed-off-by: Cristian Greco <cristian@regolo.cc >
2025-12-15 12:02:43 +01:00
Joe Adams
778660147e
Fix NULL on long_running_transactions collector ( #1230 )
...
When there are no long running transactions, the oldest timestamp will be NULL. This sets the metrics value to 0 (age). Also adds a test for this behavior.
Fixes #1223
Signed-off-by: Joe Adams <github@joeadams.io >
2025-12-13 07:46:30 -05:00
Joe Adams
d613418b00
Update GitHub Actions to run all CI ( #1231 )
...
* Update GitHub Actions config to run tests
Signed-off-by: Joe Adams <github@joeadams.io >
* Add CI steps for release and include all postgres versions
Signed-off-by: Joe Adams <github@joeadams.io >
* Disable circleci jobs
This will stop the CI jobs but leave existing PRs in place until we can get those updated.
Signed-off-by: Joe Adams <github@joeadams.io >
---------
Signed-off-by: Joe Adams <github@joeadams.io >
2025-12-12 10:13:36 +01:00
dependabot[bot]
7c167f7add
Bump golang.org/x/crypto from 0.43.0 to 0.45.0 ( #1220 )
...
Bumps [golang.org/x/crypto](https://github.com/golang/crypto ) from 0.43.0 to 0.45.0.
- [Commits](https://github.com/golang/crypto/compare/v0.43.0...v0.45.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/crypto
dependency-version: 0.45.0
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-10 09:06:54 -05:00
dependabot[bot]
5483697c03
Bump github.com/prometheus/common from 0.67.2 to 0.67.4 ( #1224 )
...
Bumps [github.com/prometheus/common](https://github.com/prometheus/common ) from 0.67.2 to 0.67.4.
- [Release notes](https://github.com/prometheus/common/releases )
- [Changelog](https://github.com/prometheus/common/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prometheus/common/compare/v0.67.2...v0.67.4 )
---
updated-dependencies:
- dependency-name: github.com/prometheus/common
dependency-version: 0.67.4
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-01 14:35:42 -05:00
PrometheusBot
974c9de428
Synchronize common files from prometheus/prometheus ( #1217 )
...
* Update common Prometheus files
Signed-off-by: prombot <prometheus-team@googlegroups.com >
* Fix linting issues.
Signed-off-by: SuperQ <superq@gmail.com >
---------
Signed-off-by: prombot <prometheus-team@googlegroups.com >
Signed-off-by: SuperQ <superq@gmail.com >
Co-authored-by: SuperQ <superq@gmail.com >
2025-11-18 13:13:16 +01:00
dependabot[bot]
43720582ad
Bump github.com/prometheus/exporter-toolkit from 0.14.1 to 0.15.0 ( #1215 )
...
Bumps [github.com/prometheus/exporter-toolkit](https://github.com/prometheus/exporter-toolkit ) from 0.14.1 to 0.15.0.
- [Release notes](https://github.com/prometheus/exporter-toolkit/releases )
- [Commits](https://github.com/prometheus/exporter-toolkit/compare/v0.14.1...v0.15.0 )
---
updated-dependencies:
- dependency-name: github.com/prometheus/exporter-toolkit
dependency-version: 0.15.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-04 21:29:27 -05:00
dependabot[bot]
eae2c87e90
Bump github.com/prometheus/common from 0.66.1 to 0.67.2 ( #1216 )
...
Bumps [github.com/prometheus/common](https://github.com/prometheus/common ) from 0.66.1 to 0.67.2.
- [Release notes](https://github.com/prometheus/common/releases )
- [Changelog](https://github.com/prometheus/common/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prometheus/common/compare/v0.66.1...v0.67.2 )
---
updated-dependencies:
- dependency-name: github.com/prometheus/common
dependency-version: 0.67.2
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-04 20:30:23 -05:00
PrometheusBot
9d9a9f9ef0
Update common Prometheus files ( #1213 )
...
Signed-off-by: prombot <prometheus-team@googlegroups.com >
2025-10-23 21:19:02 -04:00
Ben Kochie
37171f7741
Enable pprof ( #1212 )
...
Add the pprof package to allow debug profiling.
Related: https://github.com/prometheus-community/postgres_exporter/issues/1189
Signed-off-by: SuperQ <superq@gmail.com >
2025-10-21 09:02:15 -04:00
dependabot[bot]
00b76dfa6a
Bump github.com/prometheus/client_golang from 1.23.1 to 1.23.2 ( #1204 )
...
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang ) from 1.23.1 to 1.23.2.
- [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.23.1...v1.23.2 )
---
updated-dependencies:
- dependency-name: github.com/prometheus/client_golang
dependency-version: 1.23.2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-12 08:05:59 +02:00
Cristian Greco
c70a059071
feat: allow setting limit in pg_stat_statements ( #1205 )
...
Add `.limit` CLI flag to `stat_statements` collector to allow
setting a custom number of queries to be returned.
Signed-off-by: Cristian Greco <cristian@regolo.cc >
2025-10-07 22:06:13 -04:00
Ben Kochie
a95b518a68
Update Go ( #1203 )
...
* Update minimum supported Go to 1.24.0.
* Update Go build to 1.25.x.
* Update PostgreSQL testing versions.
Signed-off-by: SuperQ <superq@gmail.com >
2025-09-30 09:57:16 +02:00
Cristian Greco
320b684f3d
Prepare release v0.18.1 ( #1202 )
...
* [BUGFIX] Fix swapped `flushedLsn` and `receiveStartTli` for `wal_receiver` collector by @spantaleev in https://github.com/prometheus-community/postgres_exporter/pull/1198
* [BUGFIX] Fix superfluous semicolon breaking query in `process_idle` by @sysadmind in https://github.com/prometheus-community/postgres_exporter/pull/1197 and https://github.com/prometheus-community/postgres_exporter/pull/1201
Signed-off-by: Cristian Greco <cristian@regolo.cc >
v0.18.1
2025-09-29 12:49:39 -04:00
Cristian Greco
b4c5250e03
Fix #1185 bug ( #1197 ) ( #1201 )
...
This semicolon breaks the query
Signed-off-by: Joe Adams <github@joeadams.io >
Co-authored-by: Joe Adams <github@joeadams.io >
2025-09-29 12:22:31 -04:00
Slavi Pantaleev
ef2736e7a6
Fix swapped flushedLsn and receiveStartTli for wal_receiver collector ( #1198 )
...
In `pgStatWalReceiverQueryTemplate`, the order of the columns (when `hasFlushedLSN == true`) is:
- ...
- `receive_start_lsn`
- `flushed_lsn`
- `receive_start_tli`
- ...
However, columns were scanned in this order:
- ...
- `receive_start_lsn` -> `receiveStartLsn`
- `receive_start_tli` -> `flushedLsn` (!)
- `flushed_lsn` -> `receiveStartTli` (!)
- ...
This incorrect hydration of variables also manifests as swapped values for the
`pg_stat_wal_receiver_flushed_lsn` and `pg_stat_wal_receiver_receive_start_tli` metrics.
This seems to be a bug that has existed since the initial implementation:
- 2d7e152751
- https://github.com/prometheus-community/postgres_exporter/pull/844
In this patch, I'm:
- fixing the `.Scan()`, so that it hydrates variables in the correct order
- adjusting the order in which metrics are pushed out to the channel,
to follow the order we consume them in
(.., `receive_start_lsn`, `flushed_lsn`, `receive_start_tli`, ..)
- adjusting the walreceiver tests, to follow the new order (which matches .`Scan()`)
- fixing a small identation issue in `pgStatWalReceiverQueryTemplate`
Signed-off-by: Slavi Pantaleev <slavi@devture.com >
2025-09-29 18:15:17 +02:00
Cristian Greco
e62fe086f0
Prepare release 0.18.0 ( #1196 )
...
* Prepare release `0.18.0`
* [FEATURE] Add `stat_progress_vacuum` collector by @ianbibby
* [FEATURE] Add `buffercache_summary` collector by @sfc-gh-pnuttall
* [FEATURE] `stat_statements`: export query itself together with `queryId` by @Delorien84
* [ENHANCEMENT] Update Go version by @SuperQ
* [ENHANCEMENT] Improve error handling for `Server.Scrape` by @BoweFlex
* [ENHANCEMENT] `stat_user_tables`: record table-only size bytes in addition to the total size bytes by @Sticksman
* [ENHANCEMENT] (chore) Fix a typo and use `slices.Contains` by @cristiangreco
* [ENHANCEMENT] Update mixin to latest changes from `grafana/postgres_exporter` by @cristiangreco, @gaantunes, @v-zhuravlev and @mshahzeb
* [ENHANCEMENT] Exclude the metrics fetching session's data from pg_stat_activity by @kmoppel
* [BUGFIX] Ensure database connections are always closed by @cristiangreco and @dehaansa
Signed-off-by: Cristian Greco <cristian@regolo.cc >
* rm entry about go update
Co-authored-by: Joe Adams <github@joeadams.io >
Signed-off-by: Cristian Greco <cristian@regolo.cc >
* add PRs
Signed-off-by: Cristian Greco <cristian@regolo.cc >
* update date
Signed-off-by: Cristian Greco <cristian@regolo.cc >
---------
Signed-off-by: Cristian Greco <cristian@regolo.cc >
Co-authored-by: Joe Adams <github@joeadams.io >
v0.18.0
2025-09-25 21:37:41 +02:00
Cristian Greco
105c422dfb
Bump prometheus deps ( #1195 )
...
- Update github.com/prometheus/client_golang to v1.23.1
- Update github.com/prometheus/common to v0.66.1
- Update github.com/prometheus/exporter-toolkit to v0.14.1
Signed-off-by: Cristian Greco <cristian@regolo.cc >
2025-09-23 11:38:16 -07:00
PrometheusBot
2850c3d988
Update common Prometheus files ( #1194 )
...
Signed-off-by: prombot <prometheus-team@googlegroups.com >
2025-09-22 21:52:30 -04:00
PrometheusBot
1c6854ece5
Update common Prometheus files ( #1191 )
...
Signed-off-by: prombot <prometheus-team@googlegroups.com >
2025-09-20 08:40:37 +02:00
Kaarel Moppel
198454cc9e
Exclude the metrics fetching session's data from pg_stat_activity ( #1185 )
...
To reduce the observer effect, filter out pg_stat_activity rows of the
postgres_exporter session from all SA queries, based on pid / procpid.
A bit annoying to see idling DBs showing pg_stat_activity_count "active"
count of 1
Signed-off-by: Kaarel Moppel <kaarel.moppel@gmail.com >
2025-08-25 21:05:25 -04:00
dependabot[bot]
cb0bac60e1
Bump github.com/prometheus/client_golang from 1.22.0 to 1.23.0 ( #1183 )
...
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang ) from 1.22.0 to 1.23.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.22.0...v1.23.0 )
---
updated-dependencies:
- dependency-name: github.com/prometheus/client_golang
dependency-version: 1.23.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-08-12 22:35:52 -04:00
Cristian Greco
77e1a0d65a
Update mixin to latest changes from grafana/postgres_exporter ( #1179 )
...
* Update mixin to latest changes from grafana/postgres_exporter
Porting a bunch of PRs accumulated over time in grafana/postgres_exporter:
- https://github.com/grafana/postgres_exporter/pull/11 (@v-zhuravlev)
- https://github.com/grafana/postgres_exporter/pull/12 (@gaantunes)
- https://github.com/grafana/postgres_exporter/pull/13 (@gaantunes)
- https://github.com/grafana/postgres_exporter/pull/14 (@gaantunes)
- https://github.com/grafana/postgres_exporter/pull/15 (@gaantunes)
- https://github.com/grafana/postgres_exporter/pull/16 (@gaantunes)
- https://github.com/grafana/postgres_exporter/pull/17 (@gaantunes)
- https://github.com/grafana/postgres_exporter/pull/20 (@gaantunes)
- https://github.com/grafana/postgres_exporter/pull/21 (@mshahzeb)
- https://github.com/grafana/postgres_exporter/pull/22 (@mshahzeb)
Signed-off-by: Cristian Greco <cristian@regolo.cc >
* rename dashboard to old name
Signed-off-by: Cristian Greco <cristian@regolo.cc >
* remove custom selector
Signed-off-by: Cristian Greco <cristian@regolo.cc >
---------
Signed-off-by: Cristian Greco <cristian@regolo.cc >
Co-authored-by: Vitaly <v-zhuravlev@users.noreply.github.com >
2025-07-25 10:28:24 +02:00
Cristian Greco
06a553c816
Ensure database connections are always closed ( #1177 )
...
Signed-off-by: Sam DeHaan <sam.dehaan@grafana.com >
Signed-off-by: Sam DeHaan <dehaansa@gmail.com >
Co-authored-by: Sam DeHaan <sam.dehaan@grafana.com >
Co-authored-by: Sam DeHaan <dehaansa@gmail.com >
2025-07-18 14:53:45 -04:00
Cristian Greco
aa98bb30ef
Replace another custom implementation of slices.Contains ( #1180 )
...
Followup of https://github.com/prometheus-community/postgres_exporter/pull/1176
Signed-off-by: Cristian Greco <cristian@regolo.cc >
2025-07-16 12:51:53 -04:00
PrometheusBot
cac5d5220d
Update common Prometheus files ( #1178 )
...
Signed-off-by: prombot <prometheus-team@googlegroups.com >
2025-07-11 20:35:36 +02:00
Cristian Greco
dfde566f2a
chore: fix a typo and use slices.Contains ( #1176 )
...
Minor fixes as I was skimming through:
- fix typo in `stat_statements`
- drop custom `sliceContains` in `database`
Signed-off-by: Cristian Greco <cristian@regolo.cc >
2025-07-11 09:31:12 +02:00
PrometheusBot
8c93ed018d
Update common Prometheus files ( #1174 )
...
Signed-off-by: prombot <prometheus-team@googlegroups.com >
2025-07-10 18:46:03 +02:00
dependabot[bot]
f50aac6d45
Bump github.com/prometheus/common from 0.64.0 to 0.65.0 ( #1173 )
...
Bumps [github.com/prometheus/common](https://github.com/prometheus/common ) from 0.64.0 to 0.65.0.
- [Release notes](https://github.com/prometheus/common/releases )
- [Changelog](https://github.com/prometheus/common/blob/main/RELEASE.md )
- [Commits](https://github.com/prometheus/common/compare/v0.64.0...v0.65.0 )
---
updated-dependencies:
- dependency-name: github.com/prometheus/common
dependency-version: 0.65.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-07-09 11:55:58 +02:00
dependabot[bot]
6d3078da35
Bump github.com/prometheus/common from 0.63.0 to 0.64.0 ( #1163 )
...
Bumps [github.com/prometheus/common](https://github.com/prometheus/common ) from 0.63.0 to 0.64.0.
- [Release notes](https://github.com/prometheus/common/releases )
- [Changelog](https://github.com/prometheus/common/blob/main/RELEASE.md )
- [Commits](https://github.com/prometheus/common/compare/v0.63.0...v0.64.0 )
---
updated-dependencies:
- dependency-name: github.com/prometheus/common
dependency-version: 0.64.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-06-19 07:34:12 +02:00
PrometheusBot
f9a88f479b
Update common Prometheus files ( #1160 )
...
Signed-off-by: prombot <prometheus-team@googlegroups.com >
2025-06-19 07:33:54 +02:00
Peter Nuttall
d8ba628b1e
Add a collector for pg_buffercache_summary. ( #1165 )
...
* Add a collector for pg_buffercache_summary()
* Requires PostgreSQL >= 16.
---------
Signed-off-by: Peter Nuttall <peter.nuttall@snowflake.com >
Co-authored-by: Ben Kochie <superq@gmail.com >
2025-06-19 07:33:22 +02:00
Jonathan Bowe
94e8399935
Feat: Improve Error Handling for Server.Scrape ( #1158 )
...
* Update querySettings Error Return in Scrape
If there are errors querying namespace mappings, the potential error from querySettings is obscured. Adding an immediate return if there are errors retreiving settings.
Signed-off-by: Jonathan Bowe <jonathan@bowedev.com >
* Improve Verbosity of queryNamespaceMappings Errors
Previously if any errors were encountered by queryNamespaceMappings, only a count of those errors was returned - making debugging those errors harder than it needs to be.
I'm changing this to immediately return nil if no errors are encountered, and otherwise an error will be formatted with each of the namespaces and what the error was for that namespace.
Signed-off-by: Jonathan Bowe <jonathan@bowedev.com >
* Simplify Error Message
Co-authored-by: Ben Kochie <superq@gmail.com >
Signed-off-by: Jonathan Bowe <bowejonathan99@gmail.com >
---------
Signed-off-by: Jonathan Bowe <jonathan@bowedev.com >
Signed-off-by: Jonathan Bowe <bowejonathan99@gmail.com >
Co-authored-by: Ben Kochie <superq@gmail.com >
2025-05-29 07:53:56 -04:00
PrometheusBot
d1a957f679
Update common Prometheus files ( #1159 )
...
Signed-off-by: prombot <prometheus-team@googlegroups.com >
2025-05-17 12:06:43 +02:00
Jakub Štiller
de42ef7de8
Export query itself together with queryId in stat_statement metrics ( #940 )
...
* Export query itself together with queryId in stat_statement metrics
* The feature must be enabled via flag.
* Limit length of selected query.
The query is not added to every metrics, but instead of new metric stat_statement_query_id is introduced that contains mapping between queryId and query.
Fixes : #813
---------
Signed-off-by: Jakub Štiller <stiller@2n.cz >
Signed-off-by: Jakub Štiller <jakstiller@atlas.cz >
2025-05-16 10:50:19 +02:00
dependabot[bot]
bd8a6135ec
Bump github.com/prometheus/client_golang from 1.21.1 to 1.22.0 ( #1154 )
...
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang ) from 1.21.1 to 1.22.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.21.1...v1.22.0 )
---
updated-dependencies:
- dependency-name: github.com/prometheus/client_golang
dependency-version: 1.22.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-06 22:14:44 -04:00
PrometheusBot
5ade81cb9d
Update common Prometheus files ( #1155 )
...
Signed-off-by: prombot <prometheus-team@googlegroups.com >
2025-05-06 21:54:01 -04:00
dependabot[bot]
6526065fbc
Bump golang.org/x/net from 0.36.0 to 0.38.0 ( #1152 )
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.36.0 to 0.38.0.
- [Commits](https://github.com/golang/net/compare/v0.36.0...v0.38.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-version: 0.38.0
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-22 21:26:10 -04:00
Felix Yuan
5edc331876
Record table only size bytes as well in addition to the total size bytes ( #1149 )
...
* Record table only size bytes as well in addition to the total size bytes
Signed-off-by: Felix Yuan <felix.yuan@reddit.com >
* Update collector/pg_stat_user_tables.go
Co-authored-by: Ben Kochie <superq@gmail.com >
Signed-off-by: Felix Yuan <felix.yuan@reddit.com >
* Update collector/pg_stat_user_tables.go
Co-authored-by: Ben Kochie <superq@gmail.com >
Signed-off-by: Felix Yuan <felix.yuan@reddit.com >
* Finish renaming elements to index and table size
Signed-off-by: Felix Yuan <felix.yuan@reddit.com >
---------
Signed-off-by: Felix Yuan <felix.yuan@reddit.com >
Co-authored-by: Ben Kochie <superq@gmail.com >
2025-04-18 16:14:25 +02:00
dependabot[bot]
f8b7139174
Bump github.com/prometheus/common from 0.62.0 to 0.63.0 ( #1143 )
...
Bumps [github.com/prometheus/common](https://github.com/prometheus/common ) from 0.62.0 to 0.63.0.
- [Release notes](https://github.com/prometheus/common/releases )
- [Changelog](https://github.com/prometheus/common/blob/main/RELEASE.md )
- [Commits](https://github.com/prometheus/common/compare/v0.62.0...v0.63.0 )
---
updated-dependencies:
- dependency-name: github.com/prometheus/common
dependency-version: 0.63.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-03 18:18:17 +02:00
dependabot[bot]
43576acc76
Bump github.com/prometheus/client_golang from 1.21.0 to 1.21.1 ( #1144 )
...
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang ) from 1.21.0 to 1.21.1.
- [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.21.0...v1.21.1 )
---
updated-dependencies:
- dependency-name: github.com/prometheus/client_golang
dependency-version: 1.21.1
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-03 18:17:55 +02:00
Ben Kochie
8d5ec4b3ea
Update Go ( #1147 )
...
* Update Go to 1.24.
* Update golangci-lint to v2.
* Fixup linting issues.
Signed-off-by: SuperQ <superq@gmail.com >
2025-04-03 17:23:40 +02:00
Ian Bibby
9e86f1ee38
Adds pg_stat_progress_vacuum collector ( #1141 )
...
Signed-off-by: Ian Bibby <ian.bibby@reddit.com >
Co-authored-by: Ben Kochie <superq@gmail.com >
2025-04-03 16:45:29 +02:00
PrometheusBot
fca2ad84cd
Update common Prometheus files ( #1142 )
...
Signed-off-by: prombot <prometheus-team@googlegroups.com >
2025-03-30 14:49:06 -04:00
PrometheusBot
2ce65c324c
Update common Prometheus files ( #1140 )
...
Signed-off-by: prombot <prometheus-team@googlegroups.com >
2025-03-23 16:54:21 +01:00
dependabot[bot]
b0e61bf263
Bump golang.org/x/net from 0.33.0 to 0.36.0 ( #1138 )
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.33.0 to 0.36.0.
- [Commits](https://github.com/golang/net/compare/v0.33.0...v0.36.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-16 22:34:30 +01:00
PrometheusBot
602302ffe2
Update common Prometheus files ( #1137 )
...
Signed-off-by: prombot <prometheus-team@googlegroups.com >
2025-03-08 15:00:54 +01:00
dependabot[bot]
457b6fa8cd
Bump github.com/prometheus/client_golang from 1.20.5 to 1.21.0 ( #1133 )
...
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang ) from 1.20.5 to 1.21.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.20.5...v1.21.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 >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-03 18:26:29 +01:00
Ben Kochie
1e574cf4fd
Release v0.17.1 ( #1132 )
...
* [BUGFIX] Fix: Handle incoming labels with invalid UTF-8 #1131
Signed-off-by: SuperQ <superq@gmail.com >
v0.17.1
2025-02-26 08:41:27 -05:00
vancwo
2869087f3c
Fix: Handle incoming labels with invalid UTF-8 ( #1131 )
...
It's possible that incoming labels will contain invalid UTF-8 characters. This results in a panic. This fix sanitizes the label's string to ensure only valid UTF-8 characters are included, by replacing invalid characters with � (REPLACEMENT CHARACTER)
Signed-off-by: Cooper Worobetz <cooper@worobetz.ca >
2025-02-26 14:21:39 +01:00