GetHistogram can miss last bucket of data, if the bucket is not fully contained in range

Description

Say you have data in a time range of 2010-01-01/2010-01-12 and the resolution chosen is one week, then the output will contain a single bucket with data between 2010-01-01/2010-01-12, but will miss the data of the partial bucket 2010-01-07/2010-01-12

Environment

None

Status

Assignee

Andrea Aime

Reporter

Andrea Aime

Triage

None

Fix versions

Affects versions

None

Components

Priority

Medium
Configure