Re: stats for network traffic WIP - Mailing list pgsql-hackers

From Nigel Heron
Subject Re: stats for network traffic WIP
Date
Msg-id CAHhq2wLzLxwR0RUd6+RrciR1ZX4n2O==PVi2ojw9eZcDZDXpVw@mail.gmail.com
Whole thread Raw
In response to Re: stats for network traffic WIP  (Nigel Heron <nheron@querymetrics.com>)
Responses Re: stats for network traffic WIP  (Mike Blackwell <mike.blackwell@rrd.com>)
Re: stats for network traffic WIP  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-hackers
On Tue, Oct 29, 2013 at 11:26 AM, Nigel Heron <nheron@querymetrics.com> wrote:
>>
>> So, for now, the counters only track sockets created from an inbound
>> (client to server) connection.
>
> here's v3 of the patch (rebase and cleanup).
>

Hi,
here's v4 of the patch. I added documentation and a new global view
called "pg_stat_socket" (includes bytes_sent, bytes_received and
stats_reset time)

thanks,
-nigel.

Attachment

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: FDW: possible resjunk columns in AddForeignUpdateTargets
Next
From: Robert Haas
Date:
Subject: Re: Row-security writer-side checks proposal