Hi,
On Mon, Mar 16, 2026 at 12:20 PM Michael Paquier <michael@paquier.xyz> wrote:
>
> On Mon, Mar 16, 2026 at 08:55:17AM +0530, Ashutosh Bapat wrote:
> > I would post two patches
> > 1. To introduce the new column sent_bytes + clarify total_bytes in the
> > context of sent_bytes. We should consider this patch for committing.
>
> Sounds to me like two patches: one for the new column, a second for
> the docs of the existing columns. Could somebody send these patches?
> I would be OK to look at them once posted, driving things for this CF.
>
PFA patches:
1) v20260316-0001-Report-downstream-sent-bytes-in-pg_stat_replication_.patch:
This patch introduces sent_bytes to report the amount of data sent
downstream. It documents sent_bytes in a way that it clarifies how
sent_bytes differs from total_bytes, without modifying the existing
documentation for total_bytes or total_txns. The patch is purely
additive and does not alter any existing documentation.
2) v20260316-0002-Report-output-plugin-statistics-in-pg_stat_replicati.patch:
This patch adds a couple of more metrics to report the amount of
changes filtered out by the output plugin, as well as the total number
of transactions sent downstream.
--
With Regards,
Ashutosh Sharma.