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

Always getting some metrics error #1635

Open
dincho opened this issue Nov 27, 2023 · 0 comments
Open

Always getting some metrics error #1635

dincho opened this issue Nov 27, 2023 · 0 comments

Comments

@dincho
Copy link
Member

dincho commented Nov 27, 2023

I'm always getting some metrics related error when running the mdw docker container:

2023-11-27 13:35:09.592 [error] Error when calling MFA defined by measurement: AeMdw.Apm.CustomMetrics :dispatch_status []
Class=:exit
Reason={:noproc, {GenServer, :call, [AeMdw.Sync.MemStoreCreator, :create, 5000]}}
Stacktrace=[
  {GenServer, :call, 3, [file: 'lib/gen_server.ex', line: 1019]},
  {AeMdw.Db.State, :create_mem_state, 0,
   [file: 'lib/ae_mdw/db/state.ex', line: 122]},
  {AeMdw.Db.State, :mem_state, 0, [file: 'lib/ae_mdw/db/state.ex', line: 115]},
  {AeMdw.Apm.CustomMetrics, :dispatch_status, 0,
   [file: 'lib/ae_mdw/apm/custom_metrics.ex', line: 9]},
  {:telemetry_poller, :make_measurement, 1,
   [
     file: '/home/aeternity/node/ae_mdw/deps/telemetry_poller/src/telemetry_poller.erl',
     line: 322
   ]},
  {:telemetry_poller, :"-make_measurements_and_filter_misbehaving/1-lc$^0/1-0-",
   1,
   [
     file: '/home/aeternity/node/ae_mdw/deps/telemetry_poller/src/telemetry_poller.erl',
     line: 318
   ]},
  {:telemetry_poller, :handle_info, 2,
   [
     file: '/home/aeternity/node/ae_mdw/deps/telemetry_poller/src/telemetry_poller.erl',
     line: 340
   ]},
  {:gen_server, :try_dispatch, 4, [file: 'gen_server.erl', line: 689]}
]

Metrics should be disabled by default, or if this is not exactly error, it's log level should be decreased

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

1 participant