summaryrefslogtreecommitdiff
path: root/src/mongo/db/stats/top.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/stats/top.cpp')
-rw-r--r--src/mongo/db/stats/top.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mongo/db/stats/top.cpp b/src/mongo/db/stats/top.cpp
index 6fafb8f4aac..30e47a6e1be 100644
--- a/src/mongo/db/stats/top.cpp
+++ b/src/mongo/db/stats/top.cpp
@@ -201,6 +201,7 @@ void Top::appendLatencyStats(StringData ns, BSONObjBuilder* builder) {
stdx::lock_guard<SimpleMutex> lk(_lock);
BSONObjBuilder latencyStatsBuilder;
_usage[hashedNs].opLatencyHistogram.append(&latencyStatsBuilder);
+ builder->append("ns", ns);
builder->append("latencyStats", latencyStatsBuilder.obj());
}