-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add aggregation type support #4
base: master
Are you sure you want to change the base?
Commits on Oct 17, 2011
-
update should be updateMany in second example.
added "../lib" path to requiring buffer_ieee754, was breaking otherwise.
christopher holt committedOct 17, 2011 Configuration menu - View commit details
-
Copy full SHA for 0e006ad - Browse repository at this point
Copy the full SHA 0e006adView commit details -
christopher holt committed
Oct 17, 2011 Configuration menu - View commit details
-
Copy full SHA for 9ef9c84 - Browse repository at this point
Copy the full SHA 9ef9c84View commit details -
failing when propagateLowerArchives is defined after it is called
christopher holt committedOct 17, 2011 Configuration menu - View commit details
-
Copy full SHA for 8da4c7e - Browse repository at this point
Copy the full SHA 8da4c7eView commit details -
christopher holt committed
Oct 17, 2011 Configuration menu - View commit details
-
Copy full SHA for 56bc907 - Browse repository at this point
Copy the full SHA 56bc907View commit details -
christopher holt committed
Oct 17, 2011 Configuration menu - View commit details
-
Copy full SHA for fe0805e - Browse repository at this point
Copy the full SHA fe0805eView commit details -
copied propagateLowerArchives from updateManyArchive to update [compl…
…ete hack, but works]
christopher holt committedOct 17, 2011 Configuration menu - View commit details
-
Copy full SHA for 645c674 - Browse repository at this point
Copy the full SHA 645c674View commit details -
hitting a race condition with reading from the buffer - "Error: Offse…
…t is out of bounds" try/catch on all fs.read handles this, but does not solve it.
christopher holt committedOct 17, 2011 Configuration menu - View commit details
-
Copy full SHA for e773735 - Browse repository at this point
Copy the full SHA e773735View commit details -
horrible implementation of last, works but needs optimization.
christopher holt committedOct 17, 2011 Configuration menu - View commit details
-
Copy full SHA for 989e3c0 - Browse repository at this point
Copy the full SHA 989e3c0View commit details -
christopher holt committed
Oct 17, 2011 Configuration menu - View commit details
-
Copy full SHA for ea2181b - Browse repository at this point
Copy the full SHA ea2181bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 879972d - Browse repository at this point
Copy the full SHA 879972dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9c2dfd8 - Browse repository at this point
Copy the full SHA 9c2dfd8View commit details -
one too many reverts, added try/catch for error handling out of bound…
…s offsets on fs.read
christopher holt committedOct 17, 2011 Configuration menu - View commit details
-
Copy full SHA for 05171df - Browse repository at this point
Copy the full SHA 05171dfView commit details
Commits on Oct 21, 2011
-
fix sort method, was not setting maxRetention properly
christopher holt committedOct 21, 2011 Configuration menu - View commit details
-
Copy full SHA for c39b7a4 - Browse repository at this point
Copy the full SHA c39b7a4View commit details
Commits on Oct 24, 2011
-
pass errors back through to callback
christopher holt committedOct 24, 2011 Configuration menu - View commit details
-
Copy full SHA for 060a54e - Browse repository at this point
Copy the full SHA 060a54eView commit details
Commits on Oct 15, 2012
-
Fixes ignoring of XFilesFactor
The XFilesFactor that was being passed to the create method was being ignored previously. Now it isn't. Signed-off-by: ciaranj <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0e0bdb6 - Browse repository at this point
Copy the full SHA 0e0bdb6View commit details -
Fixes updateMany so it now, err, updates many!
Previously calls to updateMany would ultimately have their data discarded, as concat does not mutate the existing arrays but returns a new one, the python-ported algorithm doesn't quite apply. Signed-off-by: ciaranj <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3ab6edb - Browse repository at this point
Copy the full SHA 3ab6edbView commit details -
unixTime() will now round up, rather than down.
This change may be un-acceptable :(. If Hoard.js is used within the same process as statsd (as for example a back-end) then it is possible that hoard will refuse updates from statsD's flush event as the timestamp that statsd generates will appear to be from the future. This is because Hoard.js was using: parseInt( new Date().getTime() / 1000 ) But statsd is using : Math.round( new Date().getTime() / 1000 ) To get their idea of 'now'. Most of the time this will be ok, but if a the result of the division contains a fractional part greater than or equal to .5 then statsd will round-up to the next nearest integer value but Hoard was truncating (discarding?) the fractional part, meaning it would be (as far as it was concerned) timestamps from the future when update was called sufficiently quickly after the flush. Signed-off-by: ciaranj <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3c8b006 - Browse repository at this point
Copy the full SHA 3c8b006View commit details -
Adds configurable aggregationType support
Much like commit 0cc664 in the python whisper project, this commit introduces support for specifying the aggregation type (one of 'sum', 'max', 'min', 'last' or 'average') when propagating values into the lower precision archives. This commit also bumps the package number as it introduces a breaking change to the create interface by making the xFilesFactor and new aggregationMethod arguments optional (defaulting to 0.5 and average respectively). Following semver.org recommendations that means a bump to the middle value :) Signed-off-by: ciaranj <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 76820e5 - Browse repository at this point
Copy the full SHA 76820e5View commit details
Commits on Nov 2, 2012
-
Signed-off-by: ciaranj <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b5efad4 - Browse repository at this point
Copy the full SHA b5efad4View commit details
Commits on Mar 29, 2013
-
Configuration menu - View commit details
-
Copy full SHA for c2d7df9 - Browse repository at this point
Copy the full SHA c2d7df9View commit details