Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
Rename couch_stats_stats_collector to couch_stats_aggregator
  • Loading branch information
b20n authored and rnewson committed Aug 19, 2014
1 parent b4543ab commit d40741a6556910c7cff5cf1146561f220883be82
Showing 4 changed files with 4 additions and 4 deletions.
@@ -1,7 +1,7 @@
{application, couch_stats, [
{description, "Simple statistics collection"},
{vsn, git},
{registered, [couch_stats_stats_collector, couch_stats_process_tracker]},
{registered, [couch_stats_aggregator, couch_stats_process_tracker]},
{applications, [kernel, stdlib, folsom]},
{mod, {couch_stats_app, []}},
{env, [
@@ -26,7 +26,7 @@ stop() ->
application:stop(couch_stats).

fetch() ->
couch_stats_stats_collector:fetch().
couch_stats_aggregator:fetch().

-spec sample(any()) -> stat().
sample(Name) ->
@@ -1,4 +1,4 @@
-module(couch_stats_stats_collector).
-module(couch_stats_aggregator).

-behaviour(gen_server).

@@ -16,7 +16,7 @@ start_link() ->
init([]) ->
{ok, {
{one_for_one, 5, 10}, [
?CHILD(couch_stats_stats_collector, worker),
?CHILD(couch_stats_aggregator, worker),
?CHILD(couch_stats_process_tracker, worker)
]
}}.

0 comments on commit d40741a

Please sign in to comment.