Skip to content

Commit

Permalink
del megabytes
Browse files Browse the repository at this point in the history
  • Loading branch information
foreverneverer committed Jun 5, 2020
1 parent aa2fa6f commit 8f89535
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/server/pegasus_server_impl_init.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 8f89535

Please sign in to comment.