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
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
Paweł Żak
fe4246fab2
chore: Enable `revive:enforce-repeated-arg-type-style` rule ( #16182 )
2024-11-14 16:14:40 +01: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
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
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
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
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
ef41198481
chore(logging): Implement early logging ( #15629 )
2024-07-26 09:09:21 -06:00
Dane Strandboge
28543bae7c
chore(linters): Fix non-input/output plugin errcheck warnings ( #15472 )
2024-06-12 07:52:42 -06:00
Andreas Deininger
b516ead921
docs: Fix typos ( #15421 )
2024-05-31 10:31:30 +02:00
Sven Rebhan
71b58ddaf5
chore(log): Restructure and cleanup logging code ( #15234 )
2024-05-10 16:43:43 -05:00
Paweł Żak
ae7fbc5082
chore(linters): Replace 'fmt.Errorf' with 'errors.New' wherever possible ( #14698 )
2024-02-08 11:32:30 -06:00
Joshua Powers
2ac45b8d25
chore: Enable additional gocritic ( #13714 )
2023-08-03 18:58:27 +02:00
Sven Rebhan
c3ce6a8e12
chore(config): Split tests to avoid cyclic import ( #13371 )
2023-06-02 12:32:10 +02:00
Sven Rebhan
9bb2d1562d
chore(serializers): Add new-style framework and migrate influx ( #12920 )
2023-04-11 21:52:42 +02:00
Thomas Casteleyn
6a2f6f301f
chore: eliminate unnecessary use of quoted strings in printf ( #12722 )
2023-02-23 06:49:36 -07:00
Paweł Żak
4201f24020
chore: Fix linter findings for errorlint (part2) ( #12702 )
...
Co-authored-by: Pawel Zak <Pawel Zak>
2023-02-22 12:08:46 +01:00
Paweł Żak
1260b4523b
chore: Fix linter findings for tenv ( #12622 )
...
Co-authored-by: Pawel Zak <Pawel Zak>
2023-02-07 17:12:42 +01:00
Paweł Żak
9a0cecc788
chore: Fix linter findings for nolintlint (part3) ( #12613 )
...
Co-authored-by: Pawel Zak <Pawel Zak>
2023-02-07 17:06:12 +01:00
Paweł Żak
4717a03509
chore: Fix linter findings for makezero (part2) ( #12362 )
2022-12-09 16:38:37 +01:00
Paweł Żak
6816aefcd5
chore: fix linter findings for unparam and revive.unused-parameter ( #12150 )
2022-11-08 12:04:12 -07:00
Paweł Żak
8203b503b7
chore: Wrap long lines in plugins/common ( #12182 )
2022-11-08 18:35:08 +01:00
Paweł Żak
6659e3d62a
chore: Use depguard instead of revive.imports-blacklist ( #12153 )
2022-11-07 11:34:05 +01:00
Mya
2bcb4d9f52
chore(common.shim): check err of s.writeProcessedMetrics for the linter ( #12103 )
2022-10-26 20:50:38 +02:00
Paweł Żak
9d9eb403a6
chore: Review of //nolint comments ( #12088 )
2022-10-26 12:06:08 +02:00
Paweł Żak
9ff5cda6e8
chore: Resolve linter issues for plugins/common package ( #11964 )
...
Co-authored-by: Pawel Zak <Pawel Zak>
2022-10-11 11:31:44 -05:00
Joshua Powers
8c49ddccc3
chore: update to go1.19.1 ( #11776 )
2022-09-08 12:49:36 -06:00
Sebastian Spaink
9744c3a6a2
feat: Migrate influx and influx_upstream parsers to new style ( #11432 )
2022-07-06 15:23:13 -05:00
Julien Pivotto
fa64e26a0c
chore: fix typo (recieve -> receive) ( #11341 )
2022-06-21 10:36:41 -06:00
Sebastian Spaink
5d6748fcb5
feat: generate the plugins sample config ( #10886 )
2022-04-05 17:11:09 -05:00
Paweł Żak
77390b6495
fix: linter fixes for "import-shadowing: The name '...' shadows an import name" ( #10689 )
2022-02-22 08:11:30 -07:00
Paweł Żak
1143a50da3
chore: Forbids "log" package only for aggregators, inputs, outputs, parsers and processors ( #10191 )
...
Co-authored-by: Pawel Zak <Pawel Zak>
2021-12-03 11:50:51 -06:00
Paweł Żak
3627961add
fix: Linter fixes for plugins/common/[a-z]* ( #10189 )
...
Co-authored-by: Pawel Zak <Pawel Zak>
2021-11-30 15:46:46 -06:00
Joshua Powers
d5d1f310da
chore: clean up all markdown lint errors in common plugins ( #10155 )
2021-11-24 11:45:38 -07:00
David B
b9c444bae8
fix: update BurntSushi/toml for hex config support ( #10089 )
2021-11-11 16:09:51 -07:00
Eng Zer Jun
6a3b27126a
refactor: move from io/ioutil to io and os package ( #9811 )
2021-09-28 15:16:32 -06:00
Steven Soroka
ee44aee1ca
clarify docs around shim plugin loading
2021-06-03 09:53:15 -04:00
Steven Soroka
1cfe8da93f
clarify pollIntervalDisabled message ( #9158 )
...
closes #9155
2021-04-20 11:24:24 -04:00
Dominic Tootell
f3229f5ec1
Change to NewStreamParser to accept larger inputs from scanner ( #8892 )
...
* change to NewStreamParser to accept larger inputs from scanner
* fmt changes
2021-04-13 17:13:46 -04:00
David Bennett
842a788022
Remove error return type from metric.New method ( #9116 )
...
* Remove error return type from metric.New method.
* Formatting changes for linter + gofmt
* Additional linter fixes.
* More linter fixes.
* Linter fix.
* address comments
2021-04-13 14:40:03 -04:00
Paweł Żak
099ccda3f9
Linter fixes - gosimple ( #9046 )
2021-03-25 13:57:01 -04:00
Paweł Żak
74a1acd814
Linter fixes - revive:unused-parameter, unparam, varcheck and unused ( #8984 )
...
* Linter fixes - revive:unused-parameter and unparam
* Linter fixes - revive:unused-parameter and unparam
* Linter fixes - revive:unused-parameter and unparam
* "nolint"'s removed
* Fixes for "varcheck" and "unused" added.
* Fixes for "varcheck" and "unused" added.
* Fixes for "varcheck" and "unused" added.
* Fixes for "varcheck" and "unused" added.
* Fixes for "varcheck" and "unused" added.
* Fixes for "varcheck" and "unused" added.
* Fixes for "varcheck" and "unused" added.
Co-authored-by: Pawel Zak <Pawel Zak>
2021-03-22 12:21:36 -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
d9736d543f
Revive fixes - part 2 ( #8835 )
...
* Revive fixes regarding following set of rules:
[rule.if-return]
[rule.increment-decrement]
[rule.var-declaration]
[rule.package-comments]
[rule.receiver-naming]
[rule.unexported-return]
2021-02-16 18:19:50 -05:00
Steven Soroka
796b3b8d41
fix issue with loading processor config from execd ( #8274 )
2020-10-15 13:46:13 -04:00
Steven Soroka
3278054c5c
fix bug in shim logger affecting AddError ( #8052 )
2020-08-28 18:45:38 -04:00
Steven Soroka
11afd42617
fix issue with shim use of config.Duration ( #7996 )
2020-08-18 14:20:31 -04:00