Closed jaimecasero closed 7 years ago
One simple solution is to include the first and last samples, and test usinga ratio/relative test goal that is already supported. We also need to track the time in x-axis (we know we take periodic samples at same rate,so the order of the sample gives the time also) to figure out the final gradient of the line.
gradient=horizontal run /vertical rise horizontal run = time1 - time0 vertical rise = last sample - first sample
Seems current Apache commons Math lib already supports this on: http://commons.apache.org/proper/commons-math/apidocs/org/apache/commons/math4/stat/regression/SimpleRegression.html
We need to be able to spot that a certain data set is increasing at a certain level. This is specially important to spot memory leaks. The stats we are providing (mean,median...) are not intended for this kind of analysis, and do not allow to spot this tendencies.