Commit Graph

81 Commits

Author SHA1 Message Date
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
Sven Rebhan e839ad17de
docs(inputs): Add plugin metadata and update description for g* to i* (#16486) 2025-02-06 15:50:08 -06:00
Paweł Żak 6f80899e13
chore: Fix linter findings for `revive:unused-receiver` in `plugins/inputs/[f-k]` (#16308) 2024-12-17 15:33:30 +01:00
Paweł Żak 7c9d5e52b0
chore(linters): Fix findings found by `testifylint`: `go-require` for handlers for `plugins/inputs/[a-m]` (#16076) 2024-10-28 13:58:03 +01:00
Paweł Żak fc55d3ab7b
chore: Fix linter findings for `revive:exported` in `plugins/inputs/h*` (#16050) 2024-10-23 15:09:07 +02: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
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
Dane Strandboge 19737fcb52
chore(linters): Fix remaining errcheck warnings (#15518)
Co-authored-by: Joshua Powers <powersj@fastmail.com>
2024-07-10 12:51:25 +02:00
Paweł Żak 1422c09294
test(linters): Enable `testifylint`: `blank-import`, `float-compare`, `negative-positive`, `nil-compare` and `useless-assert` (#15566) 2024-07-01 15:00:13 +02:00
Sven Rebhan 5119c7182f
feat(common.tls): Allow group aliases for ciphersuites (#15570) 2024-06-27 14:01:39 -05:00
Joshua Powers bcafb1d24d
chore: Print debug message when no messages generated from parse (#15463) 2024-06-05 15:22:55 -05: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
Sven Rebhan 46fb0af4e7
feat(inputs.gnmi): Allow to pass accepted cipher suites (#15256) 2024-05-06 20:19:10 +02:00
Nick Thomas 96d6da63f2
fix(http): Stop plugins from leaking file descriptors on telegraf reload (#15213) 2024-04-24 15:18:15 -05:00
Paweł Żak c4dbe65732
chore(linters): Bump golangci-lint to v1.56.1 (#14759) 2024-02-12 23:26:10 +01:00
Lars Stegman 4f0ac6e155
feat(http): Allow secrets in headers (#14743) 2024-02-12 23:04:49 +01:00
Andreas Deininger dca00f03a1
docs: Fix broken link (#14762) 2024-02-12 13:39:52 -07:00
Paweł Żak 98ec91478a
chore(linters): replace 'fmt.Sprintf' with string addition (#14699) 2024-02-08 15:46:22 -05:00
Paweł Żak ae7fbc5082
chore(linters): Replace 'fmt.Errorf' with 'errors.New' wherever possible (#14698) 2024-02-08 11:32:30 -06:00
Paweł Żak 3786cf2d72
chore(linters): Enable equalFold, preferStringWriter, and stringXbytes checkers for gocritic. (#14452) 2023-12-15 06:25:10 -07:00
Joshua Powers 7b5393c9e5
fix(inputs.http): Use correct token variable (#14350)
fixes: #14347
2023-11-27 10:09:26 -07:00
Paweł Żak 8fbea28ab3
chore(linters): Fix findings found by testifylint: expected-actual (#14229) 2023-11-01 14:09:55 -06:00
Paweł Żak 97f47c11dd
chore(linters): Fix findings found by testifylint: empty (#14179) 2023-10-25 15:09:13 -06:00
Rajiv Kushwaha 37ef23fb7f
feat(common.http): Add support for connecting over unix-socket (#14103) 2023-10-18 06:44:36 -06:00
Sven Rebhan e2c4e10650
chore(secrets): Abstract secret implementation (#13953) 2023-09-25 14:37:04 -06:00
Sven Rebhan 0ba463817c
feat(inputs.http): Rework token options (#13622) 2023-07-14 16:52:16 +02:00
Sven Rebhan 9c6cd94d6e
chore: Add generator for sample-config includes (#13348) 2023-06-02 08:08:56 -06: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
Sven Rebhan dfc5cdf924
docs: indicate secret-store support in plugin READMEs (#12592) 2023-02-02 09:31:23 -07:00
Paweł Żak 473aa0de17
chore: Lint whole codebase both in PR and master branch (#12590) 2023-02-02 14:16:21 +01:00
Sven Rebhan e6de0cc9c2
chore(internal.gzip): cleanup CompressWithGzip (#12587) 2023-02-01 11:20:11 -07:00
Thomas Casteleyn 61523bd4b9
feat(tools/readme_linter): Check for global configuration section (#12426) 2023-01-12 16:55:21 +01:00
Sven Rebhan 9f55bc605e
fix(secretstores): cleanup duplicate printing (#12401) 2022-12-15 06:35:05 -07:00
Sven Rebhan c98115e744
feat: secret-store implementation (#11232) 2022-12-08 09:53:06 -07:00
Joshua Powers 49ac03fa80
docs: add global configuration header (#12107) 2022-10-26 14:58:36 -05:00
Joshua Powers 89cdfa35f7
docs(inputs.http): add use system proxy config option (#12069) 2022-10-20 12:40:37 -06:00
Sven Rebhan 8e23402305
chore: remove deprecated io/ioutils (#11678) 2022-09-20 09:37:14 -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
Sven Rebhan e96bbe83c5
feat(common.tls): Implement minimum TLS version for clients (#11493) 2022-08-09 13:36:47 +02:00
Sven Rebhan 3ad9fe73ba
chore: More parser cleanup (#11532) 2022-07-28 15:30:36 -05:00
Sebastian Spaink 2d357d464b
docs: Add example output section to HTTP plugin (#11497) 2022-07-14 09:38:39 -05:00
Joshua Powers 508483157d
fix: allow 201 for cookies, update header docs (#11472) 2022-07-08 15:10:46 -06:00
Joshua Powers b423a3ec40
feat: migrate value parser to new style (#11407) 2022-06-29 14:46:43 -06:00
Sven Rebhan c46f42f797
feat: Migrate json parser to new style (#11226) 2022-06-22 09:56:51 -06:00
reimda 453e276718
chore: Fix readme linter errors for input plugins E-L (#11214) 2022-06-07 15:37:08 -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
Joshua Powers dad330c3e1
fix: use readers over closers in http input (#11083) 2022-05-18 13:06:56 -06:00