Paweł Żak
dba5597530
chore(linters): Configure `revive:var-naming` and fix its findings ( #16817 )
2025-04-24 21:23:04 +01:00
Sven Rebhan
b2d81f056b
chore(inputs.mongodb): Remove superfluous check ( #16592 )
2025-03-06 18:11:52 -06:00
Dmitry Khamitov
3b87986f42
fix(inputs.mongodb): Do not dereference nil pointer if gathering database stats fails ( #16310 )
2024-12-17 11:09:13 -06:00
Paweł Żak
8a7947abbb
chore: Fix linter findings for `revive:exported` in `plugins/inputs/m*` ( #16191 )
2024-11-18 12:27:17 +01:00
Paweł Żak
ffee74c188
chore: Fix linter findings for `revive:enforce-repeated-arg-type-style` in `plugins/inputs/[h-n]*` ( #15850 )
2024-09-13 12:47:18 -05:00
Paweł Żak
46c056f49d
chore: Fix linter findings for `revive:max-public-structs` in `plugins/inputs/[a-n]*` ( #15858 )
2024-09-12 15:58:57 -05:00
Paweł Żak
ae7fbc5082
chore(linters): Replace 'fmt.Errorf' with 'errors.New' wherever possible ( #14698 )
2024-02-08 11:32:30 -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
5b2346dfa0
chore: Fix linter findings for errorlint (part5) ( #12731 )
...
Co-authored-by: Pawel Zak <Pawel Zak>
2023-03-01 22:18:35 +01:00
Paweł Żak
d3fabdd0a9
chore: wrap long lines in plugins/inputs/[l-s]* ( #12217 )
2022-11-10 11:55:58 -07: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
Joshua Powers
42a167ffde
fix: filter out views in mongodb lookup ( #11280 )
2022-06-21 11:16:12 -06:00
Alexander Krantz
1a59157b91
fix(mongodb): change command based on server version ( #9674 )
2021-08-26 15:32:48 -05:00
Alexander Krantz
cae338814b
Switch MongoDB libraries ( #9493 )
2021-07-22 14:50:23 -06: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
8a6907a186
Revive fixes - part 3 ( #8872 )
...
* * Revive fixes regarding following set of rules: [rule.var-naming]
2021-03-01 16:04:35 -05: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
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