<span style="font-family: Arial;">Note that only the Shaman node requires that. The idea is that Shaman receives data from other nodes which may run their own Erlang version. A bit like how Observer works.<br><br>-- <br>Loïc Hoguin<br>http://ninenines.eu</span><span style="font-family: Arial;"><br><br>-------- Original Message --------<br>From:Kristoffer Brown <erlangerintraining@gmail.com><br>Sent:Wed, 20 Aug 2014 18:38:57 +0300<br>To:Loïc Hoguin <essen@ninenines.eu><br>Cc:Ryan Brown <ryankbrown@gmail.com>,Erlang Questions <erlang-questions@erlang.org><br>Subject:Re: [erlang-questions] Trouble getting bigwig to run<br><br></span><div dir="ltr">Loïc,<div><br></div><div>Thank you. Shaman looks like an excellent start. It appears to depend on R16 which we have not updated to yet. But, I may be able to get in running with a few changes. I will let you know. Thank you!</div>
<div><br></div><div>Best</div><div><br></div><div>-rb<br><br><br><div id="WISESTAMP_SIG_gmail_session" href="http://WISESTAMP_SIG_gmail_session"><div><img src="http://ws-stats.appspot.com/ga/pixel.png?yes__count=true"></div>
</div></div></div> <div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Aug 19, 2014 at 3:27 AM, Loïc Hoguin <span dir="ltr"><<a href="mailto:essen@ninenines.eu" target="_blank">essen@ninenines.eu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span style="font-family:Arial">Bigwig was written against a very old version of Cowboy. It shouldn't be impossible to port but a lot changed since. Cowboy has a changelog file in the repository.<br>
<br>That said, I had started working on a replacement called Shaman (extend/shaman) that handles multiple nodes and uses D3 for rendering/updates, but I stopped working on it for now because I do not have a production system to use it with (so the values I output may not be interesting). I am going to resume as soon as I find something to develop against. That said, contributions are always welcome. It shouldn't take much more work to add the missing features bigwig had either.<span class="HOEnZb"><font color="#888888"><br>
<br>-- <br>Loïc Hoguin<br><a href="http://t.senaldos.com/link?url=http%3A%2F%2Fninenines.eu%2F&ukey=agxzfnNpZ25hbHNjcnhyGAsSC1VzZXJQcm9maWxlGICAwI6CybQKDA&k=176b2a77-46ea-4083-ec37-c43e23ce936a" target="_blank">http://ninenines.eu</a></font></span></span><div class="HOEnZb">
<div class="h5"><span style="font-family:Arial"><br><br>-------- Original Message --------<br>From:Ryan Brown <<a href="mailto:ryankbrown@gmail.com" target="_blank">ryankbrown@gmail.com</a>><br>Sent:Tue, 19 Aug 2014 07:44:44 +0200<br>
To:Erlang Questions <<a href="mailto:erlang-questions@erlang.org" target="_blank">erlang-questions@erlang.org</a>><br>Subject:Re: [erlang-questions] Trouble getting bigwig to run<br><br></span><div dir="ltr">Figured it out. Not that hard with clear eyes really. Bigwig still refers to an older version of cowboy. I could revery back to that compatible version. But, what I would really like is to upgrade my fork to be compatible with the latest. <div>

<br></div><div>So, what I am looking for is documentation or changelogs to help me with this upgrade. like the cowboy:start_listener/6 -> cowboy:start_http migration.</div><div><br></div><div>I'll keep fumbling my way through but any insight from those whom have been through it would be greatly appreciated.</div>

<div><br></div><div>Thanks.</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Aug 18, 2014 at 8:31 PM, Ryan Brown <span dir="ltr"><<a href="mailto:ryankbrown@gmail.com" target="_blank">ryankbrown@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I am testing-out bigwig for a possible monitoring solution for my application. When I attempt to hook it up to my application I get the following cowboy error. I am having trouble deciphering it. Any help would be greatly appreciated.<div>


<br></div><div><div>=INFO REPORT==== 18-Aug-2014::20:23:37 ===</div><div>Bigwig listening on <a href="http://t.senaldos.com/link?url=http%3A%2F%2F127.0.0.1%3A40829%2F&ukey=agxzfnNpZ25hbHNjcnhyGAsSC1VzZXJQcm9maWxlGICAwI6CybQKDA&k=6ae50abf-e280-4817-f892-8bcd3cf57b8e" target="_blank">http://127.0.0.1:40829/</a></div>
<div><br></div><div>=CRASH REPORT==== 18-Aug-2014::20:23:37 ===</div>

