stats record bytes in/out/repl