couchdb-folsom.git
15 months agoUpdate ASF meck version to 0.8.8 master CouchDB-0.8.2
Nick Vatamaniuc [Thu, 28 Sep 2017 22:19:44 +0000 (18:19 -0400)] 
Update ASF meck version to 0.8.8

21 months agofeat: use apache mirrors CouchDB-0.8.1
Jan Lehnardt [Sat, 1 Apr 2017 18:12:17 +0000 (20:12 +0200)] 
feat: use apache mirrors

3 years agoUpdate bear with HiPE fix
Alexander Shorin [Wed, 28 Oct 2015 21:15:43 +0000 (00:15 +0300)] 
Update bear with HiPE fix

4 years agoUse the ASF mirror of bear
Paul J. Davis [Mon, 25 Aug 2014 06:54:44 +0000 (01:54 -0500)] 
Use the ASF mirror of bear

4 years agoUse ASF mirror of meck
Robert Newson [Fri, 22 Aug 2014 14:53:47 +0000 (15:53 +0100)] 
Use ASF mirror of meck

4 years agoRemove rebar binary
Robert Newson [Fri, 22 Aug 2014 14:35:32 +0000 (15:35 +0100)] 
Remove rebar binary

4 years agoMerge pull request #79 from cybergrind/dev_r17 import-master
Joe Williams [Tue, 6 May 2014 17:28:28 +0000 (10:28 -0700)] 
Merge pull request #79 from cybergrind/dev_r17

Make compatible with R17

4 years agoMake compatible with R17
Kirill Pinchuk [Mon, 5 May 2014 13:32:29 +0000 (16:32 +0300)] 
Make compatible with R17

4 years agobear bump
Joe Williams [Tue, 28 Jan 2014 23:52:40 +0000 (15:52 -0800)] 
bear bump

5 years agoMerge pull request #78 from kape1395/master
Joe Williams [Tue, 21 Jan 2014 01:33:30 +0000 (17:33 -0800)] 
Merge pull request #78 from kape1395/master

Supprt for spiral in application config.

5 years agoSupprt for spiral in application config.
Karolis Petrauskas [Thu, 16 Jan 2014 11:47:08 +0000 (13:47 +0200)] 
Supprt for spiral in application config.

5 years agoMerge pull request #77 from vascokk/master
Joe Williams [Thu, 9 Jan 2014 22:08:23 +0000 (14:08 -0800)] 
Merge pull request #77 from vascokk/master

Ability to resize a sliding window

5 years agoAdded a test case for downsizing sliding window
Vasco [Thu, 9 Jan 2014 19:24:18 +0000 (19:24 +0000)] 
Added a test case for downsizing sliding window

5 years agoAdded ability to resize sliding window
Vasco [Sat, 4 Jan 2014 18:45:35 +0000 (18:45 +0000)] 
Added ability to resize sliding window

5 years agoMerge pull request #76 from doubleyou/patch-1
Joe Williams [Mon, 9 Dec 2013 19:56:20 +0000 (11:56 -0800)] 
Merge pull request #76 from doubleyou/patch-1

Update meck version requirement

5 years agoUpdate meck version requirement
Dmitry Demeshchuk [Mon, 9 Dec 2013 19:55:38 +0000 (11:55 -0800)] 
Update meck version requirement

For better compatibility with https://github.com/basho/erlang_protobuffs

5 years agoMerge pull request #73 from byaruhaf/patch-1
Joe Williams [Thu, 5 Dec 2013 03:31:39 +0000 (19:31 -0800)] 
Merge pull request #73 from byaruhaf/patch-1

Updated the app description

5 years agoMerge pull request #72 from urbanserj/init_meter_reader
Joe Williams [Thu, 5 Dec 2013 03:31:15 +0000 (19:31 -0800)] 
Merge pull request #72 from urbanserj/init_meter_reader

Fix initialization of meter_reader

5 years agoUpdated the app description
Byaruhanga Franklin [Sat, 16 Nov 2013 13:50:03 +0000 (16:50 +0300)] 
Updated the app description

Updated the app description to "Erlang based metrics system"

5 years agoFix initialization of meter_reader
Sergey Urbanovich [Wed, 13 Nov 2013 14:23:36 +0000 (18:23 +0400)] 
Fix initialization of meter_reader

