pcp
[Top] [All Lists]

pcp grafana and graphite - How to convert pcp metric values into percent

To: pcp@xxxxxxxxxxx
Subject: pcp grafana and graphite - How to convert pcp metric values into percent
From: Amer Ather <aather@xxxxxxxxxxx>
Date: Fri, 27 Jun 2014 16:29:02 -0700
Delivered-to: pcp@xxxxxxxxxxx
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netflix.com; s=google; h=mime-version:date:message-id:subject:from:to:content-type; bh=qmf/+BR53orjS3TBRk+5DBepEwC3fkpnuUCVD4UQzPQ=; b=VzUh3TcZJRhbwEYmpMpmJw4+3sXdRCAzKEqLSUg9yvkL9CkOkZ4lE2XfMLfHsLiTGn U6U3s93mLt+YL5+22eJGo9w4iE89vOWm+28WI24OmHZS3KWBt12QmrVjt+ofxqNs6Mx7 Vk/p8FEZn80SGZJR5+fvSunGp2jnrAj2FXfQY=

I have been playing with grafana and graphite extension. I want to know is there a way in grafana to convert stats like "kernel.all.cpu.idle" into percentages, similar to sar values. PCP site recommends, one should do:Â

100 * kernel.all.cpu.idle / (hinv.ncpu * 1000).Â

My question is how to use this calculation in grafana or graphite to display in percentage.


--
Thanks,

Amer Ather
Cloud Performance Engineering
<Prev in Thread] Current Thread [Next in Thread>