<div>  crasher:</div><div>    initial call: bigwig_http:init/1</div><div>    pid: <0.4861.0></div><div>    registered_name: []</div><div>    exception exit: {undef,</div><div>                     [{cowboy,start_listener,</div>


<div>                       [http,16,cowboy_tcp_transport,</div><div>                        [{port,40829}],</div><div>                        cowboy_http_protocol,</div><div>                        [{dispatch,</div><div>


                          [{'_',</div><div>                            [{[],bigwig_http_static,</div><div>                              [<<"html">>,<<"index.html">>]},</div>


<div>                             {[<<"static">>,'...'],bigwig_http_static,[]},</div><div>                             {[<<"vm">>],bigwig_http_vm,[]},</div><div>                             {[<<"rb">>,<<"stream">>],</div>


<div>                              bigwig_http_rb_stream,[]},</div><div>                             {[<<"rb">>,'...'],bigwig_http_rb,[]},</div><div>                             {[<<"pid">>,'...'],bigwig_http_pid,[]},</div>


<div>                             {[<<"module">>,'...'],bigwig_http_module,[]},</div><div>                             {[<<"top">>,'...'],bigwig_http_etop2,[]},</div>


<div>                             {[<<"appmon">>,'...'],bigwig_http_appmon,[]},</div><div>                             {[<<"stats-stream">>],</div><div>                              bigwig_http_stats_stream,[]},</div>


<div>                             {'_',bigwig_http_catchall,[]}]}]}]],</div><div>                       []},</div><div>                      {bigwig_http,init,1,</div><div>                       [{file,"src/bigwig_http.erl"},{line,54}]},</div>


<div>                      {gen_server,init_it,6,</div><div>                       [{file,"gen_server.erl"},{line,304}]},</div><div>                      {proc_lib,init_p_do_apply,3,</div><div>                       [{file,"proc_lib.erl"},{line,227}]}]}</div>


<div>      in function  gen_server:init_it/6 (gen_server.erl, line 328)</div><div>    ancestors: [bigwig_sup,<0.4853.0>]</div><div>    messages: []</div><div>    links: [<0.4854.0>]</div><div>    dictionary: []</div>


<div>    trap_exit: false</div><div>    status: running</div><div>    heap_size: 610</div><div>    stack_size: 24</div><div>    reductions: 911</div><div>  neighbours:</div><div><br></div><div>=SUPERVISOR REPORT==== 18-Aug-2014::20:23:37 ===</div>


<div>     Supervisor: {local,bigwig_sup}</div><div>     Context:    start_error</div><div>     Reason:     {undef,</div><div>                     [{cowboy,start_listener,</div><div>                          [http,16,cowboy_tcp_transport,</div>


<div>                           [{port,40829}],</div><div>                           cowboy_http_protocol,</div><div>                           [{dispatch,</div><div>                                [{'_',</div><div>


                                     [{[],bigwig_http_static,</div><div>                                       [<<"html">>,<<"index.html">>]},</div><div>                                      {[<<"static">>,'...'],</div>


<div>                                       bigwig_http_static,[]},</div><div>                                      {[<<"vm">>],bigwig_http_vm,[]},</div><div>                                      {[<<"rb">>,<<"stream">>],</div>


<div>                                       bigwig_http_rb_stream,[]},</div><div>                                      {[<<"rb">>,'...'],bigwig_http_rb,[]},</div><div>                                      {[<<"pid">>,'...'],bigwig_http_pid,[]},</div>


<div>                                      {[<<"module">>,'...'],</div><div>                                       bigwig_http_module,[]},</div><div>                                      {[<<"top">>,'...'],bigwig_http_etop2,[]},</div>


<div>                                      {[<<"appmon">>,'...'],</div><div>                                       bigwig_http_appmon,[]},</div><div>                                      {[<<"stats-stream">>],</div>


<div>                                       bigwig_http_stats_stream,[]},</div><div>                                      {'_',bigwig_http_catchall,[]}]}]}]],</div><div>                          []},</div><div>                      {bigwig_http,init,1,</div>


<div>                          [{file,"src/bigwig_http.erl"},{line,54}]},</div><div>                      {gen_server,init_it,6,</div><div>                          [{file,"gen_server.erl"},{line,304}]},</div>


<div>                      {proc_lib,init_p_do_apply,3,</div><div>                          [{file,"proc_lib.erl"},{line,227}]}]}</div><div>     Offender:   [{pid,undefined},</div><div>                  {name,bigwig_http},</div>


<div>                  {mfargs,{bigwig_http,start_link,[]}},</div><div>                  {restart_type,permanent},</div><div>                  {shutdown,5000},</div><div>                  {child_type,worker}]</div><div><br>


