grafana / metrictank

metrics2.0 based, multi-tenant timeseries store for Graphite and friends.
GNU Affero General Public License v3.0
621 stars 105 forks source link

Fix benchmarks #2016

Closed pub-djedruszczak closed 2 years ago

pub-djedruszczak commented 2 years ago

Most if not all benchmarks were failing because the test series had an interval of 0 -- causing a panic when dividing by 0 when normalizing the series.

This PR modifies the test functions to return the interval as well as the datapoints.