Skip to content

Commit

Permalink
[fix] #30: initalize exometer *after* wave servers creation (so gathe…
Browse files Browse the repository at this point in the history
…ring stats works)
  • Loading branch information
Guillaume Bour committed Jun 14, 2016
1 parent e9ec036 commit 92e203a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions apps/wave/src/wave_app.erl
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,6 @@ start(_StartType, _StartArgs) ->
% initialize syn (global process registry)
syn:init(),

exometer_init(),

% start master supervisor (starting named servers)
{ok, WaveSup} = wave_sup:start_link(),

Expand Down Expand Up @@ -85,6 +83,7 @@ start(_StartType, _StartArgs) ->

], mqtt_ranch_protocol, [])),

exometer_init(),
{ok, WaveSup}.

stop(_State) ->
Expand Down

0 comments on commit 92e203a

Please sign in to comment.