Categorygithub.com/rapidloop/pgmetrics
modulepackage
1.17.1
Repository: https://github.com/rapidloop/pgmetrics.git
Documentation: pkg.go.dev

# README

pgmetrics collects and displays various information and statistics from a running PostgreSQL server to aid in troubleshooting, monitoring and automation.

For more information, see pgmetrics.io.

pgmetrics is developed and maintained by RapidLoop. Follow us on Twitter at @therapidloop.

# Packages

No description provided by the author
No description provided by the author

# Constants

ModelSchemaVersion is the schema version of the "Model" data structure defined below.

# Structs

AnalyzeProgressBackend represents a row (and each row represents one backend) from pg_stat_progress_analyze.
AutoVacuum contains information about a single autovacuum run.
Azure represents metrics and information collected from Azure PostgreSQL via Azure Monitor APIs.
No description provided by the author
BasebackupProgressBackend represents a row (and each row represents one backend) from pg_stat_progress_basebackup.
BGWriter holds the contents of a row from pg_stat_bgwriter.
Checkpointer contains the data from the only row of pg_stat_checkpointer.
Citus contains metrics collected from Citus extension.
CitusBackend represents a row from citus_dist_stat_activity or from citus_worker_stat_activity; in Citus <=10.x.
CitusBackendV11 represents a row from citus_stat_activity in Citus >=11.x.
CitusLock represents a single row from citus_lock_waits.
CitusNode represents a row from the pg_dist_node table.
CitusStatement represents a row in citus_stat_statements.
CitusTable represents an equivalent of a single row from citus_tables.
ClusterProgressBackend represents a row (and each row represents one backend) from pg_stat_progress_cluster.
CopyProgressBackend represents a row (and each row represents one backend) from pg_stat_progress_copy.
CreateIndexProgressBackend represents a row (and each row represents one backend) from pg_stat_progress_create_index.
No description provided by the author
Deadlock contains information about a single deadlock detection log.
No description provided by the author
No description provided by the author
Lock represents a single row from pg_locks.
LogEntry contains one single log entry from the log file.
LogEntryExtra contains lines that appear after the first line in a multi-line log entry.
Metadata contains information about how to interpret the other fields in "Model" data structure.
Model contains the entire information collected by a single run of pgmetrics.
PgBouncer contains information collected from the virtual "pgbouncer" database.
PgBouncerDatabase contains information about one database of PgBouncer (one row from SHOW DATABASES).
PgBouncerPool contains information about one pool of PgBouncer (one row from SHOW POOLS).
PgBouncerStat contains one row from SHOW STATS.
Pgpool contains information collected from Pgpool using "SHOW POOL" commands.
PgpoolBackend contains information related to a single backend that the Pgpool server is configured to connect to.
PgpoolQueryCache contains in memory query cache statistics of Pgpool.
Plan represents a query execution plan.
Publication represents a single v10+ publication.
RDS contains metrics collected from AWS RDS (also includes Aurora).
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Statement represents a row of the pg_stat_statements view.
Subscription represents a single v10+ subscription.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
VacuumProgressBackend holds the contents of a row from pg_stat_progress_vacuum.
WAL represents a single row from pg_stat_wal.
No description provided by the author