未验证 提交 c16d6726 编写于 作者: S Smilencer 提交者: GitHub

fix: fix incorrect log message in info_collector::on_app_stat (#553)

上级 4a8a779d
Subproject commit c5e1e671fd3c0dbac7805f8e65b01c10519a12bf
Subproject commit 11e1becc8f4c3f91fcbe84c6ee6c77e0b28f3186
......@@ -162,10 +162,10 @@ void info_collector::on_app_stat()
}
get_app_counters(all_stats.app_name)->set(all_stats);
ddebug("stat apps succeed, app_count = %d, total_read_qps = %.2f, total_write_qps = %.2f",
(int)(all_rows.size() - 1),
all_stats.get_total_read_qps(),
all_stats.get_total_write_qps());
ddebug_f("stat apps succeed, app_count = {}, total_read_qps = {}, total_write_qps = {}",
all_rows.size(),
all_stats.get_total_read_qps(),
all_stats.get_total_write_qps());
}
info_collector::app_stat_counters *info_collector::get_app_counters(const std::string &app_name)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册