me-box / databox

Databox container manager and dashboard server
MIT License
94 stars 25 forks source link

time type is undefined/inconsistent in store APIs #180

Closed cgreenhalgh closed 7 years ago

cgreenhalgh commented 7 years ago

Although undocumented, store-json appears (through an internal use of Date.time()) to expect timestamp to be ms since Unix epoch. It will probably work with fractions of a ms in provided (double / Number) values.

store-timeseries uses seconds since Unix epoch and does not work with fractions of a second (uses int internally).

Toshbrown commented 7 years ago

see my reply here https://github.com/me-box/databox/issues/181

Toshbrown commented 7 years ago

store-json will be replaced by the new store. A discussion on the new API is ongoing hear https://github.com/me-box/databox/issues/184

closing this, in anticipation of the new store.