Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

exometer_core crashing #95

Open
grosscr opened this issue Jun 9, 2017 · 2 comments
Open

exometer_core crashing #95

grosscr opened this issue Jun 9, 2017 · 2 comments

Comments

@grosscr
Copy link

grosscr commented Jun 9, 2017

We recently upgraded to elixir 1.4, and now our metrics no longer function. It appears that the supervisor keeps crashing:

2017-06-09 16:49:55 =CRASH REPORT====
  crasher:
    initial call: exometer_report:-spawn_reporter/2-fun-0-/0
    pid: <0.1587.0>
    registered_name: 'Elixir.ExometerStatix'
    exception error: {undef,[{'Elixir.ExometerStatix',exometer_init,[[{hostname,"mitstatsd1.cmmint.net"},{port,8125}]],[]},{exometer_report,reporter_init,2,[{file,"/home/deploymotron/uberrepo/deps/exometer_core/src/exometer_report.erl"},{line,1590}]},{exometer_report,'-spawn_reporter/2-fun-0-',2,[{file,"/home/deploymotron/uberrepo/deps/exometer_core/src/exometer_report.erl"},{line,1431}]},{proc_lib,init_p,3,[{file,"proc_lib.erl"},{line,232}]}]}
    ancestors: [exometer_report,exometer_core_sup,<0.1578.0>]
    messages: []
    links: []
    dictionary: []
    trap_exit: false
    status: running
    heap_size: 610
    stack_size: 27
    reductions: 186
  neighbours:

We have tried using exometer and exometer_statix for the reporters to StatsD but nothing is working. Any chance we could get some more information around why this could be happening?

exometer_core commit: 09c2a93

@GalaxyGorilla
Copy link

From a first glance I would guess that the module is not found. Have you tried to execute

ExometerStatix.exometer_init([{hostname,"mitstatsd1.cmmint.net"},{port,8125}])

to check if the module is loaded at all? Also hostname does not seem to be a valid argument, but there should be a fallback in the reporter lib for that.

@grosscr
Copy link
Author

grosscr commented Aug 22, 2017

We ended up just ripping out exometer all together and replacing it with something else.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants