Citus is a horizontal scaling solution for PostgreSQL, now part of Microsoft.
Starting with version 1.10.0, pgmetrics
can collect information exposed by
the citus
extension. It can work with both standalone Citus installations
as well as the managed Microsoft Azure Citus deployments.
pgmetrics
will automatically detect if the extension is installed, and if so
collect citus-specific information. This is the default behavior, to change it
add the command-line option --omit=citus
.
Currently the following metrics/details are collected:
Citus 9.4.0 on x86_64-pc-linux-gnu, compiled by gcc (Debian 8.3.0-6) 8.3.0, 64-bit
pg_dist_node
citus_tables
and relatedcitus_table_size
citus_stat_statements
viewcitus_stat_activity
)citus_lock_waits
)Currently the collected information is exposed only the JSON output.
Citus versions v11 and v12 are officially supported.