Closed npazosmendez closed 2 years ago
This does two things:
*positions
aggregateSeriesWithWildcards
GetIntArgs
sum
multiply
average
SeriesWithWildcards
This does two things:
*positions
toaggregateSeriesWithWildcards
. This matches what graphite web does.GetIntArgs
are OK with this change.sum
/multiply
/average
SeriesWithWildcards
toaggregateSeriesWithWildcards
's implementation. There was a lot of repeated code between them. Note that this is what GraphiteWeb does, see https://github.com/graphite-project/graphite-web/blob/e7d08e6af65c47c5a5dd6421c5b352d7ac3d381c/webapp/graphite/render/functions.py#L382-L403 . I think this will make it easier to be graphiteweb-compatible.aggregateSeriesWithWildcards
's tests and they passed :+1: