mgr: expose avg data for long running avgs
While exposing the long running avgs, the order of regular and long
running avg data got mixed up resulting in exposing empty data for both
since there is no regular data for long running avgs and vice versa.
This commit fixes this issue by changing the order of the if/else
statement exposing regular data for regular counters and avg data for
long running avgs.
Signed-off-by: Boris Ranto <branto@redhat.com>
(cherry picked from commit
2042c6c27beb504454daaaf185b9ce8f04d679d9)