asPercent taking two series lists

Asked by Srihari Venkatesan

I have a use case where I need to find the percentage between two series lists like:

asPercent(groupByNode(serieslist1, x, "sumSeries"), groupByNode(serieslist2, y, "sumSeries"))

Is there way to achieve this? If not and if you find this useful may I request a feature addition where, when two series lists with "equal length" are passed as parameters to asPercent, it will return a serieslist with the same length where each series is a percentage of the individual input series?

Thanks,
-Hari

Question information

Language:
English Edit question
Status:
Answered
For:
Graphite Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Michael Leinartas (mleinartas) said :
#1

I think asPercent and divideSeries could probably support this - rather than the 2nd series being required to have a length of 1, it could be required to have either: a length of 1 (current behavior) or a length equal to the 1st series (your proposed behavior).

Unfortunately I cant spot a way to do this without having to enumerate every series out.

If you'd like the new feature to be explored, convert this question to a bug report and mark it as a feature request so that it can be tracked.

Revision history for this message
Srihari Venkatesan (harisuthan) said :
#2

Thanks Michael for considering this feature to be explored further. I have created a bug: https://bugs.launchpad.net/graphite/+bug/1005366 for this.

Can you help with this problem?

Provide an answer of your own, or ask Srihari Venkatesan for more information if necessary.

To post a message you must log in.