Commit Graph

22 Commits

Author SHA1 Message Date
raul-te 4d071bed24
Add option to disable mongodb cluster status (#7515)
It can be expensive to compute these metrics. In particular, when
retrieveing the amount of jumbo chunks, an index is not being used and
consequently the query triggers an expensive COLLSCAN. For big
databases, this query has negative impact on the cluster performance.
2020-05-22 00:11:00 -07:00
Daniel Nelson cf78f4e11e
Log mongodb oplog auth errors at debug level (#6742) 2019-12-03 11:26:51 -08:00
Greg 817c9a69a9 Document and add support to input plugins for logging alias (#6357) 2019-09-23 15:39:50 -07:00
Daniel Nelson a4078da648
Skip collection stats when disabled in mongodb input (#6364) 2019-09-09 15:55:46 -07:00
Daniel Nelson 2d2e793c90
Query oplog only when connected to a replica set (#6307) 2019-08-27 10:31:42 -07:00
Daniel Nelson 5e0c63f2e6
Fix and improve error handling in mongodb collection stats (#6230) 2019-08-14 16:59:02 -07:00
Daniel Nelson 17465b0aaf
Skip mongodb collection on error 2019-08-08 10:43:51 -07:00
Thierry Sallé ef9a1c0d5b Gather per collections stats in mongodb input plugin (#6137) 2019-07-30 21:36:19 -07:00
Daniel Nelson cd865cfd22 Lower authorization errors to debug level in mongodb input (#4869) 2018-10-17 12:44:48 -06:00
Jake Champlin 32f56140a3 Add per-host shard metrics in mongodb input (#3819) 2018-04-10 17:10:29 -07:00
Matvey Kruglov 01ede2ea0b Add repl_oplog_window_s metric to mongodb input (#3964) 2018-04-06 16:34:47 -07:00
Jake Champlin 18aef35c58 Add shard server stats to the mongodb input plugin (#3808) 2018-02-20 13:55:56 -08:00
Cameron Sparr 31a4f03031
mongodb: Remove superfluous ReplSet log message
closes #2248
2017-01-11 17:50:01 +00:00
Cameron Sparr c7834209d2 Major Logging Overhaul
in this commit:

- centralize logging output handler.
- set global Info/Debug/Error log levels based on config file or flags.
- remove per-plugin debug arg handling.
- add a I!, D!, or E! to every log message.
- add configuration option to specify where to send logs.

closes #1786
2016-10-03 17:13:03 +01:00
Cameron Sparr 811567a2f4 Update go version to 1.7, fix vet errors
closes #1728
2016-09-09 16:11:17 +01:00
Victor Garcia cbf5a55c7d MongoDB input plugin: Adding per DB stats (#1466) 2016-07-19 12:47:12 +01:00
Björn Lichtblau ca504a19ec Use optimeDate to get MongoTimestamp (mongo input plugin). (#1281) 2016-05-27 11:57:17 +01:00
Victor Garcia 40dccf5b29 Metric for MongoDB jumbo chunks
closes #1128
2016-05-01 14:27:27 -06:00
Victor Garcia 194288c00e Adding replication lag metric
closes #1066
2016-04-22 11:07:32 -06:00
Cameron Sparr 9c0d14bb60 Create public models for telegraf metrics, accumlator, plugins
This will basically make the root directory a place for storing the
major telegraf interfaces, which will make telegraf's godoc looks quite
a bit nicer. And make it easier for contributors to lookup the few data
types that they actually care about.

closes #564
2016-01-27 15:42:50 -07:00
Jack Zampolin 0cdf1b07e9 Fix issue 524 2016-01-20 10:57:35 -08:00
Cameron Sparr 9c5db1057d renaming plugins -> inputs 2016-01-07 15:04:30 -07:00