diff options
author | Eliot Horowitz <eliot@10gen.com> | 2010-11-09 17:01:58 -0500 |
---|---|---|
committer | Eliot Horowitz <eliot@10gen.com> | 2010-11-09 17:01:58 -0500 |
commit | 7cc161c6a53144f90a612da5bf17118a9580b614 (patch) | |
tree | 3da296f43456750e4240e7a909bee9a2d44004d6 /db/stats | |
parent | 5edab00f7c85d54cb0fde85dbd44545e659b20be (diff) | |
download | mongo-7cc161c6a53144f90a612da5bf17118a9580b614.tar.gz |
track replicated ops SERVER-1565
Diffstat (limited to 'db/stats')
-rw-r--r-- | db/stats/counters.cpp | 1 | ||||
-rw-r--r-- | db/stats/counters.h | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/db/stats/counters.cpp b/db/stats/counters.cpp index fad0f364c5e..938a8bcefb6 100644 --- a/db/stats/counters.cpp +++ b/db/stats/counters.cpp @@ -175,6 +175,7 @@ namespace mongo { OpCounters globalOpCounters; + OpCounters replOpCounters; IndexCounters globalIndexCounters; FlushCounters globalFlushCounters; NetworkCounter networkCounter; diff --git a/db/stats/counters.h b/db/stats/counters.h index 1af7ba94b98..3e4c2905bc9 100644 --- a/db/stats/counters.h +++ b/db/stats/counters.h @@ -62,6 +62,8 @@ namespace mongo { }; extern OpCounters globalOpCounters; + extern OpCounters replOpCounters; + class IndexCounters { public: |