Commit Graph

30 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
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
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
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
Paweł Żak 98ec91478a
chore(linters): replace 'fmt.Sprintf' with string addition (#14699) 2024-02-08 15:46:22 -05: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 3ad9fe73ba
chore: More parser cleanup (#11532) 2022-07-28 15:30:36 -05: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
Joshua Powers dad330c3e1
fix: use readers over closers in http input (#11083) 2022-05-18 13:06:56 -06:00
Ehsan 5adecc3cd9
feat(parsers/csv): Add metadata support to CSV parser plugin (#10083) 2022-02-23 19:28:16 -06:00
Sven Rebhan 4ae8c60178
fix: Statefull parser handling (#10575) 2022-02-03 09:15:38 -07:00
Joshua Powers 8f02056718
fix: ensure http body is empty (#10396) 2022-01-11 09:22:49 -07:00
Paweł Żak 77248978c7
fix: Linter fixes for plugins/inputs/[h-j]* (#9986) 2021-10-26 07:45:03 -06:00
Eng Zer Jun 6a3b27126a
refactor: move from io/ioutil to io and os package (#9811) 2021-09-28 15:16:32 -06:00
David Bennett 8bb388584d
Add OAuth2 to HTTP input (#9138)
* add oauth2 to http input

* linter fixes

* add http config to common plugin

* address linter changes

* Update README.md

* add log for user if fields are missing

* add correct logger

* alter output plugin as well

* fix formatting

* add oauth2 separate package

* fix package naming

* remove unnecessary logger
2021-04-23 09:37:27 -04:00
Sven Rebhan 8e7da355b3
Linter fixes (unhandled errors) -- Part 1 (#8992) 2021-04-08 11:43:39 -05:00
Dheeraj Dwivedi a01d273c45 Support custom success codes in http input (#6549) 2019-10-21 14:23:36 -07:00
Daniel Nelson 0ff9c8ef88
Add call to optional Init function for all plugins (#5899) 2019-06-14 15:12:27 -07:00
Daniel Nelson 4d3519756c
Add support for sending a request body to http input (#5074) 2018-12-11 19:12:00 -08:00
maxunt 2729378b7f Add name, time, path and string field options to JSON parser (#4351) 2018-08-22 19:26:48 -07:00
Daniel Nelson 3fe3d75bb3
Add configurable method to http input 2018-02-15 19:06:22 -08:00
Daniel Nelson 6c656d92a0
Add url tag only if not already set 2018-02-15 19:06:20 -08:00
Nicolas Grange f82f03b92c Add http input plugin which supports any input data format (#3546) 2018-02-15 16:00:10 -08:00