{application, beam_stats,
[
{description, "Periodic VM stats production and consumption."},
- {vsn, "0.8.2"},
+ {vsn, "0.9.0"},
{registered, []},
{applications,
[ kernel
%% ============================================================================
start_link(ConsumerModule, ConsumerOptions) ->
+ RegisteredName = ConsumerModule,
GenServerModule = ?MODULE,
GenServerOpts = [],
InitArgs = [ConsumerModule, ConsumerOptions],
- gen_server:start_link(GenServerModule, InitArgs, GenServerOpts).
+ gen_server:start_link({local, RegisteredName}, GenServerModule, InitArgs, GenServerOpts).
%% ============================================================================
%% gen_server callbacks (unused)