Commit Graph

123 Commits

Author SHA1 Message Date
Paweł Żak ae7fbc5082
chore(linters): Replace 'fmt.Errorf' with 'errors.New' wherever possible (#14698) 2024-02-08 11:32:30 -06:00
Andreas Deininger 5f5a56ed01
docs: Fix typos (#14376) 2024-01-05 22:34:02 +01:00
Paweł Żak 8fbea28ab3
chore(linters): Fix findings found by testifylint: expected-actual (#14229) 2023-11-01 14:09:55 -06:00
Sven Rebhan 61cf18c821
chore: Check logging functions like printf (#13743) 2023-08-09 15:02:36 -06:00
dependabot[bot] 8bc6822e28
chore(deps): Bump go.mongodb.org/mongo-driver from 1.11.6 to 1.12.1 (#13736) 2023-08-08 22:16:40 +02:00
Paweł Żak 5f2142a6cc
chore: Enable G601 rule for gosec (#13042) 2023-04-12 16:56:07 +02:00
r3inbowari 19c4316694
chore: Update README.md (#12989) 2023-04-04 13:43:49 +02:00
Paweł Żak 5b2346dfa0
chore: Fix linter findings for errorlint (part5) (#12731)
Co-authored-by: Pawel Zak <Pawel Zak>
2023-03-01 22:18:35 +01:00
Dmitry Khamitov e466cab0c0
fix(inputs.mongodb): SIGSEGV when restarting MongoDB node (#12604) 2023-02-03 10:12:16 +01:00
Tom Pillot cde651b7ee
fix(inputs.mongodb): Improve error logging (#12599) 2023-02-03 09:44:50 +01:00
Paweł Żak 00347033ab
chore: Fix linter findings for nolintlint (part2) (#12430)
Co-authored-by: Pawel Zak <Pawel Zak>
2023-01-26 11:27:32 +01:00
Thomas Casteleyn 61523bd4b9
feat(tools/readme_linter): Check for global configuration section (#12426) 2023-01-12 16:55:21 +01:00
zhiyuan-mojie 375e089d12
fix(inputs.mongodb): Fix connection leak triggered by config reload (#12330)
Co-authored-by: amliu <amliu@qq.com>
2022-12-09 16:44:33 +01:00
Paweł Żak cdc622e9db
chore: Fix linter findings for prealloc (part1) (#12228) 2022-11-15 18:57:50 +01:00
Joshua Powers cf8d12cc73
test(inputs.mongodb): update integration test logic (#12241) 2022-11-15 06:56:31 -07:00
Paweł Żak d3fabdd0a9
chore: wrap long lines in plugins/inputs/[l-s]* (#12217) 2022-11-10 11:55:58 -07:00
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