Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

keep category name same and provide fstype in metric name

  • Loading branch information...
commit 4d101ae9667d73f26d6b1098b585d62ca2fe66ef 1 parent 313115b
Inderbir authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/store.cpp
View
4 src/store.cpp
@@ -560,8 +560,8 @@ void FileStoreBase::printStats() {
LOG_OPER("[%s]", log_str.c_str());
/*stats_file->write(msg.str());*/
// update the stats
- g_Handler->incCounter(categoryHandled, fsType + ":wrote num messages", eventsWritten);
- g_Handler->incCounter(categoryHandled, fsType + ":wrote bytes", currentSize);
+ g_Handler->incCounter(categoryHandled, fsType + "_wrote_num_messages", eventsWritten);
+ g_Handler->incCounter(categoryHandled, fsType + "_wrote_bytes", currentSize);
stats_file->close();
}
Please sign in to comment.
Something went wrong with that request. Please try again.