Refactor codebase for the latest go version.
- PostgreSQL 17 Metrics Support by @Vonng
- pg_exporter: predicate queries feature by @ringerc
- Do a clean build in the dockerfile by @ringerc by @ringerc
- pg_exporter: don't panic after "bind: address already in use" by @ringerc
- pg_exporter: fix /stat endpoint formatting by @ringerc
- pg_exporter: omit default query properties on yaml export by @ringerc
- Exclude template DBs from discovery and schema-qualify discovery query by @ringerc
- Fix some typos and some metric description mistakes by @ringerc
- Switch from unmaintained lib/pq driver to pgx with stdlib wrapper by @ringerc
Alpha 1: https://github.com/Vonng/pg_exporter/releases/tag/v0.7.0-a1
-
Security Enhancement: Fix security dependent-bot issue
-
Add pg16 collectors
-
Add
arm64
&aarch64
packages -
Remove the
monitor
schema requirement forpg_query
collectors (you have to ensure it with search_path or just installpg_stat_statements
in the defaultpublic
schema) -
Fix pgbouncer version parsing message level from info to debug
-
Fix
pg_table_10_12
collector missingrelid
issue. -
Recognize the files with yml suffix in config directory by @Japin Li
https://github.com/Vonng/pg_exporter/releases/tag/v0.6.0
Exporter Enhancement
- Build rpm & deb with
nfpm
- Add
column.default
, replace when metric value is NULL - Add
column.scale
, multiply scale factor when metric value is float/int (e.g µs to second) - Fix
/stat
endpoint output - Add docker container
vonng/pg_exporter
Metrics Collector
- scale bgwriter & pg_wal time unit to second
- remove pg_class collector and move it to pg_table & pg_inex
- add pg_class metrics to pg_table
- add pg_class metrics to pg_index
- enable pg_table_size by default
- scale pg_query pg_db pg_bgwriter pg_ssl pgbouncer_stat time metrics to second
https://github.com/Vonng/pg_exporter/releases/tag/v0.5.0
- update default collectors
- omit citus & timescaledb schemas on object monitoring
- avoid duplicate pg_statio tuples
- support pgbouncer v1.16
- bug fix:
pg_repl
collector overlap on pg 12
- new parameter:
-T
connect-timeout
PG_EXPORTER_CONNECT_TIMEOUT
this can be useful when monitoring remote Postgres instances. - now
pg_exporter.yaml
are renamed aspg_exporter.yml
in rpm package.
https://github.com/Vonng/pg_exporter/releases/tag/v0.4.1
- Add PG 14 support
- Default metrics configuration overhaul. (BUT you can still use the old configuration)
- add
auto-discovery
,include-database
andexclude-database
option - Add multiple database monitoring implementations (with
auto-discovery = on
)
https://github.com/Vonng/pg_exporter/releases/tag/v0.4.0
- fix shadow DSN corner case
- fix typo & docs
https://github.com/Vonng/pg_exporter/releases/tag/v0.3.2
fix default configuration problems (especially for versions lower than 13)
- setting
primary_conninfo
not exists until PG13 - add
funcid
label topg_func
collector to avoid func name duplicate label - fix version string to
pg_exporter
https://github.com/Vonng/pg_exporter/releases/tag/v0.3.1
https://github.com/Vonng/pg_exporter/releases/tag/v0.3.0
- Change default configuration, Support PostgreSQL 13 new metrics (
pg_slru
,pg_shmem
,pg_query13
,pg_backup
, etc...) - Add a series of new REST APIs for health / recovery status check
- Add a dummy server with fake
pg_up 0
metric, which serves before PgExporter is initialized. - Add
sslmode=disable
to URL ifsslmode
is not given - fix typos and bugs
- add yum package and linux service definition
- add a 'skip' flag into query config
- fix
pgbouncer_up
metrics - add conf reload support
https://github.com/Vonng/pg_exporter/releases/tag/v0.2.0
- fix pgbouncer_up metrics
- add dynamic configuration reload
- remove 'shard' related logic
- add a 'bulky' mode to default settings
https://github.com/Vonng/pg_exporter/releases/tag/v0.1.2
Fix the bug that pg_exporter will hang during start-up if any query is failed.
https://github.com/Vonng/pg_exporter/releases/tag/v0.1.1
It works, looks good to me.
https://github.com/Vonng/pg_exporter/releases/tag/v0.1.0
Tested in real world production environment with 200+ nodes for about 2 weeks. Looks good !
https://github.com/Vonng/pg_exporter/releases/tag/v0.0.4
v0.0.3 Release, Tested in Production Environment
This version is already tested in a production environment.
This project is still under rapid evolution, I would say if you want use it in production , try with caution.
https://github.com/Vonng/pg_exporter/releases/tag/v0.0.3
It's ok to try now
https://github.com/Vonng/pg_exporter/releases/tag/v0.0.2
Add pgbouncer mode