Commit Graph

17 Commits

Author SHA1 Message Date
Sven Rebhan be2d5efed1
feat(outputs): Add rate-limiting infrastructure (#16258) 2024-12-06 11:23:35 +01:00
Sven Rebhan 0ea4c1422e
feat(outputs): Implement partial write errors (#16146) 2024-12-04 21:55:11 +01:00
Paweł Żak 0d30797c08
chore: Enable `revive:enforce-slice-style` rule (#16173) 2024-11-13 01:24:35 -06:00
Sven Rebhan ddec937c1a
test(models): Cleanup tests, unexport stuff and unify naming in tests (#16116) 2024-11-05 08:27:40 -06:00
Paweł Żak 43590ca730
chore: Fix linter findings for `revive:comment-spacings` (part 1) (#15896) 2024-09-19 10:55:45 +02:00
Joshua Powers 5c3aa87340
chore: Update golangci-lint from v1.58.0 to v1.59.0 (#15473) 2024-06-07 11:12:25 -05:00
Sven Rebhan aa030b569a
feat(outputs): Add framework to retry on startup errors (#14884) 2024-03-26 12:12:30 -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 97f47c11dd
chore(linters): Fix findings found by testifylint: empty (#14179) 2023-10-25 15:09:13 -06:00
Paweł Żak c76f319b84
chore: Remove `revive:unhandled-error` - `errcheck` is more flexible (#13008) 2023-04-03 07:19:43 -06:00
Paweł Żak 9d9eb403a6
chore: Review of //nolint comments (#12088) 2022-10-26 12:06:08 +02:00
Paweł Żak 5878278fca
chore: resolve linter issues for unhandled-error (#11969) 2022-10-12 14:23:53 -06: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 ba66d4facb
Revive fixes - part 1 (#8797)
* Revive fixes regarding following set of rules:
[rule.blank-imports]
[rule.context-as-argument]
[rule.context-keys-type]
[rule.dot-imports]
[rule.error-return]
[rule.error-strings]
[rule.indent-error-flow]
[rule.errorf]
2021-02-08 11:18:40 -05:00
Pierre Fersing 3ec3f1bc50
Send metrics in FIFO order (#7814)
Metrics are send from older to newer metrics, even when outputs is
failing.  In case of buffer full, we still drop the oldest metrics, but
non-dropped metrics are send in the order they are received.
2020-07-14 11:32:54 -07:00
Steven Soroka b73a232a6a
Support Go execd plugins with shim (#7283) 2020-05-04 14:09:10 -04:00