1) introspect following metrics: message_queue_len, memory, heap_size 2) add handle_info(dump_state, State) -> io:format("State: ~p~n", [State]), {noreply, State};