Commit Graph

308 Commits

Author SHA1 Message Date
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
reimda 0dd99b2157
fix(inputs/snmp): switch new Reconnect method to be a value receiver (#11197) 2022-05-27 15:03:46 -06:00
Joshua Powers 2fc19fa308
chore: correctly spell embed (#11200) 2022-05-27 07:13:47 -06:00
Thomas Casteleyn 885444ab3e
fix(inputs/snmp): Reconnect TCP agents if needed (#11163) 2022-05-25 12:47:51 -06:00
Sven Rebhan e04d62dd16
chore: Embed sample configurations into README for processors (#11189) 2022-05-25 08:59:41 -06:00
Sven Rebhan 56eb914998
chore: Embed sample configurations into README for inputs (#11136) 2022-05-24 08:49:47 -05:00
Heiko Schlittermann a840006e58
fix: search services file in /etc/services and fall back to /usr/etc/services (#11179) 2022-05-24 07:22:56 -06:00
Sebastian Spaink d345348834
chore(processors): migrate sample configs into separate files (#11125) 2022-05-18 11:29:43 -05:00
Eng Zer Jun 81090be35d
refactor: replace strings.Replace with strings.ReplaceAll (#11079) 2022-05-11 09:53:34 -06:00
M.D fed88fcb44
feat(exec, execd): add an option to pass a custom environment to their child process (#11049) 2022-05-10 15:34:05 -06:00
Joshua Powers b2a1c1b497
docs: regex processor only works on strings (#10982) 2022-04-19 07:22:03 -06:00
Rion 577c0462b8
feat(processor/regex): Add ability to check every tag for regex replace (#10927) 2022-04-14 09:15:45 -06:00
Sebastian Spaink b139ee7997
fix: update starlark 7a1108eaa012->d1966c6b9fcd (#10940) 2022-04-12 07:54:25 -06:00
Sebastian Spaink be0008f9e2
feat: migrate processor plugins to new sample config format (#10913) 2022-04-06 14:49:41 -06:00
Sebastian Spaink 5d6748fcb5
feat: generate the plugins sample config (#10886) 2022-04-05 17:11:09 -05:00
Joshua Powers d89972c02c
docs: clarify the k and fields topk params (#10830) 2022-03-24 11:56:51 -06:00
Joshua Powers eafde73ece
chore: reduce timeouts and sleeps (#10861) 2022-03-24 11:54:58 -06:00
reimda 77040ef4e9
fix: Add option to select translator (#10802) 2022-03-17 21:43:46 -06:00
Ted M Lin 722a265da6
fix(dedup): Modifying slice while iterating is dangerous (#10684) 2022-02-22 08:13:52 -07:00
Joshua Powers 80580c070f
fix: ensure CI tests runs against i386 (#10457) 2022-01-18 13:45:03 -07:00
Sven Rebhan 193dc450c3
feat: Parser plugin restructuring (#8791) 2022-01-12 15:54:42 -07:00
Christian a6b998f9b8
feat: Add noise plugin (#10057) 2022-01-12 08:20:33 -07:00
Thomas Casteleyn 0b99c6c20a
feat: add more functionality to template processor (#10316) 2021-12-23 09:51:26 -07:00
Joshua Powers 6a1442f1bc
fix: do not require networking during tests (#10321) 2021-12-21 13:44:10 -07:00
Thomas Casteleyn 3ddc3c6b51
fix: eliminate MIB dependency for ifname processor (#10214) 2021-12-07 15:38:09 -07:00