</div><div><br></div><div>=INFO REPORT==== 18-Aug-2014::20:23:37 ===</div><div>    application: bigwig</div><div>    exited: {shutdown,{bigwig_app,start,[normal,[]]}}</div><div>    type: temporary</div><div>{error,{shutdown,{bigwig_app,start,[normal,[]]}}}</div>

<span><font color="#888888">
<div><br></div>-- <br>-rb
</font></span></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>-rb
</div>
</div></div><br>_______________________________________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br>
<a href="http://t.senaldos.com/link?url=http%3A%2F%2Ferlang.org%2Fmailman%2Flistinfo%2Ferlang-questions&ukey=agxzfnNpZ25hbHNjcnhyGAsSC1VzZXJQcm9maWxlGICAwI6CybQKDA&k=e85a43c6-cf1a-4f2b-e0d1-1046738038ec" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>

<br></blockquote></div><br><img src="http://t.senaldos.com/img.gif?ukey=agxzfnNpZ25hbHNjcnhyGAsSC1VzZXJQcm9maWxlGICAwI6CybQKDA&key=55c7f16d-48b8-4f0b-c50f-f4b2772163a5" width="1" height="1" style="display:none"></div>
<div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Aug 19, 2014 at 3:27 AM, Loïc Hoguin <span dir="ltr"><<a href="mailto:essen@ninenines.eu" target="_blank">essen@ninenines.eu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<span style="font-family:Arial">Bigwig was written against a very old version of Cowboy. It shouldn't be impossible to port but a lot changed since. Cowboy has a changelog file in the repository.<br><br>That said, I had started working on a replacement called Shaman (extend/shaman) that handles multiple nodes and uses D3 for rendering/updates, but I stopped working on it for now because I do not have a production system to use it with (so the values I output may not be interesting). I am going to resume as soon as I find something to develop against. That said, contributions are always welcome. It shouldn't take much more work to add the missing features bigwig had either.<span class="HOEnZb"><font color="#888888"><br>
<br>-- <br>Loïc Hoguin<br><a href="http://ninenines.eu" target="_blank">http://ninenines.eu</a></font></span></span><div class="HOEnZb"><div class="h5"><span style="font-family:Arial"><br><br>-------- Original Message --------<br>
From:Ryan Brown <<a href="mailto:ryankbrown@gmail.com" target="_blank">ryankbrown@gmail.com</a>><br>Sent:Tue, 19 Aug 2014 07:44:44 +0200<br>To:Erlang Questions <<a href="mailto:erlang-questions@erlang.org" target="_blank">erlang-questions@erlang.org</a>><br>
Subject:Re: [erlang-questions] Trouble getting bigwig to run<br><br></span><div dir="ltr">Figured it out. Not that hard with clear eyes really. Bigwig still refers to an older version of cowboy. I could revery back to that compatible version. But, what I would really like is to upgrade my fork to be compatible with the latest. <div>

<br></div><div>So, what I am looking for is documentation or changelogs to help me with this upgrade. like the cowboy:start_listener/6 -> cowboy:start_http migration.</div><div><br></div><div>I'll keep fumbling my way through but any insight from those whom have been through it would be greatly appreciated.</div>

<div><br></div><div>Thanks.</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Aug 18, 2014 at 8:31 PM, Ryan Brown <span dir="ltr"><<a href="mailto:ryankbrown@gmail.com" target="_blank">ryankbrown@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I am testing-out bigwig for a possible monitoring solution for my application. When I attempt to hook it up to my application I get the following cowboy error. I am having trouble deciphering it. Any help would be greatly appreciated.<div>


<br></div><div><div>=INFO REPORT==== 18-Aug-2014::20:23:37 ===</div><div>Bigwig listening on <a href="http://127.0.0.1:40829/" target="_blank">http://127.0.0.1:40829/</a></div><div><br></div><div>=CRASH REPORT==== 18-Aug-2014::20:23:37 ===</div>


