PG Exporter Blog
Original long-form articles, design records, release notes, and project updates for pg_exporter, the declarative PostgreSQL and PgBouncer metrics exporter.
Read the original articles in full, including their original figures; use the Design Records for architectural reasoning and rejected alternatives, or scan the complete release archive for shipped changes. Current product behavior remains in the documentation.
Turning PostgreSQL CSV Logs into Durable Metrics
The product boundary, durable-state protocol, bounded metric contract, and failure semantics for PostgreSQL CSV log metrics in PG Exporter
Caching pgBackRest Metrics Outside the Scrape Path
Why PG Exporter executes pgBackRest in a bounded background worker and serves an immutable last-good snapshot
The PostgreSQL Observability Product We Chose Not to Build
Why a local-first PostgreSQL incident workbench was explored, then replaced by a much smaller CSV-log metrics feature inside PG Exporter
One Endpoint, Several Sources: The Composite Exporter Contract
How PG Exporter combines PostgreSQL, PgBouncer, Patroni, and cached components without weakening the primary PostgreSQL scrape
PG Exporter v1.4.1
Subscription count and label validation fixes; RPM rename
PG Exporter v1.4.0
Snapshot histograms, pg_xact_age collector, HTTP hardening
Snapshot Histograms Are Gauges, Not Counters
Why PG Exporter rebuilds SQL distributions on every query and exposes their buckets, count, and sum as gauge series
PG Exporter v1.3.0
PostgreSQL 19 support, new PG19 collectors and branches
PG Exporter v1.2.2
Routine Go 1.26.2 refresh, no functional changes
PG Exporter v1.2.1
Config style cleanup, Go 1.26.1 refresh
PG Exporter v1.2.0
Hot reload, non-blocking startup, PG9.x legacy support
PG Exporter v1.1.2
fix pg_timeline conf issue, build with latest deps
PG Exporter v1.1.1
New pg_timeline collector, pg_sub_16 branch, bug fixes
Victoria: The Observability Stack That Slaps the Industry
VictoriaMetrics is brutally efficient—using a fraction of Prometheus + Loki’s resources for multiples of the performance. Pigsty v4 swaps to the Victoria stack; here’s the beta for anyone eager to try …
PG Exporter v1.1.0
Update default metrics collectors, bump to go 1.25.5
PG Exporter v1.0.3
Routine update on 1.25.4, fix unsupported libpq env
PG Exporter v1.0.2
Build for more os arch with goreleaser
PG Exporter v1.0.1
Docker Hub images, Go 1.24.5, disable pg_tsdb_hypertable
PG Exporter v1.0.0
PostgreSQL 18 support, new WAL/checkpointer/I/O metrics
PG Exporter v0.9.0
TimescaleDB, Citus, pg_wait_sampling collectors
PG Exporter v0.8.1
Dependencies update, docker image tags
PG Exporter v0.8.0
PgBouncer 1.24 support, Go 1.24, logging refactor
PG Exporter v0.7.1
Routine update, configuration as Reader support
PG Exporter v0.7.0
PostgreSQL 17 support, predicate queries feature
PGCon.Dev 2024, The conf that shutdown PG for a week
Experience & Feeling on the PGCon.Dev 2024
PG Exporter v0.6.1
Security dependency update plus connection-timeout and configuration-directory fixes
PostgreSQL Macro Query Optimization with pg_stat_statements
Query optimization is one of the core responsibilities of DBAs. This article introduces how to use metrics provided by pg_stat_statements for macro-level PostgreSQL query optimization.
PG Exporter v0.6.0
PostgreSQL 16 support, ARM64 packages, security fixes
如何用Pigsty监控现有PostgreSQL (RDS/PolarDB/自建)?
如何使用 Pigsty 监控云数据库服务,例如 PolarDB / RDS for PostgreSQL,或者自建的现有PG数据库?
PG Exporter v0.5.0
RPM/DEB builds, column scaling, metrics enhancements
PG Exporter v0.4.1
Collector updates, connect-timeout parameter
PG Exporter v0.4.0
PostgreSQL 14 support, auto-discovery feature
A Methodology for Diagnosing PostgreSQL Slow Queries
Slow queries are the sworn enemy of OLTP databases. Here’s how to identify, analyze, and fix them using metrics (Pigsty dashboards), pg_stat_statements, and logs.
PG Exporter v0.3.2
Shadow DSN fixes, documentation updates
Pigsty正式发布
一个比较正式的上线发布通知:Pigsty —— 世界上最先进的开源关系型数据库PostgreSQL的监控系统与供给方案。
PG Exporter v0.3.1
Configuration fixes for older PostgreSQL versions
Golden Monitoring Metrics: Errors, Latency, Throughput, Saturation
Understanding the golden monitoring metrics in PostgreSQL
PG Exporter v0.3.0
PostgreSQL 13 support, REST APIs, dummy server
PostgreSQL监控系统Pigsty概述
近自己做了套数据库监控系统,搞的还可以,简单给大家介绍一下。
PostgreSQL's KPI
Managing databases is similar to managing people - both need KPIs (Key Performance Indicators). So what are database KPIs? This article introduces a way to measure PostgreSQL load: using a single …
PG Exporter v0.2.0
YUM packages, configuration reload support
PG Exporter v0.1.2
Dynamic configuration reload, bulky mode
PG Exporter v0.1.1
Startup hang bug fix
PG Exporter v0.1.0
Initial stable release
PG Exporter v0.0.5
Timeouts, fatal collectors, priority semantics, pg_up fixes, and per-collector documentation
PG Exporter v0.0.4
Production tested release
PG Exporter v0.0.3
Production environment testing
PG Exporter v0.0.2
Early testing release
PG Exporter v0.0.1
Initial release with PgBouncer mode
PostgreSQL监控系统概览
监控系统是几乎所有运维工作的基础,更亦是驾驭数据库的必备工具,本文简单介绍了一个PostgreSQL的监控系统。
Relation Bloat Monitoring and Management
PostgreSQL uses MVCC as its primary concurrency control technology. While it has many benefits, it also brings other effects, such as relation bloat.
Monitoring Table Size in PostgreSQL
Tables in PostgreSQL correspond to many physical files. This article explains how to calculate the actual size of a table in PostgreSQL.
PostgreSQL Server Log Regular Configuration
It's recommended to configure PostgreSQL's log format as CSV for easy analysis, and it can be directly imported into PostgreSQL data tables.
-
Turning PostgreSQL CSV Logs into Durable Metrics
Decision status: Implemented in a development line; not present in main, a tag, or a published package as of 2026-08-28. Decision date: 2026-08-24. Applies to: the default-off PostgreSQL 14+ CSV log collector inside the Composite exporter. …
Decision status: Implemented in a development line; not present in main, a tag, or a published package as of 2026-08-28. Decision date: 2026-08-24. Applies to: the default-off PostgreSQL 14+ CSV log collector inside the Composite exporter. …
-
Caching pgBackRest Metrics Outside the Scrape Path
Decision status: Implemented in a development line; not present in main, a tag, or a published package as of 2026-08-28. Decision date: 2026-08-23. Applies to: the optional --pgbackrest cached component inside the Composite exporter. Release …
Decision status: Implemented in a development line; not present in main, a tag, or a published package as of 2026-08-28. Decision date: 2026-08-23. Applies to: the optional --pgbackrest cached component inside the Composite exporter. Release …
-
The PostgreSQL Observability Product We Chose Not to Build
Decision status: Superseded on 2026-08-24 by the in-process PostgreSQL CSV log metrics decision. Research date: 2026-08-13. What remains valid: CSV framing, rotation, SQLSTATE, privacy, and bounded-cardinality findings. What no longer applies: a new …
Decision status: Superseded on 2026-08-24 by the in-process PostgreSQL CSV log metrics decision. Research date: 2026-08-13. What remains valid: CSV framing, rotation, SQLSTATE, privacy, and bounded-cardinality findings. What no longer applies: a new …
-
One Endpoint, Several Sources: The Composite Exporter Contract
Decision status: Implemented in a development line; not present in main, a tag, or a published package as of 2026-08-28. Decision date: 2026-08-11; extended by cached components on 2026-08-23 and 2026-08-24. Applies to: the optional Composite …
Decision status: Implemented in a development line; not present in main, a tag, or a published package as of 2026-08-28. Decision date: 2026-08-11; extended by cached components on 2026-08-23 and 2026-08-24. Applies to: the optional Composite …
-
PG Exporter v1.4.1
v1.4.1 is a maintenance release focused on metric accuracy and RPM upgrade compatibility. Highlights Fix pg_subrel_count overcounting when parallel logical replication apply workers are active: deduplicate pg_stat_subscription by subscription ID and …
v1.4.1 is a maintenance release focused on metric accuracy and RPM upgrade compatibility. Highlights Fix pg_subrel_count overcounting when parallel logical replication apply workers are active: deduplicate pg_stat_subscription by subscription ID and …
-
PG Exporter v1.4.0
v1.4.0 introduces the Snapshot Histogram metric type and the new pg_xact_age transaction age collector, along with a round of systematic hardening across HTTP routing, packaging, and the build toolchain. New Features New HISTOGRAM column type: SQL …
v1.4.0 introduces the Snapshot Histogram metric type and the new pg_xact_age transaction age collector, along with a round of systematic hardening across HTTP routing, packaging, and the build toolchain. New Features New HISTOGRAM column type: SQL …
-
Snapshot Histograms Are Gauges, Not Counters
Decision status: Shipped in v1.4.0. Decision date: 2026-07-11; amended on 2026-07-17 before release. Applies to: HISTOGRAM columns and the bundled pg_xact_age collector in PG Exporter v1.4.0 and later. Release boundary: this article describes a …
Decision status: Shipped in v1.4.0. Decision date: 2026-07-11; amended on 2026-07-17 before release. Applies to: HISTOGRAM columns and the bundled pg_xact_age collector in PG Exporter v1.4.0 and later. Release boundary: this article describes a …
-
PG Exporter v1.3.0
v1.3.0 adds PostgreSQL 19 support, and refreshes the default collector bundle, build toolchain, and config coverage tests. Highlights Default support range extended from PostgreSQL 10-18+ to 10-19+ Default config bundle includes 57 config/*.yml …
v1.3.0 adds PostgreSQL 19 support, and refreshes the default collector bundle, build toolchain, and config coverage tests. Highlights Default support range extended from PostgreSQL 10-18+ to 10-19+ Default config bundle includes 57 config/*.yml …
-
PG Exporter v1.2.2
v1.2.2 is a routine maintenance release that only refreshes the release toolchain to Go 1.26.2. It does not introduce new collectors, config semantics, or runtime behavior changes. Highlights Refresh the release toolchain: bump release builds to Go …
v1.2.2 is a routine maintenance release that only refreshes the release toolchain to Go 1.26.2. It does not introduce new collectors, config semantics, or runtime behavior changes. Highlights Refresh the release toolchain: bump release builds to Go …
-
PG Exporter v1.2.1
v1.2.1 is a lightweight maintenance release focused on release engineering, config package consistency, and documentation/metadata refresh. It does not introduce new collector semantics or runtime behavior changes. Highlights Refresh the build …
v1.2.1 is a lightweight maintenance release focused on release engineering, config package consistency, and documentation/metadata refresh. It does not introduce new collector semantics or runtime behavior changes. Highlights Refresh the build …
-
PG Exporter v1.2.0
v1.2.0 is a stability-and-compatibility focused minor release across startup flow, hot reload, health probing, config validation, and legacy support. New Features Add robust hot reload workflow: support platform-specific reload signals (SIGHUP / …
v1.2.0 is a stability-and-compatibility focused minor release across startup flow, hot reload, health probing, config validation, and legacy support. New Features Add robust hot reload workflow: support platform-specific reload signals (SIGHUP / …
-
PG Exporter v1.1.2
Minor release fixing pg_timeline configuration issue and building with latest go deps Checksums https://github.com/pgsty/pg_exporter/releases/download/v1.1.2/checksums.txt 8cddd57a843914a3145a80a3220bc875047b9bcac0664357c01ba86485436236 …
Minor release fixing pg_timeline configuration issue and building with latest go deps Checksums https://github.com/pgsty/pg_exporter/releases/download/v1.1.2/checksums.txt 8cddd57a843914a3145a80a3220bc875047b9bcac0664357c01ba86485436236 …
-
PG Exporter v1.1.1
Minor release with new collectors and bug fixes. New Features New pg_timeline collector for timeline monitoring New pg_sub_16 collector branch to exclude parallel operations in subscriptions (PostgreSQL 16+ compatibility) Bug Fixes Fix: Add coalesce …
Minor release with new collectors and bug fixes. New Features New pg_timeline collector for timeline monitoring New pg_sub_16 collector branch to exclude parallel operations in subscriptions (PostgreSQL 16+ compatibility) Bug Fixes Fix: Add coalesce …
-
Victoria: The Observability Stack That Slaps the Industry
I’ve spent the last few weeks preparing Pigsty v4.0. The headliner: ripping out Prometheus + Loki and dropping in the full Victoria stack. VictoriaMetrics is no-frills brute force—it just works and it’s ridiculous. The observability portion is done, …
I’ve spent the last few weeks preparing Pigsty v4.0. The headliner: ripping out Prometheus + Loki and dropping in the full Victoria stack. VictoriaMetrics is no-frills brute force—it just works and it’s ridiculous. The observability portion is done, …
-
PG Exporter v1.1.0
Build with Go 1.25.5 and latest dependencies, collector updates: Collector Changes pg_setting: Major refactor for PG10-18 compatibility with missing_ok support Add 13 new metrics: max_parallel_workers, max_parallel_workers_per_gather, …
Build with Go 1.25.5 and latest dependencies, collector updates: Collector Changes pg_setting: Major refactor for PG10-18 compatibility with missing_ok support Add 13 new metrics: max_parallel_workers, max_parallel_workers_per_gather, …
-
PG Exporter v1.0.3
Build with Go 1.25.4 and latest dependencies Fix #80 Conflict with libpq env variables Change default value of auto-discovery to true by @kadaffy Checksums https://github.com/pgsty/pg_exporter/releases/download/v1.0.3/checksums.txt …
Build with Go 1.25.4 and latest dependencies Fix #80 Conflict with libpq env variables Change default value of auto-discovery to true by @kadaffy Checksums https://github.com/pgsty/pg_exporter/releases/download/v1.0.3/checksums.txt …
-
PG Exporter v1.0.2
Build with Go 1.25.0 and latest dependencies Dedicate website and homepage: https://exp.pgsty.com Release with goreleaser for more os/arch with CI/CD pipeline: add windows amd64 support add linux ppc64le support Checksums …
Build with Go 1.25.0 and latest dependencies Dedicate website and homepage: https://exp.pgsty.com Release with goreleaser for more os/arch with CI/CD pipeline: add windows amd64 support add linux ppc64le support Checksums …
-
PG Exporter v1.0.1
Add Docker Hub images: pgsty/pg_exporter Bump go dependencies to the latest version, build with go 1.24.5 Disable pg_tsdb_hypertable collector by default, since timescaledb catalog is changed. Checksums d5e2d6a656eef0ae1b29cd49695f9773 …
Add Docker Hub images: pgsty/pg_exporter Bump go dependencies to the latest version, build with go 1.24.5 Disable pg_tsdb_hypertable collector by default, since timescaledb catalog is changed. Checksums d5e2d6a656eef0ae1b29cd49695f9773 …
-
PG Exporter v1.0.0
Changes Add PostgreSQL 18 metrics support new collector branch pg_wal_18: remove write, sync, write_time, sync_time metrics move to pg_stat_io new collector branch pg_checkpointer_18: new metric num_done new metric slru_written new collector branch …
Changes Add PostgreSQL 18 metrics support new collector branch pg_wal_18: remove write, sync, write_time, sync_time metrics move to pg_stat_io new collector branch pg_checkpointer_18: new metric num_done new metric slru_written new collector branch …
-
PG Exporter v0.9.0
Default Collectors new metrics collector for timescaledb hypertable new metrics collector for citus dist node new metrics collector for pg_wait_sampling wait event profile pg_slot overhaul: Add 16/17 pg_replication_slot metrics allow pg_slot …
Default Collectors new metrics collector for timescaledb hypertable new metrics collector for citus dist node new metrics collector for pg_wait_sampling wait event profile pg_slot overhaul: Add 16/17 pg_replication_slot metrics allow pg_slot …
-
PG Exporter v0.8.1
Changes Bump dependencies to the latest version Bump golang.org/x/net from 0.35.0 to 0.36.0 #67 Update docker images building tags v0.8.1 Released 2025-03-29 View release Source · tar.gz Source · zip pgsty/pg_exporter
Changes Bump dependencies to the latest version Bump golang.org/x/net from 0.35.0 to 0.36.0 #67 Update docker images building tags v0.8.1 Released 2025-03-29 View release Source · tar.gz Source · zip pgsty/pg_exporter
-
PG Exporter v0.8.0
Changes Add PgBouncer 1.24 new metrics support (stat, pool, database) Fix: 310-pg_size.yml fails if log dir not set properly #64 by @Süleyman Vurucu Build with the latest Go 1.24 and bump all dependencies Refactor logging with the standard log/slog …
Changes Add PgBouncer 1.24 new metrics support (stat, pool, database) Fix: 310-pg_size.yml fails if log dir not set properly #64 by @Süleyman Vurucu Build with the latest Go 1.24 and bump all dependencies Refactor logging with the standard log/slog …
-
PG Exporter v0.7.1
Changes Routine update with dependabot Feat: support specifying configuration as Reader by @ringerc in #62 Bump golang.org/x/crypto from 0.21.0 to 0.31.0 by @dependabot in #63 Fix some typos Full Changelog: …
Changes Routine update with dependabot Feat: support specifying configuration as Reader by @ringerc in #62 Bump golang.org/x/crypto from 0.21.0 to 0.31.0 by @dependabot in #63 Fix some typos Full Changelog: …
-
PG Exporter v0.7.0
Changes 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 …
Changes 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 …
-
PGCon.Dev 2024, The conf that shutdown PG for a week
PGCon.Dev, once known as PGCon—the annual must-attend gathering for PostgreSQL hackers and key forum for its future direction, has been held in Ottawa since its inception in 2007. This year marks a new chapter as the original organizer, Dan, hands …
PGCon.Dev, once known as PGCon—the annual must-attend gathering for PostgreSQL hackers and key forum for its future direction, has been held in Ottawa since its inception in 2007. This year marks a new chapter as the original organizer, Dan, hands …
-
PG Exporter v0.6.1
Changes Update golang.org/x/net from v0.10.0 to v0.17.0 to pick up security fixes (#38) Fix connect-timeout propagation (#37), contributed by @mouchar Recognize both .yaml and .yml files in a configuration directory (#34), contributed by @japinli …
Changes Update golang.org/x/net from v0.10.0 to v0.17.0 to pick up security fixes (#38) Fix connect-timeout propagation (#37), contributed by @mouchar Recognize both .yaml and .yml files in a configuration directory (#34), contributed by @japinli …
-
PostgreSQL Macro Query Optimization with pg_stat_statements
In production online databases, slow queries not only affect end-user experience but also waste system resources, increase resource saturation, cause deadlocks and transaction conflicts, increase database connection pressure, and lead to master-slave …
In production online databases, slow queries not only affect end-user experience but also waste system resources, increase resource saturation, cause deadlocks and transaction conflicts, increase database connection pressure, and lead to master-slave …
-
PG Exporter v0.6.0
Changes Security enhancement: update dependencies to address reported vulnerabilities Add pg16 collectors Add arm64 & aarch64 packages Remove the monitor schema requirement for pg_query collectors (you have to ensure it with search_path or just …
Changes Security enhancement: update dependencies to address reported vulnerabilities Add pg16 collectors Add arm64 & aarch64 packages Remove the monitor schema requirement for pg_query collectors (you have to ensure it with search_path or just …
-
如何用Pigsty监控现有PostgreSQL (RDS/PolarDB/自建)?
Pigsty 是一个开箱即用的 PostgreSQL 发行版,与本地优先的 RDS 开源替代。但它也可以单独作为一个 PostgreSQL/主机监控系统来使用。本文以阿里云为例,介绍了用一台 ECS 安装部署 Pigsty,并用于监控云上的 PolarDB 与 RDS for PostgreSQL,为现有数据库带来极致的观测能力。 嵌入媒体 快速上手 使用 Pigsty 教程分为四个步骤: 1.申请用于部署 Pigsty 的 ECS 服务器2.在 ECS 服务器上完整单机安装 Pigsty3.配 …
Pigsty 是一个开箱即用的 PostgreSQL 发行版,与本地优先的 RDS 开源替代。但它也可以单独作为一个 PostgreSQL/主机监控系统来使用。本文以阿里云为例,介绍了用一台 ECS 安装部署 Pigsty,并用于监控云上的 PolarDB 与 RDS for PostgreSQL,为现有数据库带来极致的观测能力。 嵌入媒体 快速上手 使用 Pigsty 教程分为四个步骤: 1.申请用于部署 Pigsty 的 ECS 服务器2.在 ECS 服务器上完整单机安装 Pigsty3.配 …
-
PG Exporter v0.5.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 …
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 …
-
PG Exporter v0.4.1
Changes 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 …
Changes 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 …
-
PG Exporter v0.4.0
Changes Add PG 14 support Default metrics configuration overhaul. (BUT you can still use the old configuration) add auto-discovery , include-database and exclude-database option Add multiple database monitoring implementations (with auto-discovery = …
Changes Add PG 14 support Default metrics configuration overhaul. (BUT you can still use the old configuration) add auto-discovery , include-database and exclude-database option Add multiple database monitoring implementations (with auto-discovery = …
-
A Methodology for Diagnosing PostgreSQL Slow Queries
“You can’t optimize what you can’t measure.” Slow queries hog connections, hold locks, block replication, trigger deadlocks, and waste resources. Every DBA must know how to find and fix them quickly. Traditional tools pg_stat_statements – essential …
“You can’t optimize what you can’t measure.” Slow queries hog connections, hold locks, block replication, trigger deadlocks, and waste resources. Every DBA must know how to find and fix them quickly. Traditional tools pg_stat_statements – essential …
-
PG Exporter v0.3.2
Changes fix shadow DSN corner case fix typo & docs v0.3.2 Released 2021-02-01 View release Source · tar.gz Source · zip pgsty/pg_exporter
Changes fix shadow DSN corner case fix typo & docs v0.3.2 Released 2021-02-01 View release Source · tar.gz Source · zip pgsty/pg_exporter
-
Pigsty正式发布
今天我很荣幸的宣布,Pigsty正式发布了! 官方网站:https://pigsty.cc Pigsty是什么? Pigsty是针对大规模PostgreSQL集群的监控系统 Pigsty是高可用PostgreSQL集群的供给方案 Pigsty基于开源生态构建,是免费的开源软件 Pigsty 针对大规模数据库集群监控与管理而设计,提供业界顶尖的PostgreSQL监控系统与开箱即用的高可用数据库供给方案。Pigsty基于开源生态构建,旨在降低PostgreSQL使用管理的门槛,为用户带来极致的可观 …
今天我很荣幸的宣布,Pigsty正式发布了! 官方网站:https://pigsty.cc Pigsty是什么? Pigsty是针对大规模PostgreSQL集群的监控系统 Pigsty是高可用PostgreSQL集群的供给方案 Pigsty基于开源生态构建,是免费的开源软件 Pigsty 针对大规模数据库集群监控与管理而设计,提供业界顶尖的PostgreSQL监控系统与开箱即用的高可用数据库供给方案。Pigsty基于开源生态构建,旨在降低PostgreSQL使用管理的门槛,为用户带来极致的可观 …
-
PG Exporter v0.3.1
Changes fix default configuration problems (especially for versions lower than 13) setting primary_conninfo not exists until PG13 add funcid label to pg_func collector to avoid func name duplicate label fix version string to pg_exporter v0.3.1 …
Changes fix default configuration problems (especially for versions lower than 13) setting primary_conninfo not exists until PG13 add funcid label to pg_func collector to avoid func name duplicate label fix version string to pg_exporter v0.3.1 …
-
Golden Monitoring Metrics: Errors, Latency, Throughput, Saturation
Preface Playing with databases and playing with cars have something in common - they both require frequently checking the dashboard. What are you doing staring at the dashboard? Looking at metrics. Why look at metrics? You need to understand the …
Preface Playing with databases and playing with cars have something in common - they both require frequently checking the dashboard. What are you doing staring at the dashboard? Looking at metrics. Why look at metrics? You need to understand the …
-
PG Exporter v0.3.0
Changes https://github.com/pgsty/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 …
Changes https://github.com/pgsty/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 …
-
PostgreSQL监控系统Pigsty概述
近自己做了套数据库监控系统,搞的还可以,简单给大家介绍一下。 Pigsty is an advanced PostgreSQL monitoring systemd based on open source projects like prometheus & grafana. PIGSTY /pɪɡ staɪ/ is the abbreviation of “Postgres in Grafana Style”. Pigsty是一个基于Grafana与Prometheus与Consul的 …
近自己做了套数据库监控系统,搞的还可以,简单给大家介绍一下。 Pigsty is an advanced PostgreSQL monitoring systemd based on open source projects like prometheus & grafana. PIGSTY /pɪɡ staɪ/ is the abbreviation of “Postgres in Grafana Style”. Pigsty是一个基于Grafana与Prometheus与Consul的 …
-
PostgreSQL's KPI
Managing databases is similar to managing people - both need KPIs (Key Performance Indicators). So what are database KPIs? This article introduces a way to measure PostgreSQL load: using a single horizontally comparable metric that is basically …
Managing databases is similar to managing people - both need KPIs (Key Performance Indicators). So what are database KPIs? This article introduces a way to measure PostgreSQL load: using a single horizontally comparable metric that is basically …
-
PG Exporter v0.2.0
Changes add yum package and linux service definition add a ‘skip’ flag into query config fix pgbouncer_up metrics add conf reload support v0.2.0 Released 2020-03-21 View release Source · tar.gz Source · zip pgsty/pg_exporter
Changes add yum package and linux service definition add a ‘skip’ flag into query config fix pgbouncer_up metrics add conf reload support v0.2.0 Released 2020-03-21 View release Source · tar.gz Source · zip pgsty/pg_exporter
-
PG Exporter v0.1.2
Changes fix pgbouncer_up metrics add dynamic configuration reload remove ‘shard’ related logic add a ‘bulky’ mode to default settings v0.1.2 Released 2020-02-20 View release Source · tar.gz Source · zip pgsty/pg_exporter
Changes fix pgbouncer_up metrics add dynamic configuration reload remove ‘shard’ related logic add a ‘bulky’ mode to default settings v0.1.2 Released 2020-02-20 View release Source · tar.gz Source · zip pgsty/pg_exporter
-
PG Exporter v0.1.1
Changes Fix the bug that pg_exporter will hang during start-up if any query is failed. v0.1.1 Released 2020-01-10 View release Source · tar.gz Source · zip pgsty/pg_exporter
Changes Fix the bug that pg_exporter will hang during start-up if any query is failed. v0.1.1 Released 2020-01-10 View release Source · tar.gz Source · zip pgsty/pg_exporter
-
PG Exporter v0.1.0
Changes It works, looks good to me. v0.1.0 Released 2020-01-08 View release Source · tar.gz Source · zip pgsty/pg_exporter
Changes It works, looks good to me. v0.1.0 Released 2020-01-08 View release Source · tar.gz Source · zip pgsty/pg_exporter
-
PG Exporter v0.0.5
This is an early repository tag without a separate GitHub Release object. This archival note is based on the tag commit and historical release summary. Changes Add per-collector query timeouts Replace the earlier skip_error behavior with the fatal …
This is an early repository tag without a separate GitHub Release object. This archival note is based on the tag commit and historical release summary. Changes Add per-collector query timeouts Replace the earlier skip_error behavior with the fatal …
-
PG Exporter v0.0.4
Changes Tested in real world production environment with 200+ nodes for about 2 weeks. Looks good ! v0.0.4 Released 2019-12-20 View release Source · tar.gz Source · zip pgsty/pg_exporter
Changes Tested in real world production environment with 200+ nodes for about 2 weeks. Looks good ! v0.0.4 Released 2019-12-20 View release Source · tar.gz Source · zip pgsty/pg_exporter
-
PG Exporter v0.0.3
Changes 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. v0.0.3 Released …
Changes 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. v0.0.3 Released …
-
PG Exporter v0.0.2
Changes It’s ok to try now v0.0.2 Released 2019-12-09 View release Source · tar.gz Source · zip pgsty/pg_exporter
Changes It’s ok to try now v0.0.2 Released 2019-12-09 View release Source · tar.gz Source · zip pgsty/pg_exporter
-
PG Exporter v0.0.1
This is an early repository tag without a separate GitHub Release object. This archival note is based on the tag commit and historical release summary. Changes Add PgBouncer mode v0.0.1 Released 2019-12-09 View release Source · tar.gz Source · zip …
This is an early repository tag without a separate GitHub Release object. This archival note is based on the tag commit and historical release summary. Changes Add PgBouncer mode v0.0.1 Released 2019-12-09 View release Source · tar.gz Source · zip …
-
PostgreSQL监控系统概览
PostgreSQL驾驶技巧 PostgreSQL是一个很棒的数据库,但也相当复杂。上手虽简单,但想要用好不容易,想要管理好就更麻烦了。监控系统是几乎所有运维工作的基础,更亦是驾驭数据库的必备工具。用好一个监控系统,理解各种指标背后的意义并不是一件简单的事情,因此本司机决定写一系列文章,来介绍了PostgreSQL监控系统的设计,实施与使用。 0x01 PostgreSQL监控面板 为了帮助读者形成一种直觉,这里展示了在实际环境中,我所使用的监控面板。最为常用的监控面板为“单数据库实例”监控,并 …
PostgreSQL驾驶技巧 PostgreSQL是一个很棒的数据库,但也相当复杂。上手虽简单,但想要用好不容易,想要管理好就更麻烦了。监控系统是几乎所有运维工作的基础,更亦是驾驭数据库的必备工具。用好一个监控系统,理解各种指标背后的意义并不是一件简单的事情,因此本司机决定写一系列文章,来介绍了PostgreSQL监控系统的设计,实施与使用。 0x01 PostgreSQL监控面板 为了帮助读者形成一种直觉,这里展示了在实际环境中,我所使用的监控面板。最为常用的监控面板为“单数据库实例”监控,并 …
-
Relation Bloat Monitoring and Management
Author: Vonng (@Vonng) PostgreSQL uses MVCC as its primary concurrency control technology. While it has many benefits, it also brings other effects, such as relation bloat. Relation bloat (table and index) negatively impacts database performance and …
Author: Vonng (@Vonng) PostgreSQL uses MVCC as its primary concurrency control technology. While it has many benefits, it also brings other effects, such as relation bloat. Relation bloat (table and index) negatively impacts database performance and …
-
Monitoring Table Size in PostgreSQL
Table Space Layout In the broad sense, a Table includes two parts: the main table and TOAST table: Main table: stores the relation’s own data, i.e., the narrow sense relation, relkind='r'. TOAST table: corresponds one-to-one with the main table, …
Table Space Layout In the broad sense, a Table includes two parts: the main table and TOAST table: Main table: stores the relation’s own data, i.e., the narrow sense relation, relkind='r'. TOAST table: corresponds one-to-one with the main table, …
-
PostgreSQL Server Log Regular Configuration
It’s recommended to configure PostgreSQL’s log format as CSV for easy analysis, and it can be directly imported into PostgreSQL data tables. Log-Related Configuration Items log_destination ='csvlog' logging_collector =on log_directory ='log' …
It’s recommended to configure PostgreSQL’s log format as CSV for easy analysis, and it can be directly imported into PostgreSQL data tables. Log-Related Configuration Items log_destination ='csvlog' logging_collector =on log_directory ='log' …