pcp
[Top] [All Lists]

Re: [pcp] My first PMDA, some questions..

To: Jan-Frode Myklebust <janfrode@xxxxxxxxx>
Subject: Re: [pcp] My first PMDA, some questions..
From: Nathan Scott <nathans@xxxxxxxxxx>
Date: Thu, 20 Nov 2014 23:51:59 -0500 (EST)
Cc: pcp@xxxxxxxxxxx
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <20141120215514.GA18343@xxxxxxxxxxxxxxxxx>
References: <20141116200958.GA8464@xxxxxxxxxxxxxxxxx> <69304097.15487953.1416205767949.JavaMail.zimbra@xxxxxxxxxx> <20141118235954.GA2225@xxxxxxxxxxxxxxxxx> <1584858682.2368740.1416440944540.JavaMail.zimbra@xxxxxxxxxx> <20141120215514.GA18343@xxxxxxxxxxxxxxxxx>
Reply-to: Nathan Scott <nathans@xxxxxxxxxx>
Thread-index: hCqlZMgl7XzreO0xGRMDZw39Od1Ycg==
Thread-topic: My first PMDA, some questions..

----- Original Message -----
> On Wed, Nov 19, 2014 at 06:49:04PM -0500, Nathan Scott wrote:
> > 
> > Good stuff.  Is this a PMDA you would like to include in PCP, or do you
> > want to maintain/release it separately? (its your choice of course)
> 
> Would be very cool to get it included with PCP. I'll submit it for
> inclusion once I feel it's closer to finished.

Sounds good - I've reserved domain number 132 for the unbound PMDA in
the dev branch.

> > 
> > One thing I noticed is this PMDA would greatly benefit from a python
> > version of pmda_pmid_name() from the perl API.  This converts a PMID
> > (well - just the cluser,item pair) into a metric name using the data
> > structures that the language binding maintains.
> 
> Right, that would save me some lines :-)

Heh, yeah - looks like about 250 lines or so less.

> > 
> > But, noone has implemented a python version of that API yet - would you
> > be interested in hacking on that?  (see the data structures maintained
> > by PMDA.add_metric() in src/python/pcp/pmda.py, if so)
> 
> Sure, I'll look into it.

Fabulous, thanks!

--
Nathan

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