From 8f89535d531b0cd2dbbf2386adc538f535475b9e Mon Sep 17 00:00:00 2001 From: JiaShuo Date: Fri, 5 Jun 2020 15:09:34 +0800 Subject: [PATCH] del megabytes --- src/server/pegasus_server_impl_init.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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