Commit Graph

6 Commits

Author SHA1 Message Date
Daniel Ruf 7b8b7bf907 Correctly retrieve the value 2019-02-27 17:06:54 +01:00
Mike Willbanks 4e2c6bce0d Metrics: Calculation set to average always sums
This commit is two part:

1. getActiveValueAttribute should always return the active attribute
without providing an average since the active is the current value.
2. The query to create the average was incorrect and was taking the
count value * the value which we are really looking for the average of
the value.
2016-12-07 15:59:01 -06:00
James Brooks 915e190a31 Use system getTablePrefix 2016-11-14 18:38:14 +00:00
James Brooks 1c00dec364 Always use dynamic table names 2016-10-30 17:35:57 +00:00
James Brooks 74c646e2f4 Rewrite the Metric repository implementation. Fixes #1900 2016-10-30 17:32:44 +00:00
James Brooks 1fdda03199 Metric repository now knows prefixes. Fixes #1938 2016-07-06 18:42:31 +01:00