Added consolidate() function to webapp/graphite/render/functions.py
Bug #822560 reported by
Dani
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Graphite |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
As per question #166935 I've added a function called consolidate that works like summarize but instead of summing datapoints it averages them.
If you do a lot of rendering in browser side, having consolidated data should help improving browser performance.
To post a comment you must log in.
Consolidate is a very generic term, it does not mean sum or average. I would rather see this new function be called average.
Rather than duplicating all of summarize, it might make more sense to add a new optional parameter to the summarize function to change what function is used.