5 years agoswitch back to master
Joe Williams [Wed, 6 Nov 2013 16:08:26 +0000 (08:08 -0800)] 
switch back to master

5 years agopin to bear 0.8.0
Joe Williams [Wed, 6 Nov 2013 16:06:13 +0000 (08:06 -0800)] 
pin to bear 0.8.0

5 years agodelete known_issues
Joe Williams [Wed, 6 Nov 2013 00:21:50 +0000 (16:21 -0800)] 
delete known_issues

5 years agodelete roadmap
Joe Williams [Wed, 6 Nov 2013 00:21:05 +0000 (16:21 -0800)] 
delete roadmap

5 years agoswitch bear to master
Joe Williams [Tue, 5 Nov 2013 23:57:26 +0000 (15:57 -0800)] 
switch bear to master

5 years agofix exdec paper link
Joe Williams [Mon, 4 Nov 2013 23:33:38 +0000 (15:33 -0800)] 
fix exdec paper link

5 years agoclean up superfluous brackets
Joe Williams [Mon, 4 Nov 2013 19:16:45 +0000 (11:16 -0800)] 
clean up superfluous brackets

5 years agowrap erlang:statistics and get_system_info to avoid issues on new/old vms
Joe Williams [Mon, 4 Nov 2013 19:07:20 +0000 (11:07 -0800)] 
wrap erlang:statistics and get_system_info to avoid issues on new/old vms

5 years agoswitch strings to atoms in vm metrics
Joe Williams [Mon, 4 Nov 2013 18:49:52 +0000 (10:49 -0800)] 
switch strings to atoms in vm metrics

5 years agoRevert "Add bear to start applications"
Joe Williams [Mon, 4 Nov 2013 18:47:04 +0000 (10:47 -0800)] 
Revert "Add bear to start applications"

This reverts commit d46722d9d28920e624cb4f1401ba3b9e920ef5fc.

5 years agoMerge pull request #59 from jlouis/fix-ets-dets-race
Joe Williams [Mon, 4 Nov 2013 18:26:22 +0000 (10:26 -0800)] 
Merge pull request #59 from jlouis/fix-ets-dets-race

Fix a race against querying the ETS/DETS tables.

5 years agoMerge pull request #69 from rodo/master
Joe Williams [Mon, 4 Nov 2013 18:24:43 +0000 (10:24 -0800)] 
Merge pull request #69 from rodo/master

Add .mailmap to clean up the output of `git shortlog -nes`

5 years agoMerge pull request #70 from avasenin/tagged-notify
Joe Williams [Mon, 4 Nov 2013 18:22:19 +0000 (10:22 -0800)] 
Merge pull request #70 from avasenin/tagged-notify

Add ability to pass tags to notify

5 years agoAdd ability to pass tags to notify
Andrey Vasenin [Thu, 31 Oct 2013 12:06:44 +0000 (16:06 +0400)] 
Add ability to pass tags to notify

5 years agoAdd .mailmap to clean up the output of `git shortlog -nes`
Rodolphe QuiĆ©deville [Thu, 31 Oct 2013 18:02:17 +0000 (19:02 +0100)] 
Add .mailmap to clean up the output of `git shortlog -nes`

5 years agoMerge pull request #67 from puzza007/bear-in-start-applications
Joe Williams [Thu, 31 Oct 2013 16:42:54 +0000 (09:42 -0700)] 
Merge pull request #67 from puzza007/bear-in-start-applications

Add bear to start applications

5 years agoMerge pull request #68 from tagged/slide_uniform_default
Joe Williams [Thu, 31 Oct 2013 16:42:22 +0000 (09:42 -0700)] 
Merge pull request #68 from tagged/slide_uniform_default

add tuple default for slide_uniform

5 years agoMerge pull request #65 from ypaq/master
Joe Williams [Thu, 31 Oct 2013 16:37:44 +0000 (09:37 -0700)] 
Merge pull request #65 from ypaq/master

use meck 0.7.2

5 years agoadd tuple default for slide_uniform
Christopher A. Stelma [Wed, 30 Oct 2013 23:19:26 +0000 (16:19 -0700)] 
add tuple default for slide_uniform

5 years agoAdd bear to start applications
Paul Oliver [Tue, 29 Oct 2013 18:02:15 +0000 (19:02 +0100)] 
Add bear to start applications

5 years agouse meck 0.7.2
Tilman Holschuh [Wed, 11 Sep 2013 22:11:56 +0000 (15:11 -0700)] 
use meck 0.7.2

5 years agoMerge pull request #63 from Lastres/slide_sorted_histogram
Joe Williams [Mon, 22 Jul 2013 05:09:32 +0000 (22:09 -0700)] 
Merge pull request #63 from Lastres/slide_sorted_histogram

Add histogram of type 'slide_sorted'

5 years agoAdd histogram of type 'slide_sorted'
Lastres [Wed, 17 Jul 2013 14:22:25 +0000 (15:22 +0100)] 
Add histogram of type 'slide_sorted'

* This histogram is a simple sliding window of fixed size.
* Tests included.

5 years agoMerge pull request #61 from Lastres/fix_none_histogram
Joe Williams [Thu, 20 Jun 2013 16:36:20 +0000 (09:36 -0700)] 
Merge pull request #61 from Lastres/fix_none_histogram

Fix histogram of type 'none'

5 years agoFix histogram of type 'none'
Lastres [Tue, 18 Jun 2013 13:31:53 +0000 (14:31 +0100)] 
Fix histogram of type 'none'

* Before, after filling in the SIZE of the histogram, when adding new values the same element was deleted and updated all the time.
* Tests are included.

5 years agoMerge pull request #60 from puzza007/safe-histogram
Joe Williams [Wed, 12 Jun 2013 16:25:12 +0000 (09:25 -0700)] 
Merge pull request #60 from puzza007/safe-histogram

Add safe histogram notify functions

5 years agoAdd safe histogram notify functions
Paul Oliver [Wed, 12 Jun 2013 13:18:24 +0000 (09:18 -0400)] 
Add safe histogram notify functions

5 years agoFix a race against querying the ETS/DETS tables.
Jesper Louis Andersen [Tue, 14 May 2013 09:15:31 +0000 (11:15 +0200)] 
Fix a race against querying the ETS/DETS tables.

There is a window from the query of, say, `ets:all()` to the point where we fetch out the table data. The table may disappear in between. This patch fixes this problem by ignoring such tables and returning the empty list for those where there is no data available anymore.

5 years agoMerge pull request #58 from dcorbacho/delete_counter
Joe Williams [Wed, 1 May 2013 16:00:50 +0000 (09:00 -0700)] 
Merge pull request #58 from dcorbacho/delete_counter

Delete counter from folsom counters table

5 years agoRemove counters from folsom counters table on delete operation
Diana Corbacho [Wed, 1 May 2013 14:31:01 +0000 (15:31 +0100)] 
Remove counters from folsom counters table on delete operation

5 years agoTests for delete counter, contents of folsom counters table are not deleted
Diana Corbacho [Wed, 1 May 2013 14:29:57 +0000 (15:29 +0100)] 
Tests for delete counter, contents of folsom counters table are not deleted

5 years agoMerge pull request #57 from basho/rdb-letitcrash
Joe Williams [Tue, 19 Mar 2013 18:18:11 +0000 (11:18 -0700)] 
Merge pull request #57 from basho/rdb-letitcrash

Let the slide server crash and stay crashed after multiple errors

5 years agoLet the slide server crash and stay crashed after multiple errors
Russell Brown [Tue, 19 Mar 2013 15:55:58 +0000 (15:55 +0000)] 
Let the slide server crash and stay crashed after multiple errors

The restart strategy on the slide server was such that it would
_never_ stop in the case that the ets table it was trimming went away.
Instead it would metronimically add a crash message to your log
every 30 seconds. This commit sets the restart strategy to 3
failures in 3 minutes. Since the only seen live examples of
a slide server crash have been when the ets table has gone
away, it is best crash and stay dead than be restarted after
3 failed trims.

5 years agoMerge pull request #56 from basho/rdb-spiral-delete
Joe Williams [Mon, 18 Mar 2013 18:08:02 +0000 (11:08 -0700)] 
Merge pull request #56 from basho/rdb-spiral-delete

Change the order of delete cascade for `spiral'

5 years agoChange the order of delete cascade for `spiral'
Russell Brown [Mon, 18 Mar 2013 08:46:45 +0000 (08:46 +0000)] 
Change the order of delete cascade for `spiral'

A crash of `folsom_metrics_histogram_ets` leaves spirals broken.
The spiral ets table goes away, so it can not be updated, nor
can it be deleted and re-created due to the delete order of
metric table, spiral table, folsom table. Have changed the order
to be more like that of `histogram` so deletes will succeed in
the event of a missing `spiral` ets table.

5 years agoMerge pull request #54 from tsloughter/master
Joe Williams [Mon, 4 Mar 2013 16:37:23 +0000 (08:37 -0800)] 
Merge pull request #54 from tsloughter/master

replace use of now() with os:timestamp()

5 years agoreplace use of now() with os:timestamp()
Tristan Sloughter [Mon, 4 Mar 2013 15:56:04 +0000 (09:56 -0600)] 
replace use of now() with os:timestamp()

5 years agobump bear to 0.1.3
joewilliams [Fri, 22 Feb 2013 21:45:16 +0000 (13:45 -0800)] 
bump bear to 0.1.3

5 years agoMerge pull request #52 from banjiewen/master
Joe Williams [Mon, 18 Feb 2013 01:41:05 +0000 (17:41 -0800)] 
Merge pull request #52 from banjiewen/master

Remove ineffective assertion in duration test.

5 years agoRemove ineffective assertion in duration test.
Benjamin Anderson [Mon, 18 Feb 2013 01:21:31 +0000 (17:21 -0800)] 
Remove ineffective assertion in duration test.

Erlang's timer:sleep/1 is inaccurate enough on some systems to cause this clause
to regularly fail.

5 years agoMerge pull request #51 from AlexandreBeaulne/groupedmetrics
Joe Williams [Thu, 14 Feb 2013 07:15:19 +0000 (23:15 -0800)] 
Merge pull request #51 from AlexandreBeaulne/groupedmetrics

Added grouped metrics feature

5 years agoAdded untag_metric/2 API call, updated unit tests accordingly, small improvements
AlexandreBeaulne [Sat, 26 Jan 2013 20:48:13 +0000 (15:48 -0500)] 
Added untag_metric/2 API call, updated unit tests accordingly, small improvements

5 years agoFixed a small issue in grouped metrics unit tests
AlexandreBeaulne [Fri, 25 Jan 2013 20:34:57 +0000 (15:34 -0500)] 
Fixed a small issue in grouped metrics unit tests

5 years agoAdded grouped/tagged metrics feature
AlexandreBeaulne [Fri, 25 Jan 2013 19:57:25 +0000 (14:57 -0500)] 
Added grouped/tagged metrics feature

6 years agoMerge pull request #50 from avasenin/safely-notify
Joe Williams [Fri, 18 Jan 2013 04:51:04 +0000 (20:51 -0800)] 
Merge pull request #50 from avasenin/safely-notify

Add a error tolerance notify method

6 years agoMerge pull request #49 from avasenin/fix-eunit-tests
Joe Williams [Fri, 18 Jan 2013 04:49:30 +0000 (20:49 -0800)] 
Merge pull request #49 from avasenin/fix-eunit-tests

Fix eunit folsom_erlang_checks test

6 years agoAdd a error tolerance notify method
Andrey Vasenin [Thu, 17 Jan 2013 21:52:46 +0000 (01:52 +0400)] 
Add a error tolerance notify method

If folsom_sup is crashed then folsom's ets tables are deleted. In this
case notify method raise the exception. I added error tolerance method
to reduce the folsom's influence to the application code.

6 years agoFix eunit folsom_erlang_checks test
Andrey Vasenin [Thu, 17 Jan 2013 20:56:00 +0000 (00:56 +0400)] 
Fix eunit folsom_erlang_checks test

6 years agoMerge pull request #47 from basho/jdb-faster-slide-eunit-fixes-squashed
Joe Williams [Thu, 3 Jan 2013 17:47:24 +0000 (09:47 -0800)] 
Merge pull request #47 from basho/jdb-faster-slide-eunit-fixes-squashed

Improve performance of slide histogram

6 years agoFix EUnit failures that should've been fixed before merging jdb-faster-slide
Scott Lystig Fritchie [Wed, 2 Jan 2013 17:58:19 +0000 (11:58 -0600)] 
Fix EUnit failures that should've been fixed before merging jdb-faster-slide

* Avoid EUnit-enforced timeouts with prop_window_test_()
* Change folsom_sample_slide_test.erl to avoid failure like https://gist.github.com/272dc6bcd2478484bffa
* Fix sorting bug Russell sees but I don't, sorry!

6 years agoImprove performance of slide histogram
Joseph Blomstedt [Fri, 28 Dec 2012 23:44:14 +0000 (15:44 -0800)] 
Improve performance of slide histogram

Partition slide histogram reservoir by erlang:system_info(scheduler_id),
as previously done with counter and spiral metrics.

6 years agoMerge pull request #46 from basho/rdb-counter-clear
Joe Williams [Wed, 2 Jan 2013 18:17:42 +0000 (10:17 -0800)] 
Merge pull request #46 from basho/rdb-counter-clear

Expose the clear/1 fun from counter in the folsom api

6 years agoExpose the clear/1 fun from counter in the folsom api
Russell Brown [Wed, 2 Jan 2013 17:23:04 +0000 (17:23 +0000)] 
Expose the clear/1 fun from counter in the folsom api

Conflicts:
test/folsom_erlang_checks.erl

6 years agoMerge pull request #45 from basho/adt-speedups
Joe Williams [Wed, 19 Dec 2012 00:27:10 +0000 (16:27 -0800)] 
Merge pull request #45 from basho/adt-speedups

Performance improvements to spiral, counter, histogram & spiral_uniform

6 years agoPerformance improvements to spiral, counter, histogram & spiral_uniform
Andrew Thompson [Sat, 15 Dec 2012 07:30:08 +0000 (02:30 -0500)] 
Performance improvements to spiral, counter, histogram & spiral_uniform

Changes include:

Partition counter and spiral writes by erlang:system_info(scheduler_id)
and a bitwise mask. There is also potential for better cache behavior
given the fixed mapping between Erlang scheduler thread and partitioned
key.

Switch spiral and slide_uniform from ordered_set to set. Set supports
fine grained locking whereas ordered_set requires a full-table lock.
Combining set and separating values greatly reduces ETS contention.

Change histogram to avoid an ETS insert if the sample passed into the
histogram update function matches the result.

There are 2 places in folsom where an ets:insert_new is done immediately
followed by an ets:update_counter on the same key. Since, in the normal
case, the key is likely to already exist, this can be optimized by
trying the update_counter first in a try/catch and only do the
insert_new if needed. This is provided as a utility function called
folsom_utils:update_counter().

There is a bug in slide_uniform where it would not decrease the
probability of doing a write the more updates it received in a
particular moment. Effectively slide_uniform updates would always result
in a write. This bug has been corrected, along with the Quickcheck test.

6 years agoMerge pull request #43 from Ubiquiti-TeleFi/boundary
Joe Williams [Wed, 5 Dec 2012 18:14:40 +0000 (10:14 -0800)] 
Merge pull request #43 from Ubiquiti-TeleFi/boundary

Add new timed update begin/notify functions

6 years agoAdd new timed update begin/notify functions
Paul Oliver [Wed, 5 Dec 2012 17:52:20 +0000 (12:52 -0500)] 
Add new timed update begin/notify functions

6 years agobump bear
joewilliams [Mon, 3 Dec 2012 23:07:46 +0000 (15:07 -0800)] 
bump bear

6 years agoMerge pull request #42 from Ubiquiti-TeleFi/boundary
Joe Williams [Mon, 15 Oct 2012 21:00:08 +0000 (14:00 -0700)] 
Merge pull request #42 from Ubiquiti-TeleFi/boundary

Remove dead code

6 years agoRemove dead code
Paul Oliver [Mon, 15 Oct 2012 20:52:42 +0000 (16:52 -0400)] 
Remove dead code

6 years agoMerge pull request #40 from juise/master
Joe Williams [Tue, 9 Oct 2012 16:29:04 +0000 (09:29 -0700)] 
Merge pull request #40 from juise/master

Add ewma for day support, add tests

6 years agoAdd ewma for day suport, add tests
Petrovsky Alexander [Tue, 9 Oct 2012 14:25:32 +0000 (18:25 +0400)] 
Add ewma for day suport, add tests

6 years agoMerge pull request #39 from juise/master
Joe Williams [Sat, 6 Oct 2012 17:23:25 +0000 (10:23 -0700)] 
Merge pull request #39 from juise/master

Unregister a timer for deleted meters

6 years agoUnregister a timer for deleted meters
Petrovsky Alexander [Sat, 6 Oct 2012 16:59:07 +0000 (20:59 +0400)] 
Unregister a timer for deleted meters

6 years agoMerge pull request #36 from danielwhite/fix_system_info_for_win32
Joe Williams [Wed, 26 Sep 2012 00:58:56 +0000 (17:58 -0700)] 
Merge pull request #36 from danielwhite/fix_system_info_for_win32

Fix handling of c_compiler_used when erlang was compiled with MSC

6 years agoFix handling of c_compiler_used when only a major version is provided
Daniel White [Wed, 26 Sep 2012 00:50:30 +0000 (10:50 +1000)] 
Fix handling of c_compiler_used when only a major version is provided

This mostly occurs when erlang is compiled under MSC since it only
provides a single number as the version.  GCC can trigger this issue if it
does not have a minor version, but is probably rare in the wild.

Additionally, this allows for the case where erlang wasn't able to
determine which compiler was used (i.e. {undefined, undefined}).

Add test for the handling of c_compiler_used by convert_system_info

6 years agoclean up and log cpu test case
joewilliams [Tue, 25 Sep 2012 23:28:21 +0000 (16:28 -0700)] 
clean up and log cpu test case

6 years agobetter cpu topology test coverage
joewilliams [Tue, 25 Sep 2012 23:18:37 +0000 (16:18 -0700)] 
better cpu topology test coverage

6 years agoMerge pull request #37 from lemenkov/sysinfo_single_cpu_core
Joe Williams [Tue, 25 Sep 2012 23:16:00 +0000 (16:16 -0700)] 
Merge pull request #37 from lemenkov/sysinfo_single_cpu_core

Fix for single-core CPU

6 years agoFix for single-core CPU
Peter Lemenkov [Tue, 25 Sep 2012 09:23:03 +0000 (13:23 +0400)] 
Fix for single-core CPU

See boundary/folsom#32

Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
6 years agoMerge pull request #35 from DeadZen/patch-1
Joe Williams [Tue, 18 Sep 2012 22:33:02 +0000 (15:33 -0700)] 
Merge pull request #35 from DeadZen/patch-1

Comment out newly deprecated system_info global_heaps_size

6 years agoComment out deprecated system_info field
DeadZen [Tue, 18 Sep 2012 22:28:11 +0000 (19:28 -0300)] 
Comment out deprecated system_info field

global_heaps_size is no more

6 years agoMerge pull request #33 from basho/rdb-no-more-now
Joe Williams [Sat, 8 Sep 2012 21:24:54 +0000 (14:24 -0700)] 
Merge pull request #33 from basho/rdb-no-more-now

Use os:timestamp over locky erlang:now

6 years agoUse os:timestamp over locky erlang:now
Russell Brown [Sat, 8 Sep 2012 04:28:19 +0000 (06:28 +0200)] 
Use os:timestamp over locky erlang:now

6 years agoan attempt to fix a few different cases in convert_cpu_topology
joewilliams [Wed, 29 Aug 2012 20:29:36 +0000 (13:29 -0700)] 
an attempt to fix a few different cases in convert_cpu_topology

6 years agoMerge pull request #31 from campanja/master
Joe Williams [Mon, 27 Aug 2012 16:15:48 +0000 (09:15 -0700)] 
Merge pull request #31 from campanja/master

support n-ary metric initialization from application environment at startup

6 years agosupport n-ary metric initialization from application environment at startup
Fabian Linzberger [Fri, 27 Jul 2012 14:51:48 +0000 (16:51 +0200)] 
support n-ary metric initialization from application environment at startup

6 years agobump bear dep
joewilliams [Fri, 24 Aug 2012 21:28:59 +0000 (14:28 -0700)] 
bump bear dep

6 years agoquotes
joewilliams [Mon, 16 Jul 2012 19:52:37 +0000 (12:52 -0700)] 
quotes

6 years agouse bear tag
joewilliams [Mon, 16 Jul 2012 19:50:31 +0000 (12:50 -0700)] 
use bear tag