Commit Graph

71 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
debu99 f10c8ff92d
Add cluster state integer to mongodb input (#7489) 2020-05-20 17:34:50 -07:00
Josh Soref 2c56d6de81
Fix spelling errors in comments and documentation (#7492) 2020-05-14 00:41:58 -07:00
Kostiantyn Nemchenko 00ad5baa19
Add additional fields to mongodb input (#7321)
New metrics include:
- assertions
- database operations
- documents/index keys usage
- replication
- tcmalloc memory management
- storage
- version
2020-05-12 11:31:54 -07:00
Denis Pershin 4c59de9023
Add additional concurrent transaction information (#7193) 2020-03-23 16:14:56 -07:00
AnastasiyaRagozina 3e1c7a8948
Add commands stats to mongodb input plugin (#6905) 2020-03-23 12:33:10 -07:00
AnastasiyaRagozina cb50fadc20 Add replica set tag to mongodb input (#6914) 2020-01-23 15:46:23 -08:00
Ross Lodge 6f9f0b7f01 Add latency stats to mongo input (#6733) 2020-01-08 18:18:12 -08:00
Ross Lodge e6c57e7df4 Add page_faults for mongodb wired tiger (#6732) 2019-12-05 16:38:51 -08:00
Daniel Nelson cf78f4e11e
Log mongodb oplog auth errors at debug level (#6742) 2019-12-03 11:26:51 -08:00
Ross Lodge fd2e9889ac Add node type tag to mongodb input (#6731) 2019-12-02 11:19:14 -08:00
pertu 6175d17969 Add uptime_ns field to mongodb input (#6669) 2019-12-02 11:16:00 -08:00
alan7yg a66b6729e9 Fix panic in mongodb input if ShardStats is nil (#6680) 2019-11-19 10:52:48 -08:00
Daniel Nelson 898c20c01e
Don't log if no error in mongodb input 2019-11-12 13:44:57 -08:00
pertu e2fde882c7 Fix mongodb total_created field naming (#6643) 2019-11-12 11:45:09 -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
Artem V. Navrotskiy 2b8729e048 Fix typo in mongodb field name (#5299) 2019-01-16 15:39:55 -08:00
Artem V. Navrotskiy df33759711 Add flush_total_time_ns and additional wired tiger fields to mongodb input (#5273) 2019-01-15 11:31:51 -08:00
Daniel Nelson ccfd9ca522
Update mongodb readme 2019-01-10 14:38:13 -08:00
Artem V. Navrotskiy 4b3580cceb Add raw counters to mongodb input (#5264) 2019-01-09 15:48:45 -08:00
Daniel Nelson 55b798bd20
Fix mongodb document stats (#5049) 2018-11-28 16:43:13 -08:00
Mauro Murari 9bc92c5c75 Fix server connection info in mongodb input (#5048) 2018-11-27 17:45:23 -08:00
Trevor Pounds ee056278f5 Enable gofmt code simplification (#4887) 2018-10-19 13:32:54 -07:00
Daniel Nelson cd865cfd22 Lower authorization errors to debug level in mongodb input (#4869) 2018-10-17 12:44:48 -06:00
Ayrdrie 9106011f58 Add mongo document and connection metrics (#4362) 2018-07-03 14:09:20 -07:00
Ayrdrie 9fe90d71f4 Add plugin development framework (#4324) 2018-07-02 16:34:40 -07:00
Jake Champlin 4790a21c04 Add cursor metrics to mongodb input (#4114) 2018-05-07 15:00:24 -07:00
Daniel Nelson de355b76d6
Simplify testing with TLS (#4095) 2018-05-04 16:33:23 -07:00
Daniel Nelson bf0c59f56c
Return errors in mongodb SSL/TLS configuration (#4066) 2018-04-23 13:29:12 -07:00
Daniel Nelson 387bae9b9f
Fix host ordering in mongodb unit tests 2018-04-10 17:24:40 -07:00
Jake Champlin 32f56140a3 Add per-host shard metrics in mongodb input (#3819) 2018-04-10 17:10:29 -07:00
Daniel Nelson 1890efbb70
Rename repl_oplog_window_s to repl_oplog_window_sec
To match existing metric style.
2018-04-09 17:05:45 -07:00
Daniel Nelson caac224276
Add details about MongoDB permissions 2018-04-06 16:43:03 -07:00
Daniel Nelson fe31ce9d7d
Modernize mongodb docs 2018-04-06 16:36:03 -07:00
Matvey Kruglov 01ede2ea0b Add repl_oplog_window_s metric to mongodb input (#3964) 2018-04-06 16:34:47 -07:00
Daniel Nelson 0c1293ad5e
Add MmapStats when using rocksdb storage engine (#3930) 2018-03-29 13:32:05 -07:00
Jake Champlin 18aef35c58 Add shard server stats to the mongodb input plugin (#3808) 2018-02-20 13:55:56 -08:00
Ayrdrie a75ab3e190 Fix mongodb input panic when restarting mongodb (#3355) 2017-10-18 12:24:30 -07:00
Jimena Cabrera Notari aba269e94c Add extra wired tiger cache metrics to mongodb input (#3281) 2017-10-02 17:38:51 -07:00
Daniel Nelson b277e6e2d7 Fix support for mongodb/leofs urls without scheme (#2900)
This was broken by changes in go 1.8 to url.Parse.  This change allows
the string but prompts the user to move to the correct url string.
2017-06-08 16:52:01 -07:00
Steve Nardone e7f9db297e Fix panic in mongo input (#2848) 2017-05-30 11:02:26 -07:00
Frederick Roth ac5ac3161f Fixed inconsistency between HasIntField and IntField (#2813) 2017-05-16 15:25:30 -07:00
Patrick Hemmer 06baf7cf78 use AddError everywhere (#2372) 2017-04-24 11:13:26 -07:00
Patrick Hemmer 1402c158b7 remove sleep from tests (#2555) 2017-03-24 12:03:36 -07:00
Daniel Nelson 7a5d857846 Add support for new SSL configuration to mongodb (#2522)
closes #2519
2017-03-10 11:27:55 -08:00