Commit Graph

332 Commits

Author SHA1 Message Date
Sven Rebhan eb0a6991c4
test(processors.aws_ec2): Add unit-test for tracking metrics (#14788) 2024-02-13 09:36:56 -07:00
Sven Rebhan 341cbdeab0
test(processors.pivot): Add unit-test for tracking metrics (#14789) 2024-02-13 09:33:43 -07:00
Sven Rebhan ec9413eb58
test(processors.printer): Add unit-test for tracking metrics (#14791) 2024-02-13 09:33:20 -07:00
Sven Rebhan bb62677b2d
test(processors.noise): Add unit-test for tracking metrics (#14779) 2024-02-13 06:43:03 -07:00
Sven Rebhan 53c231233e
test(processors.ifname): Add unit-test for tracking metrics (#14778) 2024-02-13 06:42:46 -07:00
Sven Rebhan 6107103b63
test(processors.filepath): Add unit-test for tracking metrics (#14776) 2024-02-13 06:42:25 -07:00
Sven Rebhan b3cd1fde05
test(processors.override): Add unit-test for tracking metrics (#14781) 2024-02-13 06:41:57 -07:00
Sven Rebhan c0f8647eb1
chore(processors.aws_ec2): Rename processor to adhere to the standard directory structure (#14780) 2024-02-13 06:37:59 -07:00
Paweł Żak c4dbe65732
chore(linters): Bump golangci-lint to v1.56.1 (#14759) 2024-02-12 23:26:10 +01:00
Sven Rebhan 616ad305fe
fix(processors.execd): Accept tracking metrics instead of dropping them (#14770) 2024-02-12 14:42:49 -07:00
Sven Rebhan 5836bf39d5
test(processors.filter): Add unit-test for tracking metrics (#14747) 2024-02-12 07:45:28 -07:00
Sven Rebhan 772432203f
test(processors.defaults): Add unit-test for tracking metrics (#14746) 2024-02-12 07:44:08 -07:00
Sven Rebhan aa5d304e6b
test(processors.dedup): Add unit-test for tracking metrics (#14745) 2024-02-12 07:43:37 -07:00
Sven Rebhan 298a1d4396
chore(processors.converter): Cleanup code (#14744) 2024-02-12 07:43:01 -07:00
Dane Strandboge 0338bd03a0
test(processors.enum): Add unit-test for tracking metrics (#14736) 2024-02-09 14:08:09 -05:00
Dane Strandboge 5732270330
test(processors.regex): Add unit-test for tracking metrics (#14739) 2024-02-09 14:05:17 -05:00
Sven Rebhan 95c7a13195
test(processors.converter): Add unit-test for tracking metrics (#14740) 2024-02-08 15:24:25 -06:00
Sven Rebhan ba036e4464
test(processors.date): Add unit-test for tracking metrics (#14738) 2024-02-08 16:04:47 -05:00
Sven Rebhan a01d9624e2
test(processors.clone): Add unit-test for tracking metrics (#14737) 2024-02-08 14:57:12 -06: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 93783f813b
fix(processors.parser): Drop original tracking metrics (#14655) 2024-01-31 12:10:53 +01:00
Andreas Deininger 5f5a56ed01
docs: Fix typos (#14376) 2024-01-05 22:34:02 +01:00
Sven Rebhan cbaca43e36
fix(processors.starlark): Use tracking ID to identify tracking metrics (#14523) 2024-01-05 07:48:28 -07:00
Joshua Powers 08747905bf
test: Switch DNS server to avoid misbehaving test (#14520) 2024-01-02 20:24:23 +01:00
Darío 73ed448f1f
fix(processors.filter): Rename processors.Filter -> processors.filter (#14460) 2023-12-14 12:24:43 -07:00
Sven Rebhan 57fbc73814
fix(processors.starlark): Avoid negative refcounts for tracking metrics (#14395) 2023-12-07 08:45:09 -07:00
Thomas Casteleyn 193479a988
feat(config): Deprecate `fieldpass` and `fielddrop` modifiers (#14012) 2023-12-04 08:22:12 -07:00
Andreas Deininger 6814d7af8a
docs: Fix typos (#14359)
Co-authored-by: Josh Powers <powersj@fastmail.com>
2023-11-29 14:47:39 +01:00
Sven Rebhan 1c2c03d778
feat(processors.filter): Convert noop processor to filter processor (#14330) 2023-11-27 12:19:10 -07:00
Joshua Powers edf230bc44
fix(processors.starlark): Maintain tracking information post-apply (#14137) 2023-11-15 19:03:55 +01:00
Joshua Powers 0a63e2e1aa
feat(processors.noop): Noop processor (#14297) 2023-11-15 18:35:21 +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 fe87db594c
chore(linters): Fix findings found by testifylint: error-nil (#14198) 2023-10-27 07:42:25 -06:00
Paweł Żak 97f47c11dd
chore(linters): Fix findings found by testifylint: empty (#14179) 2023-10-25 15:09:13 -06:00
Paweł Żak 7c5b3ea068
chore(linters): Fix findings found by testifylint: compares (#14177) 2023-10-24 15:02:26 -06:00
Thomas Casteleyn c142f48f72
docs(processors.ifname): Document better agent tag name (#14117) 2023-10-18 09:42:01 +02:00
Sven Rebhan efe7112ef9
chore(processors.regex): Inform and warn user on operation modus (#14084) 2023-10-16 07:25:52 -06:00
Chase Sterling 309c195e03
feat(processors.dedup): Add state persistence between runs (#14065) 2023-10-12 15:07:13 -06:00
Sven Rebhan 78c641cdcc
docs(processors.split): Fix example (#14087) 2023-10-12 09:24:51 -06:00
Sven Rebhan d07701f35f
feat(processors.regex): Allow batch transforms using named groups (#13971) 2023-09-28 09:17:12 -06:00
Sven Rebhan ac79964226
chore(processors.starlark): Add benchmark for field-value filter (#13983) 2023-09-25 14:13:48 -06:00
Joshua Powers a9ba23f41a
docs(processors.lookup): Fix wrong word usage (#13970) 2023-09-21 15:44:43 +02:00
Joshua Powers 3996139dfd
chore: Update macOS CircleCI runner (#13932) 2023-09-21 15:40:26 +02:00
Sven Rebhan c65340ac7a
fix(processors.template): Handle tracking metrics correctly (#13947) 2023-09-20 06:41:50 -06:00
Joshua Powers dec4a90b07
feat(processors): Add processor to split a metric into multiple (#13785) 2023-08-29 17:20:14 +02:00
Paweł Żak 5661341813
chore: Enable filepathJoin checker for gocritic (#13758)
Co-authored-by: Pawel Zak <Pawel Zak>
2023-08-14 23:18:20 +02:00
Joshua Powers 013b73213d
chore: Spell endianness correctly (#13752) 2023-08-14 10:43:32 +02:00
Sven Rebhan 61cf18c821
chore: Check logging functions like printf (#13743) 2023-08-09 15:02:36 -06:00
Joshua Powers 564f24a0a4
chore: Enable additional gocritic (#13713) 2023-08-03 16:11:26 +02:00
Sven Rebhan f001b29eee
feat(processors.template): Unify template metric (#13606) 2023-07-12 09:00:19 -06:00
Sven Rebhan c28df89c8e
feat(processors.parser): Allow also non-string fields (#13553) 2023-07-10 13:55:55 +02:00
Sven Rebhan 0b1bd42ad2
fix(processors.printer): Convert output to string (#13564) 2023-07-07 07:44:50 -06:00
Sven Rebhan a2125f0457
fix(custom_builder): Correctly handle serializers and parsers (#13446) 2023-06-20 07:52:38 -06:00
Sven Rebhan 37d82f741c
fix(tests): Replace last 'cat' instance in tests (#13394) 2023-06-06 07:23:06 -06:00
Sven Rebhan b24c832a41
chore: Another try to fix CI (#13387) 2023-06-05 13:14:23 -06:00
Sven Rebhan eea3bf3c0a
chore(processors.execd): Remove JSON test due to problematic 'cat' command (#13383) 2023-06-02 11:11:48 -06:00
Sven Rebhan 97d10a5ee9
fix(internal): Fix time parsing for abbreviated timezones (#13363) 2023-06-02 10:05:55 -06:00
Sven Rebhan c3ce6a8e12
chore(config): Split tests to avoid cyclic import (#13371) 2023-06-02 12:32:10 +02:00
Sven Rebhan 4a8b1473f7
chore(serializers): Cleanup after migration (#13378) 2023-06-01 12:10:06 -06:00
Sven Rebhan 5d5147d186
fix(processors.lookup): Do not strip tracking info (#13301) 2023-05-23 06:53:39 -06:00
Sven Rebhan 7da5d68315
feat(processors.template): Allow `tag` to be a template (#13253) 2023-05-17 15:55:30 -06:00
Sven Rebhan afab345573
feat(processors.scale): Add scaling by factor and offset (#13227) 2023-05-08 09:27:58 -06:00
Joshua Powers 6dd3bcb41a
feat(processors.parser): Add merge with timestamp option (#13147) 2023-05-03 09:50:32 +02:00
Joshua Powers e1390b2f3d
fix(processors.starlark): Ddo not reject tracking metrics twice (#13156) 2023-05-02 13:30:50 +02:00
PaddyKe e211bd3f28
feat(processors): Adding scale processor plugin (#13061) 2023-04-18 10:59:34 -06:00
Sven Rebhan 3c3c0d8352
fix(processors.lookup): Fix tracking metrics (#13092) 2023-04-18 09:46:22 -06:00
Tim Rupp 2fed77e02a
feat(processors.aws_ec2): Add caching of imds and ec2 tags (#13075) 2023-04-14 21:57:04 +02:00
Sven Rebhan 9bb2d1562d
chore(serializers): Add new-style framework and migrate influx (#12920) 2023-04-11 21:52:42 +02:00
Sven Rebhan bea5414384
feat(parsers.xpath): Add timezone handling (#12820) 2023-03-13 12:17:14 +01:00
Joshua Powers 736f6ac5bb
feat(processors.converter): Convert tag or field as metric timestamp (#12767) 2023-03-09 17:43:22 +01:00
Sven Rebhan df19061166
feat(processors): Add lookup processor (#12809) 2023-03-08 10:44:23 -07: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
Joshua Powers ecfd367a46
feat(processors.unpivot): Add mode to create new metrics (#12659) 2023-02-15 11:34:56 +01:00
Joshua Powers fa26b6498b
docs: remove trailing whitespace (#12660) 2023-02-09 12:35:18 -07:00
Thomas Casteleyn 61523bd4b9
feat(tools/readme_linter): Check for global configuration section (#12426) 2023-01-12 16:55:21 +01:00
Sven Rebhan f2729298ed
fix(processors.parser): handle empty metric names correctly (#12357) 2022-12-08 07:23:54 -07:00
Paweł Żak 743e023f84
chore: Fix linter findings for makezero (part1) (#12254) 2022-11-21 21:07:07 +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 979eec8fb8
chore: Wrap long lines in plugins/processors (#12181) 2022-11-08 16:12:30 +01:00
Paweł Żak e2b999267f
chore: Fix linter findings introduced in last PRs (#12131) 2022-11-01 11:27:37 +01:00
Sven Rebhan 7d37ddfe51
fix(processors.parser): Keep name of original metric if parser doesn't return one (#12116) 2022-10-27 17:56:12 +02:00
Joshua Powers 49ac03fa80
docs: add global configuration header (#12107) 2022-10-26 14:58:36 -05:00
Paweł Żak 9d9eb403a6
chore: Review of //nolint comments (#12088) 2022-10-26 12:06:08 +02:00
Sebastian Spaink f38c9f2a45
chore: Resolve deprecated linter issues (#12051) 2022-10-19 18:32:53 +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
Sven Rebhan 8a9c2eec85
chore(processors): Convert processors to `ParserPlugin`s (#11600) 2022-09-26 22:24:34 +02:00
Sebastian Spaink 4913392b85
chore: Remove deprecated build tags (#11867) 2022-09-22 13:25:31 -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
Thomas Casteleyn d976158fa5
feat(processors.parser): Add option to parse tags (#11228) 2022-09-12 09:37:03 -06:00
Joshua Powers 8c49ddccc3
chore: update to go1.19.1 (#11776) 2022-09-08 12:49:36 -06:00
reimda 07179c466b
chore: Use build tags to select plugins (#11654) 2022-08-15 22:44:59 +02:00
Sven Rebhan 75d766b715
feat(processors.starlark): Add starlark benchmark for tag-concatenation (#11306) 2022-08-04 18:30:03 +02:00
Sebastian Spaink 9744c3a6a2
feat: Migrate influx and influx_upstream parsers to new style (#11432) 2022-07-06 15:23:13 -05:00
dependabot[bot] 3008d918b7
chore(deps): Bump github.com/aws/aws-sdk-go-v2/service/ec2 from 1.1.0 to 1.46.0 (#11382) 2022-06-28 12:22:31 -05:00
Sven Rebhan c46f42f797
feat: Migrate json parser to new style (#11226) 2022-06-22 09:56:51 -06:00
Joshua Powers 3f65217f5e
test: mark integration tests correctly (#11317) 2022-06-16 14:10:11 -06:00
reimda 34eff493ae
chore: Fix readme linter errors for processor, aggregator, and parser plugins (#10960) 2022-06-06 17:04:28 -06:00
Joshua Powers 58e01f72b2
test: add circle ci integration testing on PRs (#11246) 2022-06-03 10:33:28 -06:00