ice icon indicating copy to clipboard operation
ice copied to clipboard

Hours accounted always return 24 (hours), it used to work fine a week or more ago.

Open TomGudman opened this issue 9 years ago • 0 comments

Hi,

I leverage the 'hours' returned by Netflix Ice API which describes how many hours are counted per day (a full day is obviously 24 but the current day could be only 2 for 2 hours of billing accounted for today). This always worked fine until a few days ago (or week ago).

I am unsure if AWS changed their API behaviour and therefore becomes a Netflix Ice issue or if it just an AWS billing issue or maybe it is just affecting me...

Could someone confirm the same behaviour/issue than me?

# POST the following (UTC time):
{"breakdown": true, "consolidate": "daily", "end": "2016-08-15 02AM", "start": "2016-07-18 12AM", "aggregate": "data", "isCost": true, "factorsps": false, "groupBy": "Product", "showsps": false}

# GET the following: 
[..]
"groupBy":"Product",
"time":[1468800000000,1468886400000,1468972800000,1469059200000,1469145600000,1469232000000,1469318400000,1469404800000,1469491200000,1469577600000,1469664000000,1469750400000,1469836800000,1469923200000,1470009600000,1470096000000,1470182400000,1470268800000,1470355200000,1470441600000,1470528000000,1470614400000,1470700800000,1470787200000,1470873600000,1470960000000,1471046400000,1471132800000,1471219200000],
"hours": [24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24],
"interval":86400000 
}

PS: I can query the above at any time of the day, it will always tell me that 24h have been accounted for a day that is not even finished yet (today)... As said, it used to return the right amount of hours accounted a few days/weeks back so something changed in AWS

Any ideas? Cheers

TomGudman avatar Aug 15 '16 03:08 TomGudman