pcp
[Top] [All Lists]

Re: pcp grafana and graphite - How to convert pcp metric values into per

To: Amer Ather <aather@xxxxxxxxxxx>
Subject: Re: pcp grafana and graphite - How to convert pcp metric values into percent
From: fche@xxxxxxxxxx (Frank Ch. Eigler)
Date: Fri, 27 Jun 2014 21:02:42 -0400
Cc: pcp@xxxxxxxxxxx
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <CAM1aq-HG2oJxCx1EAA0Zr+W7-NsSmVfThb8zG35FOKC4mbbnww@xxxxxxxxxxxxxx> (Amer Ather's message of "Fri, 27 Jun 2014 16:29:02 -0700")
References: <CAM1aq-HG2oJxCx1EAA0Zr+W7-NsSmVfThb8zG35FOKC4mbbnww@xxxxxxxxxxxxxx>
User-agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux)
aather wrote:

> [...]
> 100 * kernel.all.cpu.idle / (hinv.ncpu * 1000).ï
>
> My question is how to use this calculation in grafana or graphite to
> display in percentage.

This sort of thing could be expressed at the PCP level in at least two
ways: client-side derived metrics, or the server-side pmdasummary.
The former looks more appropriate here, but pmwebd doesn't have
support for that just yet.  Lemme go hack a little bit.


- FChE

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