Make measures aggregation start & stop parameters mandatory

Bug #1676902 reported by Sergio Colinas
26
This bug affects 6 people
Affects Status Importance Assigned to Milestone
Gnocchi
New
Undecided
Unassigned

Bug Description

When you do measures aggregation with needed_overlap 0 (it is our default), if you don't specify start and stop parameters sometimes the api omit results.

Revision history for this message
gordon chung (chungg) wrote :

not sure if this matters to your use case, but you can backfill values so it doesn't omit results.

Revision history for this message
Sergio Colinas (sergio-n) wrote :

It is not clear which is the expected result when start and stop are not specified. I though all results should be included because not filter is applied but it was not the case.

Revision history for this message
gordon chung (chungg) wrote :

tbh, it's not obvious. i think this needs to be documented

based on code, the result is the last contiguous sequence where all series overlap. ie if

series1: __, __, __, __, 10, 20, __, 30, 40
series2: 10, 20, 30, 40, 50, 60, 70, 80, 90,

i believe the return value is only the last points. (do not quote me)

Revision history for this message
Sergio Colinas (sergio-n) wrote :

Thanks gordon! I still think that those parameters should be mandatory or if you use needed_overlap 0 it should return all the points. And yes, this needs to be documented.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.