Re: stats for network traffic WIP

From: Mike Blackwell <mike(dot)blackwell(at)rrd(dot)com>
To: Nigel Heron <nheron(at)querymetrics(dot)com>
Cc: Atri Sharma <atri(dot)jiit(at)gmail(dot)com>, 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:33:31
Message-ID: CANPAkgsm0bbs2bLmuR-qRxCX0G+foJ5rM1nTwn3CVNUAK8tQ4g@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Patch applies and builds against git HEAD (as of 6790e738031089d5). "make
check" runs cleanly as well.

The new features appear to work as advertised as far as I've been able to
check.

The code looks good as far as I can see. Documentation patches are
included for the new features.

Still to be tested:
the counts for streaming replication (no replication setup here to test
against yet).

__________________________________________________________________________________
*Mike Blackwell | Technical Analyst, Distribution Services/Rollout
Management | RR Donnelley*
1750 Wallace Ave | St Charles, IL 60174-3401
Office: 630.313.7818
Mike(dot)Blackwell(at)rrd(dot)com
http://www.rrdonnelley.com

<http://www.rrdonnelley.com/>
* <Mike(dot)Blackwell(at)rrd(dot)com>*

On Fri, Nov 8, 2013 at 9:01 AM, Nigel Heron <nheron(at)querymetrics(dot)com> wrote:

> 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.
>

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Mike Blackwell 2013-11-08 15:34:40 Re: stats for network traffic WIP
Previous Message Alvaro Herrera 2013-11-08 15:33:22 Add CREATE support to event triggers