From 2b8729e0489e2d0dfb64e4e1f1aa28558eee18c2 Mon Sep 17 00:00:00 2001 From: "Artem V. Navrotskiy" Date: Thu, 17 Jan 2019 02:39:55 +0300 Subject: [PATCH] Fix typo in mongodb field name (#5299) --- plugins/inputs/mongodb/README.md | 2 +- plugins/inputs/mongodb/mongodb_data.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/inputs/mongodb/README.md b/plugins/inputs/mongodb/README.md index 982936811..07ab133d4 100644 --- a/plugins/inputs/mongodb/README.md +++ b/plugins/inputs/mongodb/README.md @@ -97,7 +97,7 @@ Error in input [mongodb]: not authorized on admin to execute command { serverSta - wtcache_app_threads_page_write_count (integer) - wtcache_bytes_read_into (integer) - wtcache_bytes_written_from (integer) - - wtcache_pages_read_info (integer) + - wtcache_pages_read_into (integer) - wtcache_pages_requested_from (integer) - wtcache_current_bytes (integer) - wtcache_max_bytes_configured (integer) diff --git a/plugins/inputs/mongodb/mongodb_data.go b/plugins/inputs/mongodb/mongodb_data.go index c0e7baf65..5fa0c237d 100644 --- a/plugins/inputs/mongodb/mongodb_data.go +++ b/plugins/inputs/mongodb/mongodb_data.go @@ -138,7 +138,7 @@ var WiredTigerExtStats = map[string]string{ "wtcache_bytes_read_into": "BytesReadInto", "wtcache_pages_evicted_by_app_thread": "PagesEvictedByAppThread", "wtcache_pages_queued_for_eviction": "PagesQueuedForEviction", - "wtcache_pages_read_info": "PagesReadIntoCache", + "wtcache_pages_read_into": "PagesReadIntoCache", "wtcache_pages_requested_from": "PagesRequestedFromCache", "wtcache_server_evicting_pages": "ServerEvictingPages", "wtcache_worker_thread_evictingpages": "WorkerThreadEvictingPages",