Commit Graph

26 Commits

Author SHA1 Message Date
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
Sven Rebhan 35fe105bb4
fix(agent): Restore setup order of stateful plugins to Init() then SetState() (#16123) 2024-11-13 01:21:49 -06:00
Sven Rebhan 274333921f
feat(processors.starlark): Allow persistence of global state (#15170) 2024-04-25 13:24:57 -05:00
Paweł Żak ae7fbc5082
chore(linters): Replace 'fmt.Errorf' with 'errors.New' wherever possible (#14698) 2024-02-08 11:32:30 -06:00
Sven Rebhan cbaca43e36
fix(processors.starlark): Use tracking ID to identify tracking metrics (#14523) 2024-01-05 07:48:28 -07:00
Sven Rebhan 57fbc73814
fix(processors.starlark): Avoid negative refcounts for tracking metrics (#14395) 2023-12-07 08:45:09 -07:00
Joshua Powers edf230bc44
fix(processors.starlark): Maintain tracking information post-apply (#14137) 2023-11-15 19:03:55 +01:00
Joshua Powers e1390b2f3d
fix(processors.starlark): Ddo not reject tracking metrics twice (#13156) 2023-05-02 13:30:50 +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
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
Joshua Powers 2fc19fa308
chore: correctly spell embed (#11200) 2022-05-27 07:13:47 -06:00
Sven Rebhan e04d62dd16
chore: Embed sample configurations into README for processors (#11189) 2022-05-25 08:59:41 -06:00
Sebastian Spaink be0008f9e2
feat: migrate processor plugins to new sample config format (#10913) 2022-04-06 14:49:41 -06:00
Nicolas Filotto 4f2ade5305
feat: Add support of aggregator as Starlark script (#9419) 2021-11-18 15:37:59 -07:00
David Bennett da5991d16c
Add time.now() starlark processor example test. (#9133) 2021-04-19 11:14:53 -04:00
Nicolas Filotto 991efd5e12
Add the math module to the Starlark Processor (#9042) 2021-03-24 14:51:15 -04:00
Nicolas Filotto f267f342ae
Add support of the time module in Starlark Processor (#9004) 2021-03-23 13:45:29 -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
Nicolas Filotto 8ddbab47a4
Allow to provide constants to a starlark script (#8772) 2021-02-01 14:34:44 -05:00
Nicolas Filotto 01fc69da47
Add the shared state to the global scope to get previous data (#8447) 2020-11-30 15:44:21 -05:00
Nicolas Filotto 0c15569174
Support logging in starlark (#8408) 2020-11-16 15:22:40 -05:00
Nicolas Filotto ca041063d9
Allow to catch errors that occur in the apply function (#8401) 2020-11-13 14:26:07 -05:00
Steven Soroka a475d765fb
add json parsing support to starlark (#8168) 2020-09-29 17:37:54 -04:00
Daniel Nelson c7cce961c3
Add starlark processor (#7660) 2020-06-23 14:15:14 -07:00