catalyst / moodle-tool_cloudmetrics

Realtime metrics for Moodle
https://moodle.org/plugins/tool_cloudmetrics
GNU General Public License v3.0
0 stars 3 forks source link

Each metric should decide what aggregation to use when aggregated #138

Closed brendanheywood closed 1 year ago

brendanheywood commented 2 years ago

If we show an aggregation of a metric, and we don't have room to show min / avg / max only one of them, then each metric should declare which one it should show. In the base this should be max. Very few would override it but there are some metric where using min or avg might make more sense, ie when a lower number is worse rather than higher being worse, and we generally want to show the worse number.