Commit Graph

183 Commits

Author SHA1 Message Date
Paweł Żak 080e9a1338
chore(deps): Bump golangci-lint from v1.64.5 to v2.0.2 (#16683) 2025-03-31 13:52:09 +01:00
Sven Rebhan 0551f22bd3
fix(serializers.prometheus): Use legacy validation for metric name (#16557) 2025-03-04 09:20:15 -06:00
Paulo Dias cb71790cf7
chore(linters): Enforce import grouping with gci linter (#16526)
Signed-off-by: Paulo Dias <paulodias.gm@gmail.com>
Co-authored-by: Thomas Casteleyn <thomas.casteleyn@me.com>
2025-02-24 19:37:12 -06:00
Sven Rebhan 9776fe1bac
chore(deps): Bump github.com/prometheus/common from 0.61.0 to 0.62.0 (#16453) 2025-01-30 09:11:24 -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 2ccc79ce27
test(linters): Enable `testifylint`: `contains`, `encoded-compare` and `regexp` (#16262) 2024-12-11 14:32:16 -06:00
Sven Rebhan 18cdb1a99e
chore(serializers)!: Remove old-style creation (#15971) 2024-12-05 08:32:10 -06:00
Baker X f26decbea6
docs(serializers.json): Fix typo (#16245) 2024-12-03 11:10:36 -06:00
Paweł Żak fe4246fab2
chore: Enable `revive:enforce-repeated-arg-type-style` rule (#16182) 2024-11-14 16:14:40 +01:00
dependabot[bot] 0e9aff6217
chore(deps): Bump github.com/gofrs/uuid/v5 from 5.2.0 to 5.3.0 (#16096)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Dane Strandboge <136023093+DStrand1@users.noreply.github.com>
2024-10-31 15:33:20 +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 f8af593d33
chore: Fix linter findings for `revive:enforce-slice-style` in `plugins/parsers`, `plugins/processors`, `plugins/secretstores` and `plugins/serializers` (#15980) 2024-10-15 13:02:45 +02:00
Roman Khavronenko 7df29b0a32
feat(serializers.prometheusremotewrite): Log metric conversion errors (#15893) 2024-10-01 11:34:45 -05:00
Paweł Żak 43590ca730
chore: Fix linter findings for `revive:comment-spacings` (part 1) (#15896) 2024-09-19 10:55:45 +02:00
Paweł Żak 8d282ab03a
chore: Fix linter findings for revive:max-public-structs in plugins/inputs/[t-z]* and rest (#15879) 2024-09-16 11:59:39 -05:00
Sebastian Rothbucher 371b9887fb
fix(serializers.template): Unwrap metrics if required (#15740) 2024-08-14 07:48:44 -06:00
Joshua Powers 7037429e6a
test(lint): Enable mirror (#15510) 2024-06-17 16:21:30 +02:00
Dane Strandboge 28543bae7c
chore(linters): Fix non-input/output plugin errcheck warnings (#15472) 2024-06-12 07:52:42 -06:00
Lars Stegman 719e3cbb3b
feat(cli): List available parsers and serializers (#15426)
Co-authored-by: Joshua Powers <powersj@fastmail.com>
2024-05-31 10:32:35 +02:00
Joshua Powers 7f83b7aae9
feat(serializers.influx): Add option to omit timestamp (#15220) 2024-05-02 13:50:50 -05:00
Joshua Powers 1416b8b730
chore: Remove executable bit from files (#15143) 2024-04-11 10:33:39 -05:00
Sven Rebhan c5e915e32b
chore(deps): Bump github.com/prometheus/client_golang from 1.18.0 to 1.19.0 (#15100) 2024-04-03 14:50:31 -05:00
Sven Rebhan 2942f84aa3
feat(serializers.csv): Allow specifying fixed column order (#14870) 2024-02-22 11:56:13 -06:00
Paweł Żak 98ec91478a
chore(linters): replace 'fmt.Sprintf' with string addition (#14699) 2024-02-08 15:46:22 -05:00
_|+ ba9de1c555
feat(serializers): Add binary serializer (#14474) 2024-01-31 07:22:01 -07:00
Andreas Deininger 5f5a56ed01
docs: Fix typos (#14376) 2024-01-05 22:34:02 +01:00
Paweł Żak 4ad8f6b814
chore(linters): Enable `preferDecodeRune` and `preferFprint` checkers for gocritic (#14453) 2023-12-15 07:01:25 -07:00
Paweł Żak aa681be594
chore(linters): Remove blank identifiers and errors which are not needed to handle (#14399) 2023-12-07 08:09:01 -07:00
Joshua Powers 5505a2150a
chore: Enable bad regex gocritic linter (#14295) 2023-11-15 12:35:41 -07:00
Joshua Powers 02473069f4
chore: Add metric and batch benchmark to serializers (#14277) 2023-11-13 09:30:19 +01:00
Paweł Żak 8fbea28ab3
chore(linters): Fix findings found by testifylint: expected-actual (#14229) 2023-11-01 14:09:55 -06:00
Paweł Żak 34ae468a8c
chore(linters): Fix findings found by testifylint: len (#14203) 2023-10-31 10:29:53 +01:00
Paweł Żak 97f47c11dd
chore(linters): Fix findings found by testifylint: empty (#14179) 2023-10-25 15:09:13 -06:00
Sven Rebhan 8d1bf60bce
fix(serializers.json): Append newline for batch-serialization (#14150) 2023-10-23 07:47:55 -06:00
Sven Rebhan 84b3b587da
feat(prometheus): Allow to specify metric type (#13874) 2023-09-11 07:45:16 -06:00
Sven Rebhan 61cf18c821
chore: Check logging functions like printf (#13743) 2023-08-09 15:02:36 -06:00
Joshua Powers 93bf2becce
feat(serializers.nowmetric): Add option for JSONv2 format (#13722) 2023-08-08 22:19:31 +02:00
Chase Sterling 283af2b1da
feat(serializers.template): Add new template based serializer (#13656) 2023-07-28 09:41:04 -06:00
Sven Rebhan dba873cf2c
fix(serializers.splunkmetric): Fix TOML option name for multi-metric (#13511) 2023-06-28 13:53:04 +02:00
Sven Rebhan c3ce6a8e12
chore(config): Split tests to avoid cyclic import (#13371) 2023-06-02 12:32:10 +02:00
Sven Rebhan 5a8ccbde6f
chore(serializers.prometheus): Migrate to new-style framework (#13347) 2023-05-31 11:02:19 -06:00
Sven Rebhan 238478bc9c
chore(serializers.wavefront): Migrate to new-style framework (#13344) 2023-05-26 11:51:03 -06:00
Sven Rebhan b20a3ac77b
chore(serializers.splunkmetric): Migrate to new-style framework (#13342) 2023-05-26 08:43:58 -06:00
Sven Rebhan 7a521ff73b
chore(serializers.prometheusremotewrite): Migrate to new-style framework (#13341) 2023-05-26 07:51:12 -06:00
Sven Rebhan d769495276
chore(serializers.nowmetric): Migrate to new-style framework (#13340) 2023-05-26 07:50:33 -06:00
Joshua Powers 05aab954cf
fix: remove unused imports (#13339) 2023-05-25 13:26:47 -06:00
Sven Rebhan ece214e5a9
chore(serializers.json): Migrate to new-style framework (#13335) 2023-05-25 13:22:14 -06:00
Sven Rebhan a1743269cc
chore(serializers.msgpack): Migrate to new-style framework (#13336) 2023-05-25 13:20:50 -06:00
Sven Rebhan bbe30f769d
chore(serializers.graphite): Migrate to new-style framework (#13321) 2023-05-24 08:49:41 -06:00
Sven Rebhan 66988b81cf
chore(serializers.csv): Migrate to new-style framework (#13319) 2023-05-23 08:18:48 -06:00