Commit Graph

107 Commits

Author SHA1 Message Date
Paweł Żak 6816aefcd5
chore: fix linter findings for unparam and revive.unused-parameter (#12150) 2022-11-08 12:04:12 -07:00
Joshua Powers 49ac03fa80
docs: add global configuration header (#12107) 2022-10-26 14:58:36 -05:00
Joshua Powers 3a162332c1
docs(inputs.mongodb): update supported versions (#12048) 2022-10-19 12:37:10 +02:00
Brett Jones 668b7eb54a
fix(inputs.mongodb): ServerStatus int64 to float(#12049) 2022-10-19 09:11:02 +02:00
Joshua Powers f899eb5cde
fix(inputs.mongodb): actually start plugin correctly (#11849) 2022-09-21 13:05:01 -06:00
Sebastian Spaink d67f75e557
docs: Remove warning not to remove go:embed (#11797)
Co-authored-by: Joshua Powers <powersj@fastmail.com>
2022-09-13 12:47:58 -05:00
Joshua Powers 8c49ddccc3
chore: update to go1.19.1 (#11776) 2022-09-08 12:49:36 -06:00
Wilfried OLLIVIER e46f90e89c
fix(inputs.mongodb): add an option to bypass connection errors on start (#11629) 2022-09-07 14:25:32 -05:00
Joshua Powers 75e8640a26
fix(inputs.mongodb): update version check for newer versions (#11635) 2022-08-08 09:37:52 -06:00
Sven Burkard 46f059ebfd
feat: added metrics for member and replica-set avg health of MongoDB (#11516) 2022-07-20 13:02:38 -06:00
Joshua Powers 42a167ffde
fix: filter out views in mongodb lookup (#11280) 2022-06-21 11:16:12 -06:00
Joshua Powers a45410368d
docs: explain directly connecting to mongo node (#11314) 2022-06-16 09:43:26 -06:00
reimda f7aab29381
chore: Fix readme linter errors for input plugins M-Z (#11274) 2022-06-08 15:22:56 -06:00
Joshua Powers 2fc19fa308
chore: correctly spell embed (#11200) 2022-05-27 07:13:47 -06:00
Sven Rebhan 56eb914998
chore: Embed sample configurations into README for inputs (#11136) 2022-05-24 08:49:47 -05:00
Sebastian Spaink 0f5dc9946c
chore(inputs_m-z): migrate sample configs into separate files (#11133) 2022-05-18 11:31:34 -05:00
Adam Zwakenberg 96be484f08
docs: add missing slash in mongodb readme (#10994) 2022-04-19 07:35:30 -06:00
Sebastian Spaink b355be5ccb
feat: migrate input plugins to new sample config format (M-Z) (#10926) 2022-04-11 16:32:25 -05:00
Driss Tahraoui-Maldague 6cb25207fd
feat(inputs.mongodb): Add metrics about files currently open and currently active data handles (#7896) 2022-04-05 11:37:57 -05:00
Thomas Casteleyn a4f6b27bd5
style: Add deprecation notices to plugin options (#10616) 2022-03-01 15:05:53 -07:00
Bastien Dronneau 789f351948
feat(mongodb): add FsTotalSize and FsUsedSize informations (#10625) 2022-02-10 15:00:16 -07:00
anti32 62a05b2372
fix (inputs/mongodb) readme: correct connection URI (#10075) 2021-11-10 13:49:40 -06:00
Sebastian Spaink 279fc8352c
fix(inputs/mongodb): resolve all markdown linter issues in README.md (#10077) 2021-11-10 12:53:11 -06:00
Paweł Żak c1d4ce4dd5
fix: Linter fixes for plugins/inputs/m* (#10006) 2021-11-02 08:49:26 -06:00
alon 34c2b6232d
fix: solve compatibility issue for mongodb inputs when using 5.x relicaset (#9892) 2021-10-15 13:15:40 -06:00
Howard Yoo c1f51b0645
fix: mongodb input plugin issue #9845 (#9846) 2021-10-04 10:04:58 -06:00
Alexander Krantz 1a59157b91
fix(mongodb): change command based on server version (#9674) 2021-08-26 15:32:48 -05:00
Sebastian Spaink 3a7d9b6d98
fix: support 1.17 & 1.16.7 Go versions (#9642) 2021-08-23 15:37:44 -05:00
Alexander Krantz cae338814b
Switch MongoDB libraries (#9493) 2021-07-22 14:50:23 -06:00
Sven Rebhan 8e7da355b3
Linter fixes (unhandled errors) -- Part 1 (#8992) 2021-04-08 11:43:39 -05:00
Paweł Żak 099ccda3f9
Linter fixes - gosimple (#9046) 2021-03-25 13:57:01 -04:00
Denis Pershin 8a47d6f104
Add top stat info to mongodb plugin (#8861)
* Add top stat info

* fixes after review

* fix README.md
2021-03-16 15:54:57 -05:00
Paweł Żak 38c61c07ef
Revive fixes - part 4: (#8981)
empty-lines

Co-authored-by: Pawel Zak <Pawel Zak>
2021-03-12 14:21:51 -06:00
Paweł Żak 8a6907a186
Revive fixes - part 3 (#8872)
* * Revive fixes regarding following set of rules: [rule.var-naming]
2021-03-01 16:04:35 -05:00
Vikky Omkar 02454315ab
MongoDB: Added new metric "pages written from cache" (#7870) 2020-07-27 23:45:37 -04:00
Daniel Nelson c73ed8ca6c
Export internal/tls package for use in execd plugins (#7697) 2020-06-25 11:44:22 -07:00
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