Commit Graph

13 Commits

Author SHA1 Message Date
Paweł Żak fe4246fab2
chore: Enable `revive:enforce-repeated-arg-type-style` rule (#16182) 2024-11-14 16:14:40 +01: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 c8a30655cb
chore: Enable `revive:enforce-map-style` rule (#16077) 2024-10-28 13:59:26 +01:00
Dane Strandboge e257c14ec1
fix(agent): Use a unique WAL file for plugin instances of the same type (#15966) 2024-10-18 20:22:02 +02:00
Dane Strandboge 7245ea96bd
feat(agent): Add metric disk buffer (#15564) 2024-07-17 12:42:45 -06:00
Dane Strandboge 6da035ba44
chore(agent): Extract buffer into interface (#15545) 2024-06-25 07:46:23 -06:00
Joshua Powers 5dcc70b841
chore(deps): Bump golangci-lint from v1.57.2 to v1.58.0 (#15303) 2024-05-07 11:02:25 -05:00
Paweł Żak 85b7590ff9
chore: resolve linter issues for confusing-naming and confusing-results (#11956) 2022-10-12 13:19:47 -06:00
Howie 381dc22723
chore: typos across source code comments (#10361) 2022-01-05 08:20:10 -07: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