<div>  crasher:</div><div>    initial call: bigwig_http:init/1</div><div>    pid: <0.4861.0></div><div>    registered_name: []</div><div>    exception exit: {undef,</div><div>                     [{cowboy,start_listener,</div>


<div>                       [http,16,cowboy_tcp_transport,</div><div>                        [{port,40829}],</div><div>                        cowboy_http_protocol,</div><div>                        [{dispatch,</div><div>


                          [{'_',</div><div>                            [{[],bigwig_http_static,</div><div>                              [<<"html">>,<<"index.html">>]},</div>


<div>                             {[<<"static">>,'...'],bigwig_http_static,[]},</div><div>                             {[<<"vm">>],bigwig_http_vm,[]},</div><div>                             {[<<"rb">>,<<"stream">>],</div>


<div>                              bigwig_http_rb_stream,[]},</div><div>                             {[<<"rb">>,'...'],bigwig_http_rb,[]},</div><div>                             {[<<"pid">>,'...'],bigwig_http_pid,[]},</div>


<div>                             {[<<"module">>,'...'],bigwig_http_module,[]},</div><div>                             {[<<"top">>,'...'],bigwig_http_etop2,[]},</div>


<div>                             {[<<"appmon">>,'...'],bigwig_http_appmon,[]},</div><div>                             {[<<"stats-stream">>],</div><div>                              bigwig_http_stats_stream,[]},</div>


<div>                             {'_',bigwig_http_catchall,[]}]}]}]],</div><div>                       []},</div><div>                      {bigwig_http,init,1,</div><div>                       [{file,"src/bigwig_http.erl"},{line,54}]},</div>


<div>                      {gen_server,init_it,6,</div><div>                       [{file,"gen_server.erl"},{line,304}]},</div><div>                      {proc_lib,init_p_do_apply,3,</div><div>                       [{file,"proc_lib.erl"},{line,227}]}]}</div>


<div>      in function  gen_server:init_it/6 (gen_server.erl, line 328)</div><div>    ancestors: [bigwig_sup,<0.4853.0>]</div><div>    messages: []</div><div>    links: [<0.4854.0>]</div><div>    dictionary: []</div>


<div>    trap_exit: false</div><div>    status: running</div><div>    heap_size: 610</div><div>    stack_size: 24</div><div>    reductions: 911</div><div>  neighbours:</div><div><br></div><div>=SUPERVISOR REPORT==== 18-Aug-2014::20:23:37 ===</div>


<div>     Supervisor: {local,bigwig_sup}</div><div>     Context:    start_error</div><div>     Reason:     {undef,</div><div>                     [{cowboy,start_listener,</div><div>                          [http,16,cowboy_tcp_transport,</div>


<div>                           [{port,40829}],</div><div>                           cowboy_http_protocol,</div><div>                           [{dispatch,</div><div>                                [{'_',</div><div>


                                     [{[],bigwig_http_static,</div><div>                                       [<<"html">>,<<"index.html">>]},</div><div>                                      {[<<"static">>,'...'],</div>


<div>                                       bigwig_http_static,[]},</div><div>                                      {[<<"vm">>],bigwig_http_vm,[]},</div><div>                                      {[<<"rb">>,<<"stream">>],</div>


<div>                                       bigwig_http_rb_stream,[]},</div><div>                                      {[<<"rb">>,'...'],bigwig_http_rb,[]},</div><div>                                      {[<<"pid">>,'...'],bigwig_http_pid,[]},</div>


<div>                                      {[<<"module">>,'...'],</div><div>                                       bigwig_http_module,[]},</div><div>                                      {[<<"top">>,'...'],bigwig_http_etop2,[]},</div>


<div>                                      {[<<"appmon">>,'...'],</div><div>                                       bigwig_http_appmon,[]},</div><div>                                      {[<<"stats-stream">>],</div>


<div>                                       bigwig_http_stats_stream,[]},</div><div>                                      {'_',bigwig_http_catchall,[]}]}]}]],</div><div>                          []},</div><div>                      {bigwig_http,init,1,</div>


<div>                          [{file,"src/bigwig_http.erl"},{line,54}]},</div><div>                      {gen_server,init_it,6,</div><div>                          [{file,"gen_server.erl"},{line,304}]},</div>


<div>                      {proc_lib,init_p_do_apply,3,</div><div>                          [{file,"proc_lib.erl"},{line,227}]}]}</div><div>     Offender:   [{pid,undefined},</div><div>                  {name,bigwig_http},</div>


<div>                  {mfargs,{bigwig_http,start_link,[]}},</div><div>                  {restart_type,permanent},</div><div>                  {shutdown,5000},</div><div>                  {child_type,worker}]</div><div><br>


</div><div><br></div><div>=INFO REPORT==== 18-Aug-2014::20:23:37 ===</div><div>    application: bigwig</div><div>    exited: {shutdown,{bigwig_app,start,[normal,[]]}}</div><div>    type: temporary</div><div>{error,{shutdown,{bigwig_app,start,[normal,[]]}}}</div>

<span><font color="#888888">
<div><br></div>-- <br>-rb
</font></span></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>-rb
</div>
</div></div><br>_______________________________________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
<br></blockquote></div><br></div>