pcp
[Top] [All Lists]

Re: [pcp] libvirt pmda: add per-device metrics

To: Nathan Scott <nathans@xxxxxxxxxx>
Subject: Re: [pcp] libvirt pmda: add per-device metrics
From: Marko Myllynen <myllynen@xxxxxxxxxx>
Date: Tue, 4 Oct 2016 21:00:37 +0300
Cc: pcp developers <pcp@xxxxxxxxxxx>
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <419466549.762313.1475441807473.JavaMail.zimbra@xxxxxxxxxx>
Organization: Red Hat
References: <2d10d43c-a7a2-1488-f6c8-e8ab93e46af9@xxxxxxxxxx> <419466549.762313.1475441807473.JavaMail.zimbra@xxxxxxxxxx>
Reply-to: Marko Myllynen <myllynen@xxxxxxxxxx>
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0
Hi,

On 2016-10-02 23:56, Nathan Scott wrote:
> ----- Original Message -----
>>
>> Below is a patch to add support for per-device metrics (for
>> VCPU/block/net devices). Nothing too exciting here, the only
>> thing to pay attention to is that these clusters now have too
>> different indoms, seems to work just fine.
> 
> Looks good, working nicely here.
> 
>> libvirt.domstats.block.capacity
>>     inst [1 or "f01110aa-de20-4f2d-8f98-6ee0bc9de412-block7"] value 
>> 1073741824
> 
> There's a convention of using "::" as separator for compound instances in 
> other
> PMDAs, which would make the above -
> 
>   libvirt.domstats.block.capacity
>       inst [1 or "f01110aa-de20-4f2d-8f98-6ee0bc9de412::block7"] value 
> 1073741824
> 
> Which is a more clear separator here, and its easier to pick apart in this 
> case
> too (via awk/sed/... that is).  If you have a strong preference for the 
> original
> way though, no problem going back to that - let me know.  Otherwise, its all 
> in
> now - thanks for following up on this.

The :: convention makes sense, we're all good.

Thanks,

-- 
Marko Myllynen

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