Commit Graph

188 Commits

Author SHA1 Message Date
Paweł Żak 080e9a1338
chore(deps): Bump golangci-lint from v1.64.5 to v2.0.2 (#16683) 2025-03-31 13:52:09 +01:00
Paweł Żak 9bf9fb3a4d
chore(linters): Enable `usetesting` linter (#16456)
Co-authored-by: pzak <pzak>
Co-authored-by: Zak <pawel.zak@intel.com>
2025-03-10 02:12:42 -05:00
Paulo Dias cb71790cf7
chore(linters): Enforce import grouping with gci linter (#16526)
Signed-off-by: Paulo Dias <paulodias.gm@gmail.com>
Co-authored-by: Thomas Casteleyn <thomas.casteleyn@me.com>
2025-02-24 19:37:12 -06:00
Sven Rebhan 1041d331ae
chore(deps): Bump golangci-lint from v1.63.4 to v1.64.5 (#16512) 2025-02-18 09:23:28 -06:00
dependabot[bot] 02159df7ec
chore(deps): Bump github.com/eclipse/paho.golang from 0.21.0 to 0.22.0 (#16395)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Sven Rebhan <srebhan@influxdata.com>
2025-01-16 08:41:22 -06:00
Paweł Żak d26479b58e
chore: Fix linter findings for `revive:unused-receiver` in `plugins/`: `aggregators`, `common`, `parsers`, `processors`, `secretstores` and `serializers` (#16339) 2025-01-14 09:24:13 +01:00
Sven Rebhan 11709858e3
feat(outputs.influxdb_v2): Add rate limit implementation (#15742) 2024-12-06 10:50:21 -06:00
Sven Rebhan be2d5efed1
feat(outputs): Add rate-limiting infrastructure (#16258) 2024-12-06 11:23:35 +01:00
MarekZydor e28c33e5d9
fix(common.socket): Use read buffer size config setting as a datagram reader buffer size (#16156) 2024-11-18 08:46:58 -06:00
Paweł Żak fe4246fab2
chore: Enable `revive:enforce-repeated-arg-type-style` rule (#16182) 2024-11-14 16:14:40 +01:00
Paweł Żak cf2a820cac
chore: Enable `testifylint:go-require` checker (#16158) 2024-11-13 01:32:57 -06:00
Sven Rebhan 35fe105bb4
fix(agent): Restore setup order of stateful plugins to Init() then SetState() (#16123) 2024-11-13 01:21:49 -06:00
Paweł Żak 70e1cbc0be
chore(deps): Bump golangci-lint from v1.61.0 to v1.62.0 (#16172) 2024-11-12 15:49:39 -06:00
Paweł Żak b4fdd52ff3
chore: Fix linter findings for `revive:enforce-slice-style` in `plugins/inputs/[a-d]*` and `plugins/common` (#16161) 2024-11-11 11:33:45 +01:00
Sven Rebhan 42fe362af2
fix(common.socket): Make sure the scanner buffer matches the read-buffer size (#16111) 2024-10-31 16:13:24 -05:00
Paweł Żak 39a5ca27ef
chore: Fix linter findings for `revive:enforce-map-style` in `plugins/aggregators`, `plugins/common`, `plugins/parsers`, `plugins/processors`, `plugins/secretstores` and `plugins/serializers` (#16039) 2024-10-18 09:10:58 -05:00
Paweł Żak e8c19d9987
chore: Fix linter findings for `revive:exported` in `plugins/inputs/d*` (#16016) 2024-10-16 12:38:11 +02:00
Lars Stegman 4e6e2a297b
feat(inputs.socket_listener): Use reception time as timestamp (#15976) 2024-10-10 09:04:46 -05:00
Lars Stegman c0a365686b
feat(common.socket): Allow parallel parsing with a pool of workers (#15891) 2024-10-09 16:35:50 -05:00
Paweł Żak 0804ccef4e
chore(linters): Enable `string-format` rule for revive (#15983) 2024-10-09 09:07:46 +02:00
Paweł Żak b029889212
chore(linters): Fix findings found by `testifylint`: `go-require` for `plugins/common` and `plugins/inputs` (#15991) 2024-10-08 15:55:27 -05:00
Paweł Żak 3f04c52621
chore(linters): Enable `datarace` rule for revive (#15984) 2024-10-08 11:10:39 +02:00
Sven Rebhan e65bb0d972
test(common.socket): Increase margin for memleak test to avoid flaky tests (#15961) 2024-10-02 15:44:16 -05:00
Paweł Żak 9415d8e7e9
chore(linters): Enable `import-alias-naming` and `redundant-import-alias` rules for revive (#15836) 2024-10-01 13:49:53 -05:00
lestrozi d77cf92d6c
fix(common.http): Keep timeout after creating oauth client (#15900) 2024-09-19 11:32:19 +02:00
Paweł Żak 43590ca730
chore: Fix linter findings for `revive:comment-spacings` (part 1) (#15896) 2024-09-19 10:55:45 +02:00
Sven Rebhan b2967cb515
chore: Update go to v1.23.0 (#15766)
Co-authored-by: Pawel Zak <pawel.zak.pawel@gmail.com>
2024-08-30 14:23:51 -05:00
h0nIg 9cb121c76a
feat(common.cookie): Allow usage of secrets for header (#15640)
Co-authored-by: Josh Powers <powersj@fastmail.com>
2024-08-06 08:12:13 +02:00
Ottmar Friedrich von Wimmelwaldi fbac735052
feat(common.shim): Enable metric tracking within external plugins (#15636) 2024-08-06 08:11:29 +02:00
Sven Rebhan d160276552
feat(logging): Add 'trace' log-level (#15695) 2024-08-01 00:32:24 +02:00
Sven Rebhan ef41198481
chore(logging): Implement early logging (#15629) 2024-07-26 09:09:21 -06:00
Sven Rebhan 3d9562ba91
fix(common.socket): Switch to context to simplify closing (#15589) 2024-07-17 08:21:03 -06:00
Sven Rebhan f40578fc16
chore(common.starlark): Print nonconvertible data (#15508) 2024-06-28 10:07:32 -05:00
Sven Rebhan 5119c7182f
feat(common.tls): Allow group aliases for ciphersuites (#15570) 2024-06-27 14:01:39 -05:00
Paweł Żak 78cbf533d2
test(linters): Enable copyloopvar (#15532) 2024-06-20 15:43:02 -05:00
Dane Strandboge 28543bae7c
chore(linters): Fix non-input/output plugin errcheck warnings (#15472) 2024-06-12 07:52:42 -06:00
Joshua Powers f0c72586cc
feat(outputs.mqtt): Add client trace logging, resolve MQTT5 reconnect login (#15429) 2024-06-06 11:06:23 +02:00
Joshua Powers 71718fba7d
chore: Update removal dates to either v1.35.0 or v1.40.0 (#15452) 2024-06-05 15:19:47 -05:00
Andreas Deininger b516ead921
docs: Fix typos (#15421) 2024-05-31 10:31:30 +02:00
Viktor Szépe 31a1d34d99
chore: Fix typos throughout codebase (#15338) 2024-05-31 10:26:37 +02:00
Sven Rebhan 4aa288b25f
feat(inputs.gnmi): Add yang-model decoding of JSON IETF payloads (#15201) 2024-05-23 14:09:11 -05:00
maxime-jolliet-airseas c3c6189a1b
feat(common.opcua): Add session timeout as configuration option (#15341) 2024-05-15 09:06:43 -06:00
Sven Rebhan 71b58ddaf5
chore(log): Restructure and cleanup logging code (#15234) 2024-05-10 16:43:43 -05:00
Sven Rebhan 46fb0af4e7
feat(inputs.gnmi): Allow to pass accepted cipher suites (#15256) 2024-05-06 20:19:10 +02:00
Sven Rebhan 274333921f
feat(processors.starlark): Allow persistence of global state (#15170) 2024-04-25 13:24:57 -05:00
Sven Rebhan aa1091aba8
chore(inputs.postgresql): Factor out common code and cleanup (#15103) 2024-04-04 16:40:43 -05:00
Sven Rebhan 0e6b4f05f9
chore(inputs.syslog): Use common/socket implementation (#14837) 2024-02-23 13:20:39 -06:00
dependabot[bot] f6dcb701a2
chore(deps): Bump github.com/eclipse/paho.golang from 0.11.0 to 0.20.0 (#14769)
Co-authored-by: Josh Powers <powersj@fastmail.com>
2024-02-13 13:26:26 -06:00
Sven Rebhan 655a8a786b
chore(inputs.socket_listener): Move underlying socket implementation to common (#14787) 2024-02-13 09:53:12 -07:00
Paweł Żak c4dbe65732
chore(linters): Bump golangci-lint to v1.56.1 (#14759) 2024-02-12 23:26:10 +01:00