← Back to team overview

graphite-dev team mailing list archive

Re: [Question #175593]: How to express a "show top N values" as a percentage

 

Question #175593 on Graphite changed:
https://answers.launchpad.net/graphite/+question/175593

    Status: Open => Answered

chrismd proposed the following answer:
Ah sorry I had assumed you meant percentages of some constant. Yes it
actually does this too, the second argument can be a literal number or a
series expression that serves as a max value that can vary over time.
The sumSeies function is a good way to get the maximum over time.

areaMode=stacked&target=asPercent(my.counters.*,
sumSeries(my.counters.*))

-- 
You received this question notification because you are a member of
graphite-dev, which is an answer contact for Graphite.