graphite-dev team mailing list archive
-
graphite-dev team
-
Mailing list archive
-
Message #01616
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:
Sorry I forgot that is a quirk of how asPercent() works, the first
argument has to be a literal series without globs. So if your pattern
foo.* matches foo.bar and foo.baz, you would have to do:
areaMode=stacked&target=asPercent(foo.bar,sumSeries(foo.*))&target=asPercent(foo.baz,sumSeries(foo.*))
That should work.
--
You received this question notification because you are a member of
graphite-dev, which is an answer contact for Graphite.