[feature request] asPercent taking two series lists

Bug #1005366 reported by Srihari Venkatesan
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Won't Fix

Bug Description

Originial Desc:
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?

Michael's Response:
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.

summary: - asPercent taking two series lists
+ [feature request] asPercent taking two series lists
Revision history for this message
Mike (tewner) wrote :

I have a similar request with "divideSeries" - I want to specify a wildcard list of hosts and divide two metrics from each host - I still would love to use the coolest feature of Graphite - I want new plots for new hosts as the hosts are created.

  ,"Server1 - TotalParsingTime per Req"

Revision history for this message
Mike (tewner) wrote :

Small difference with my situation is that because I want to use wildcards, I need the 2 series' matched by host, and not by position in the series. Group-by index in the NODE name (likegroupByNode) SHOULD be ok, though.

Revision history for this message
Michael Leinartas (mleinartas) wrote :
Changed in graphite:
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Related questions