pcp
[Top] [All Lists]

Re: Dynamic names issue

To: kenj@xxxxxxxxxxxxxxxx
Subject: Re: Dynamic names issue
From: Nathan Scott <nathans@xxxxxxxxxx>
Date: Tue, 27 Apr 2010 13:54:33 +1000 (EST)
Cc: pcp <pcp@xxxxxxxxxxx>
In-reply-to: <1988458083.206861271992673963.JavaMail.root@xxxxxxxxxxxxxxxxxx>
----- nathans@xxxxxxxxxx wrote:

> ----- "Ken McDonell" <kenj@xxxxxxxxxxxxxxxx> wrote:
> 
> > The first time a pmid appears in a pmFetch, pmlogger calls pmNameAll
> > to get all of the names of the metric from the pmns to build the
> pmns
> > fragment in the archive ... at this point the only name that can be
> > found for pmid 2.4.1 is pmcd.agent.status, because the other "name"
> > is not really in the pmns that is available to pmcd, and is not even
> > "owned" by the PMDA with domain 2.
> >
> > I don't see a simple way to prevent this happening ...
> 
> How's this patch look?  It has the added bonus that it removes two

(just closing the loop on this one)

Ken and I discussed this further in person recently, and Ken pointed
out a lack of dealing with the multiple-names to one PMID case ... I
updated the patch, wrote several test cases, and committed it a short
while ago - plan is to release it in pcp-3.1.3 (which should be soon).

cheers.

-- 
Nathan

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