iilyak [Thu, 28 Jul 2022 11:50:50 +0000 (04:50 -0700)]
Merge pull request #4 from noahshaw11/add-editors-magic-lines
Add editors magic lines
Noah Shaw [Mon, 25 Jul 2022 23:32:29 +0000 (18:32 -0500)]
Add editors magic lines
Nick Vatamaniuc [Fri, 14 May 2021 18:47:27 +0000 (14:47 -0400)]
Merge pull request #2 from apache/bump-meck-dependency-to-0.9.2
Bump meck dependency to 0.9.2
Nick Vatamaniuc [Fri, 14 May 2021 05:44:03 +0000 (01:44 -0400)]
Bump meck dependency to 0.9.2
To handle Erlang 24 support
iilyak [Mon, 25 Feb 2019 14:15:21 +0000 (06:15 -0800)]
Merge pull request #1 from cloudant/update-to-newer-erlang
Update to newer erlang
ILYA Khlopotov [Fri, 22 Feb 2019 23:34:01 +0000 (23:34 +0000)]
Use `rand` module instead of `random`
ILYA Khlopotov [Fri, 22 Feb 2019 23:32:07 +0000 (23:32 +0000)]
Filter out "forker" non-inet port
Port https://github.com/folsom-project/folsom/pull/13 from upstream
Nick Vatamaniuc [Thu, 28 Sep 2017 22:19:44 +0000 (18:19 -0400)]
Update ASF meck version to 0.8.8
Jan Lehnardt [Sat, 1 Apr 2017 18:12:17 +0000 (20:12 +0200)]
feat: use apache mirrors
Alexander Shorin [Wed, 28 Oct 2015 21:15:43 +0000 (00:15 +0300)]
Update bear with HiPE fix
Paul J. Davis [Mon, 25 Aug 2014 06:54:44 +0000 (01:54 -0500)]
Use the ASF mirror of bear
Robert Newson [Fri, 22 Aug 2014 14:53:47 +0000 (15:53 +0100)]
Use ASF mirror of meck
Robert Newson [Fri, 22 Aug 2014 14:35:32 +0000 (15:35 +0100)]
Remove rebar binary
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
Kirill Pinchuk [Mon, 5 May 2014 13:32:29 +0000 (16:32 +0300)]
Make compatible with R17
Joe Williams [Tue, 28 Jan 2014 23:52:40 +0000 (15:52 -0800)]
bear bump
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.
Karolis Petrauskas [Thu, 16 Jan 2014 11:47:08 +0000 (13:47 +0200)]
Supprt for spiral in application config.
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
Vasco [Thu, 9 Jan 2014 19:24:18 +0000 (19:24 +0000)]
Added a test case for downsizing sliding window
Vasco [Sat, 4 Jan 2014 18:45:35 +0000 (18:45 +0000)]
Added ability to resize sliding window
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
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
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
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
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"
Sergey Urbanovich [Wed, 13 Nov 2013 14:23:36 +0000 (18:23 +0400)]
Fix initialization of meter_reader
Joe Williams [Wed, 6 Nov 2013 16:08:26 +0000 (08:08 -0800)]
switch back to master
Joe Williams [Wed, 6 Nov 2013 16:06:13 +0000 (08:06 -0800)]
pin to bear 0.8.0
Joe Williams [Wed, 6 Nov 2013 00:21:50 +0000 (16:21 -0800)]
delete known_issues
Joe Williams [Wed, 6 Nov 2013 00:21:05 +0000 (16:21 -0800)]
delete roadmap
Joe Williams [Tue, 5 Nov 2013 23:57:26 +0000 (15:57 -0800)]
switch bear to master
Joe Williams [Mon, 4 Nov 2013 23:33:38 +0000 (15:33 -0800)]
fix exdec paper link
Joe Williams [Mon, 4 Nov 2013 19:16:45 +0000 (11:16 -0800)]
clean up superfluous brackets
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
Joe Williams [Mon, 4 Nov 2013 18:49:52 +0000 (10:49 -0800)]
switch strings to atoms in vm metrics
Joe Williams [Mon, 4 Nov 2013 18:47:04 +0000 (10:47 -0800)]
Revert "Add bear to start applications"
This reverts commit
d46722d9d28920e624cb4f1401ba3b9e920ef5fc.
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.
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`
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
Andrey Vasenin [Thu, 31 Oct 2013 12:06:44 +0000 (16:06 +0400)]
Add ability to pass tags to notify
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`
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
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
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
Christopher A. Stelma [Wed, 30 Oct 2013 23:19:26 +0000 (16:19 -0700)]
add tuple default for slide_uniform
Paul Oliver [Tue, 29 Oct 2013 18:02:15 +0000 (19:02 +0100)]
Add bear to start applications
Tilman Holschuh [Wed, 11 Sep 2013 22:11:56 +0000 (15:11 -0700)]
use meck 0.7.2
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'
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.
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'
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.
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
Paul Oliver [Wed, 12 Jun 2013 13:18:24 +0000 (09:18 -0400)]
Add safe histogram notify functions
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.
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
Diana Corbacho [Wed, 1 May 2013 14:31:01 +0000 (15:31 +0100)]
Remove counters from folsom counters table on delete operation
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
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
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.
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'
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.
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()
Tristan Sloughter [Mon, 4 Mar 2013 15:56:04 +0000 (09:56 -0600)]
replace use of now() with os:timestamp()
joewilliams [Fri, 22 Feb 2013 21:45:16 +0000 (13:45 -0800)]
bump bear to 0.1.3
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.
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.
Joe Williams [Thu, 14 Feb 2013 07:15:19 +0000 (23:15 -0800)]
Merge pull request #51 from AlexandreBeaulne/groupedmetrics
Added grouped metrics feature
AlexandreBeaulne [Sat, 26 Jan 2013 20:48:13 +0000 (15:48 -0500)]
Added untag_metric/2 API call, updated unit tests accordingly, small improvements
AlexandreBeaulne [Fri, 25 Jan 2013 20:34:57 +0000 (15:34 -0500)]
Fixed a small issue in grouped metrics unit tests
AlexandreBeaulne [Fri, 25 Jan 2013 19:57:25 +0000 (14:57 -0500)]
Added grouped/tagged metrics feature
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
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
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.
Andrey Vasenin [Thu, 17 Jan 2013 20:56:00 +0000 (00:56 +0400)]
Fix eunit folsom_erlang_checks test
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
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!
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.
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
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
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
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.
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
Paul Oliver [Wed, 5 Dec 2012 17:52:20 +0000 (12:52 -0500)]
Add new timed update begin/notify functions
joewilliams [Mon, 3 Dec 2012 23:07:46 +0000 (15:07 -0800)]
bump bear
Joe Williams [Mon, 15 Oct 2012 21:00:08 +0000 (14:00 -0700)]
Merge pull request #42 from Ubiquiti-TeleFi/boundary
Remove dead code
Paul Oliver [Mon, 15 Oct 2012 20:52:42 +0000 (16:52 -0400)]
Remove dead code
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
Petrovsky Alexander [Tue, 9 Oct 2012 14:25:32 +0000 (18:25 +0400)]
Add ewma for day suport, add tests
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
Petrovsky Alexander [Sat, 6 Oct 2012 16:59:07 +0000 (20:59 +0400)]
Unregister a timer for deleted meters
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
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
joewilliams [Tue, 25 Sep 2012 23:28:21 +0000 (16:28 -0700)]
clean up and log cpu test case
joewilliams [Tue, 25 Sep 2012 23:18:37 +0000 (16:18 -0700)]
better cpu topology test coverage
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
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>
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
DeadZen [Tue, 18 Sep 2012 22:28:11 +0000 (19:28 -0300)]
Comment out deprecated system_info field
global_heaps_size is no more
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