diff --git a/src/server/pegasus_server_impl_init.cpp b/src/server/pegasus_server_impl_init.cpp index e53dd08d69..d98bd78ec9 100644 --- a/src/server/pegasus_server_impl_init.cpp +++ b/src/server/pegasus_server_impl_init.cpp @@ -514,13 +514,13 @@ pegasus_server_impl::pegasus_server_impl(dsn::replication::replica *r) "has not avoided the reads and data actually " "exist"); - snprintf(name, 255, "rdb.compaction_write_rate_megabytes@%s", str_gpid.c_str()); + snprintf(name, 255, "rdb.compaction_write_rate_bytes@%s", str_gpid.c_str()); _pfc_rdb_compaction_write_rate_bytes.init_app_counter( - "app.pegasus", name, COUNTER_TYPE_NUMBER, "statistics the rate(MB/s) of compaction write"); + "app.pegasus", name, COUNTER_TYPE_NUMBER, "statistics the rate of compaction write"); - snprintf(name, 255, "rdb.compaction_read_rate_megabytes@%s", str_gpid.c_str()); + snprintf(name, 255, "rdb.compaction_read_rate_bytes@%s", str_gpid.c_str()); _pfc_rdb_compaction_read_rate_bytes.init_app_counter( - "app.pegasus", name, COUNTER_TYPE_NUMBER, "statistics the rate(MB/s) of compaction read"); + "app.pegasus", name, COUNTER_TYPE_NUMBER, "statistics the rate of compaction read"); } } // namespace server } // namespace pegasus