Skip to content

Commit

Permalink
collector: fix info collector (#100)
Browse files Browse the repository at this point in the history
  • Loading branch information
qinzuoyan committed Jun 26, 2018
1 parent af53cd4 commit 0df2fbc
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/server/info_collector.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,11 @@ void info_collector::on_app_stat()
all.remove_qps += row.remove_qps;
all.multi_remove_qps += row.multi_remove_qps;
all.scan_qps += row.scan_qps;
all.recent_expire_count += row.recent_expire_count;
all.recent_filter_count += row.recent_filter_count;
all.recent_abnormal_count += row.recent_abnormal_count;
all.storage_mb += row.storage_mb;
all.storage_count += row.storage_count;
read_qps[i] = row.get_qps + row.multi_get_qps + row.scan_qps;
write_qps[i] = row.put_qps + row.multi_put_qps + row.remove_qps + row.multi_remove_qps;
}
Expand Down

0 comments on commit 0df2fbc

Please sign in to comment.