pcp
[Top] [All Lists]

Re: [pcp] Derived Metrics and pmlogsummary.. ? Is it supposed to work?

To: Paul Smith <psmith@xxxxxxxxxx>
Subject: Re: [pcp] Derived Metrics and pmlogsummary.. ? Is it supposed to work?
From: Nathan Scott <nathans@xxxxxxxxxx>
Date: Thu, 8 Sep 2011 16:57:31 +1000 (EST)
Cc: pcp@xxxxxxxxxxx
In-reply-to: <0B1ABCB2-E4B0-42BD-924D-69ABD630B694@xxxxxxxxxx>
----- Original Message -----
> ...
> Why wouldn't it work in pmlogsummary?

I suspect its to do with the way pmlogsummary is using a
fairly low level interface (see pmFetchArchive(3)) to scan
through every data point in the archive with no changes (ie.
no interpolation, rate conversion, etc) ... this scanning
is all done upfront before we look at the requested metrics
at all.  Ken might have a cunning plan to resolve this, but
I suspect it wont be easy unfortunately.

Might be worth considering alongside that other missing piece
of log summary functionality - calculating the Nth percentile.
That also would need some design-level surgery for logsummary,
though probably they are orthogonal.

cheers.

-- 
Nathan

<Prev in Thread] Current Thread [Next in Thread>