pcp
[Top] [All Lists]

Re: qa/709 failing on Mac OS X - pmcollectl

To: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Subject: Re: qa/709 failing on Mac OS X - pmcollectl
From: fche@xxxxxxxxxx (Frank Ch. Eigler)
Date: Sat, 09 Apr 2016 19:45:18 -0400
Cc: Nathan Scott <nathans@xxxxxxxxxx>, Stan Cox <scox@xxxxxxxxxx>, pcp@xxxxxxxxxxx
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <56F860D4.6060100@xxxxxxxxxxxxxxxx> (Ken McDonell's message of "Mon, 28 Mar 2016 09:38:12 +1100")
References: <56E9CDDF.5080209@xxxxxxxxxxxxxxxx> <1139238315.32024832.1458165274501.JavaMail.zimbra@xxxxxxxxxx> <56F1D89D.90901@xxxxxxxxxxxxxxxx> <56F860D4.6060100@xxxxxxxxxxxxxxxx>
User-agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux)
kenj wrote:

> [...]
>>          try:
>>              sum_compressed = 
>> sum(self.ss.get_metric_value('network.interface.in.compressed'))
>>          except TypeError as te: # pylint: disable-msg=C0103
>>              sum_compressed = 0
>>
>> Is this the best one can do?   Is the pyrlint chatter needed?

Maybe this code should be converted from pmcc to fetchgroups.  It
should eliminate the need for this sort of stuff.


- FChE

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