From e2fde882c7e7079ce933d93086c859e6edf2a218 Mon Sep 17 00:00:00 2001 From: pertu Date: Tue, 12 Nov 2019 22:45:09 +0300 Subject: [PATCH] Fix mongodb total_created field naming (#6643) --- plugins/inputs/mongodb/mongostat.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/inputs/mongodb/mongostat.go b/plugins/inputs/mongodb/mongostat.go index 44c071a2f526f..d75ff9fb05f63 100644 --- a/plugins/inputs/mongodb/mongostat.go +++ b/plugins/inputs/mongodb/mongostat.go @@ -252,7 +252,7 @@ type FlushStats struct { type ConnectionStats struct { Current int64 `bson:"current"` Available int64 `bson:"available"` - TotalCreated int64 `bson:"total_created"` + TotalCreated int64 `bson:"totalCreated"` } // DurTiming stores information related to journaling.