Re: stats for network traffic WIP

From: Nigel Heron <nheron(at)querymetrics(dot)com>
To: Mike Blackwell <mike(dot)blackwell(at)rrd(dot)com>, Atri Sharma <atri(dot)jiit(at)gmail(dot)com>
Cc: Stephen Frost <sfrost(at)snowman(dot)net>, PgHacker <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: stats for network traffic WIP
Date: 2013-11-08 15:01:00
Message-ID: CAHhq2wLzLxwR0RUd6+RrciR1ZX4n2O==PVi2ojw9eZcDZDXpVw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, Oct 29, 2013 at 11:26 AM, Nigel Heron <nheron(at)querymetrics(dot)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 Content-Type Size
netstats-v4.patch text/x-patch 35.8 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2013-11-08 15:03:55 Re: Row-security writer-side checks proposal
Previous Message Tom Lane 2013-11-08 14:57:45 Re: FDW: possible resjunk columns in AddForeignUpdateTargets