globocom / alchemetrics

Elixir metrics reporter and collector
MIT License
35 stars 7 forks source link

Alchemetrics is not working with GenStage 0.12 #21

Closed bernardolins closed 7 years ago

bernardolins commented 7 years ago

When using GenStage 0.12, the following error is happening:

CRASH REPORT Process <0.781.0> with 0 neighbours exited with reason: {{shutdown,{failed_to_start_child,'Elixir.Alchemetrics.Consumer',{function_clause,[{'Elixir.Supervisor.Default',init,[{ok,[{'Elixir.Alchemetrics.Handler',{'Elixir.Alchemetrics.Handler',start_link,[]},temporary,5000,worker,['Elixir.Alchemetrics.Handler']}],[{strategy,one_for_one},{subscribe_to,[{'Elixir.Alchemetrics.Producer',[{max_demand,150}]}]}]}],[{file,"lib/supervisor/default.ex"},{line,4}]},{'Elixir.ConsumerSupervisor',init,1,[{file,"lib/consumer_supervisor.ex"},{line,249}]},{'Elixir.GenStage',...},...]}}},...} in application_master:init/4 line 134
[info] Application alchemetrics exited: Alchemetrics.Application.start(:normal, []) returned an error: shutdown: failed to start child: Alchemetrics.Consumer
bernardolins commented 7 years ago

This was fixed on ec12ace3ef1b56a321918bc1d93ab9a77c8b6f5d