Re: What do people like to monitor (or in other words, what might be nice in pgsnmpd)? - Mailing list pgsql-general

From Alban Hertroys
Subject Re: What do people like to monitor (or in other words, what might be nice in pgsnmpd)?
Date
Msg-id 46B19F30.80407@magproductions.nl
Whole thread Raw
In response to What do people like to monitor (or in other words, what might be nice in pgsnmpd)?  ("Josh Tolley" <eggyknap@gmail.com>)
List pgsql-general
Josh Tolley wrote:

> So please respond, if you feel so inclined, describing things you like
> to monitor in your PostgreSQL instances as well as things you would
> like to be able to easily monitor in a more ideal world.

I can think of a few things I'd like to be able to monitor...

Connection usage:
- total number of connections
- number of idle vs active connections
- total number per user/database
- number of idle vs active connections per user/database

I'm not entirely sure whether to split on user or on database or maybe both?

Also interesting: The number of queries that take more than an arbitraty
amount of time to complete. Maybe per user/database?
I suppose this number is only interesting on an uncongested database
server. Otherwise there will be queries passing that treshold that
normally wouldn't, because they have to wait for the real troublemakers
to finish.

--
Alban Hertroys
alban@magproductions.nl

magproductions b.v.

T: ++31(0)534346874
F: ++31(0)534346876
M:
I: www.magproductions.nl
A: Postbus 416
   7500 AK Enschede

// Integrate Your World //

pgsql-general by date:

Previous
From: "Andrej Ricnik-Bay"
Date:
Subject: Re: Linux distro
Next
From: Gregory Stark
Date:
Subject: Re: Linux distro