test: Look at averages when checking metrics
test: Look at averages when checking metrics

Otherwise any short outlier will make us miss the plateau.  Such
outliers happen frequently with the CPU plot.

Closes #3885
Reviewed-by: Stef Walter <8a7fbf0f15d3ad982af54ef28f5c117d2494b76c@redhat.com>

andreasn/cockpit,xhad/cockpit,andreasn/cockpit,matobet/cockpit,martinpitt/cockpit,petervo/cockpit,mareklibra/cockpit,harishanand95/cockpit,arilivigni/cockpit,cockpit-project/cockpit,michalskrivanek/cockpit,moraleslazaro/cockpit,garrett/cockpit,moraleslazaro/cockpit,michalskrivanek/cockpit,michalskrivanek/cockpit,Scribery/cockpit,larskarlitski/cockpit,arilivigni/cockpit,deryni/cockpit,stefwalter/cockpit,stefwalter/cockpit,xhad/cockpit,matobet/cockpit,vanloswang/cockpit,larsu/cockpit,mareklibra/cockpit,larsu/cockpit,deryni/cockpit,stefwalter/cockpit,garrett/cockpit,Scribery/cockpit,dperpeet/cockpit,Scribery/cockpit,Scribery/cockpit,xhad/cockpit,garrett/cockpit,cockpit-project/cockpit,sgallagher/cockpit,michalskrivanek/cockpit,mvollmer/cockpit,cockpituous/cockpit,larsu/cockpit,petervo/cockpit,dperpeet/cockpit,cockpituous/cockpit,andreasn/cockpit,arilivigni/cockpit,stefwalter/cockpit,cockpituous/cockpit,SotolitoLabs/cockpit,andreasn/cockpit,andreasn/cockpit,matobet/cockpit,moraleslazaro/cockpit,vanloswang/cockpit,michalskrivanek/cockpit,larskarlitski/cockpit,larskarlitski/cockpit,michalskrivanek/cockpit,mvollmer/cockpit,Scribery/cockpit,martinpitt/cockpit,dperpeet/cockpit,sgallagher/cockpit,vanloswang/cockpit,vanloswang/cockpit,SotolitoLabs/cockpit,cockpit-project/cockpit,michalskrivanek/cockpit,mvollmer/cockpit,larsu/cockpit,sgallagher/cockpit,petervo/cockpit,arilivigni/cockpit,mvollmer/cockpit,arilivigni/cockpit,deryni/cockpit,vanloswang/cockpit,martinpitt/cockpit,moraleslazaro/cockpit,matobet/cockpit,deryni/cockpit,SotolitoLabs/cockpit,petervo/cockpit,martinpitt/cockpit,petervo/cockpit,harishanand95/cockpit,arilivigni/cockpit,stefwalter/cockpit,sgallagher/cockpit,xhad/cockpit,harishanand95/cockpit,dperpeet/cockpit,martinpitt/cockpit,petervo/cockpit,vanloswang/cockpit,SotolitoLabs/cockpit,cockpit-project/cockpit,cockpituous/cockpit,larskarlitski/cockpit,moraleslazaro/cockpit,harishanand95/cockpit,deryni/cockpit,mareklibra/cockpit,harishanand95/cockpit,larskarlitski/cockpit,stefwalter/cockpit,larskarlitski/cockpit,arilivigni/cockpit,harishanand95/cockpit,vanloswang/cockpit,SotolitoLabs/cockpit,mareklibra/cockpit,moraleslazaro/cockpit,deryni/cockpit,xhad/cockpit,mareklibra/cockpit,cockpit-project/cockpit,cockpituous/cockpit,petervo/cockpit,mvollmer/cockpit,SotolitoLabs/cockpit,moraleslazaro/cockpit,SotolitoLabs/cockpit,larskarlitski/cockpit,larsu/cockpit,stefwalter/cockpit,matobet/cockpit,harishanand95/cockpit,xhad/cockpit,deryni/cockpit,larsu/cockpit,andreasn/cockpit,sgallagher/cockpit,sgallagher/cockpit,cockpituous/cockpit,dperpeet/cockpit,Scribery/cockpit,garrett/cockpit,sgallagher/cockpit,xhad/cockpit,andreasn/cockpit,matobet/cockpit,Scribery/cockpit,mareklibra/cockpit,dperpeet/cockpit,mareklibra/cockpit,garrett/cockpit,dperpeet/cockpit