This repository has been archived by the owner on Jan 21, 2022. It is now read-only.
Reporting start
and end
are invalid
#802
Labels
start
and end
are invalid
#802
Looking at the following section of code:
https://github.com/cloudfoundry-incubator/cf-abacus/blob/87dc920ec237683714668162bbb5a12b495116ba/lib/aggregation/reporting/src/index.js#L757-L767
it seems that
start
has the semantic of the beginning of the month for which a report is requested andend
has the semantic of the timestamp up to which the report is requested, or the current time, in case such a timestamp has not been specified.However, that code executes only if there is no report to be returned. In the happy path, when a report does exist, we use the
start
andend
of the document in the aggregator that contains the values coming from (what I believe) is the last submitted usage.We should make
start
andend
consistent, where the former case seems to make more sense.The text was updated successfully, but these errors were encountered: