Telemetry
Closed this issue · 0 comments
harunzengin commented
I got the following error with Xandra.Telemetry.attach_default_handler
:
2023-10-12 12:01:10.744 module=telemetry pid=<0.2174.0> [error]: Handler "xandra-default-telemetry-handler" has failed and has been detached. Class=:error
Reason={:case_clause, [:pool, :stopped]}
Stacktrace=[
{Xandra.Telemetry, :handle_event, 4,
[file: ~c"lib/xandra/telemetry.ex", line: 129]},
{:telemetry, :"-execute/3-fun-0-", 4,
[file: ~c"/builds/vpp/vpp/deps/telemetry/src/telemetry.erl", line: 150]},
{:lists, :foreach_1, 2, [file: ~c"lists.erl", line: 1442]},
{Xandra.Cluster.Pool, :stop_pool, 2,
[file: ~c"lib/xandra/cluster/pool.ex", line: 576]},
{Xandra.Cluster.Pool, :handle_event, 4,
[file: ~c"lib/xandra/cluster/pool.ex", line: 399]},
{:gen_statem, :loop_state_callback, 11,
[file: ~c"gen_statem.erl", line: 1428]},
{:proc_lib, :init_p_do_apply, 3, [file: ~c"proc_lib.erl", line: 240]}
]