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
Thomas Casteleyn
cc397279f5
fix: parallelism fix for ifname processor ( #10007 )
2021-12-03 14:44:41 -06:00
reimda
df6bf48f8d
feat: Implement deprecation infrastructure ( #10200 )
2021-12-01 12:38:43 -07:00
Paweł Żak
2b1a79f327
fix: Linter fixes for plugins/processors/[a-z]* ( #10161 )
...
Co-authored-by: Pawel Zak <Pawel Zak>
2021-11-24 12:38:08 -07:00
Joshua Powers
4605c977da
chore: clean up all markdown lint errors in processor plugins ( #10157 )
2021-11-24 11:47:11 -07:00
Nicolas Filotto
4f2ade5305
feat: Add support of aggregator as Starlark script ( #9419 )
2021-11-18 15:37:59 -07:00
Sven Rebhan
fb5b541b1a
feat: Extend regexp processor do allow renaming of measurements, tags and fields ( #9561 )
2021-11-04 10:45:52 -06:00
Thomas Casteleyn
1391f05e80
feat: Add more details to processors.ifname logmessages ( #9984 )
2021-10-22 16:12:12 -05:00
Sven Rebhan
112ef7fc26
fix: starlark pop operation for non-existing keys ( #9954 )
2021-10-21 12:55:23 -06:00
James Sorensen
f6478ed128
feat: Starlark processor example for processing sparkplug_b messages ( #9513 )
2021-10-05 08:37:41 -06:00
Eng Zer Jun
6a3b27126a
refactor: move from io/ioutil to io and os package ( #9811 )
2021-09-28 15:16:32 -06:00
Sebastian Spaink
3a7d9b6d98
fix: support 1.17 & 1.16.7 Go versions ( #9642 )
2021-08-23 15:37:44 -05:00
Sebastian Spaink
dbc4e269be
fix: Refactor ec2 init for config-api ( #9576 )
2021-08-09 11:13:20 -05:00
Jangmin-Lee
0cf37a91bc
docs: fix aws ec2 readme inconsistency ( #9567 )
2021-08-03 17:12:25 -04:00
Mya
a48e11d0d1
Bug Fix Snmp empty metric name ( #9519 )
2021-07-27 14:34:35 -06:00
Sven Rebhan
6cc942fa6e
Fix segfault in processors/parser ( #9283 )
2021-06-15 13:20:47 -06:00
Logan
370836d436
Add UTF-8 sanitizer to Strings plugin ( #9118 )
...
Adds a new option for the Strings processer to sanitize strings so that they conform to utf-8
2021-04-29 19:46:36 -05:00
David Bennett
79b1ac1f06
Converter processor: add support for large hexadecimal strings ( #9160 )
...
* add oauth2 to http input
* reset not included changes
* reset not included changes
* reset not included changes
* add hexadecimal parser changes
* add linter changes
* add documentation note
2021-04-28 12:31:48 -04:00
Nicolas Filotto
4d00e21630
Add time.star and math.star to Starlark readme lib section ( #9167 )
2021-04-21 12:16:02 -07:00
Samantha Wang
243488c266
add starlark current timestamp example
2021-04-20 14:26:15 -07:00
David Bennett
da5991d16c
Add time.now() starlark processor example test. ( #9133 )
2021-04-19 11:14:53 -04:00
Tuan Nguyen Huy
7cbde183de
Support float64 in enum processor ( #8911 )
2021-04-13 17:31:07 -04:00
David Bennett
842a788022
Remove error return type from metric.New method ( #9116 )
...
* Remove error return type from metric.New method.
* Formatting changes for linter + gofmt
* Additional linter fixes.
* More linter fixes.
* Linter fix.
* address comments
2021-04-13 14:40:03 -04:00
Sven Rebhan
9853bf6c54
Get rid of deprecated internal.{Duration,Size,Number} ( #8969 )
2021-04-09 13:15:04 -04:00
Nicolas Filotto
c66ccee46f
Allow to specify nanoseconds to timestamp in Starlark Processor ( #9105 )
2021-04-08 14:02:29 -04:00
Helen Weller
885bf273a9
Starlark script for renaming prometheus remote write metrics ( #9074 )
2021-03-31 15:08:34 -04:00
Thomas Casteleyn
ffe92a7658
Don't walk the entire interface table to just retrieve one field ( #9043 )
2021-03-29 17:05:19 -06:00
Steven Soroka
e6165ecd18
readme fix ( #9064 )
...
closes #9060
2021-03-29 10:40:28 -04:00
Paweł Żak
099ccda3f9
Linter fixes - gosimple ( #9046 )
2021-03-25 13:57:01 -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
Peter (Stig) Edwards
67e8d766c5
Add a starlark example showing how to obtain IOPS ( #8996 )
2021-03-18 11:39:29 -04:00
Paweł Żak
38c61c07ef
Revive fixes - part 4: ( #8981 )
...
empty-lines
Co-authored-by: Pawel Zak <Pawel Zak>
2021-03-12 14:21:51 -06:00
Steven Soroka
b263c1fedf
accurate state documentation for Starlark
2021-03-11 16:35:26 -05:00
Sam Dillard
380911ffb3
Add Starlark parsing example of nested JSON ( #8675 )
...
* Add Starlark parsing example of nested JSON
* add correct Example Input and Output fields to make script testable
* removed logging from script
* remove logging.star load statement
2021-03-09 10:24:57 -06:00
Peter (Stig) Edwards
1b7f445ee5
Correct Q+A about state ( #8918 )
2021-03-05 10:25:45 -05:00
Sam Dillard
858bcd4bba
Add field key length output by field type in schema_sizing Starlark script ( #8934 )
2021-03-05 10:20:24 -05:00
Sam Dillard
30a0fd04cd
Add Starlark script for estimating Line Protocol cardinality ( #8852 )
2021-03-02 16:55:27 -05:00
Paweł Żak
8a6907a186
Revive fixes - part 3 ( #8872 )
...
* * Revive fixes regarding following set of rules: [rule.var-naming]
2021-03-01 16:04:35 -05:00
reimda
4d61935dec
Fix mutex locking around ifname cache ( #8873 )
2021-02-19 11:31:25 -07:00
Paweł Żak
d9736d543f
Revive fixes - part 2 ( #8835 )
...
* Revive fixes regarding following set of rules:
[rule.if-return]
[rule.increment-decrement]
[rule.var-declaration]
[rule.package-comments]
[rule.receiver-naming]
[rule.unexported-return]
2021-02-16 18:19:50 -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
Patryk Małek
7e78a08eba
AWS EC2 metadata processor Using StreamingProcessor ( #8707 )
2021-02-04 17:02:27 -05:00
Nicolas Filotto
8ddbab47a4
Allow to provide constants to a starlark script ( #8772 )
2021-02-01 14:34:44 -05:00
Helen Weller
d41569caed
Integration test audit ( #8725 )
2021-01-26 11:06:12 -07:00
Germán Jaber
841e971ace
Fix spelling and clarify docs ( #8164 )
2020-12-23 10:43:21 -06:00
Sebastian Spaink
50265d9023
Allow globs (wildcards) in config for tags/fields in enum processor ( #8598 )
...
* Allow glob in enum processor config
* change assert to require
2020-12-18 15:41:39 -06:00
David Bennett
f7950be107
Adding support for new lines in influx line protocol fields. ( #8499 )
2020-12-04 16:47:58 -05:00
Steven Soroka
0eeab49efd
add to starlark readme
2020-12-01 14:47:50 -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
Steven Soroka
42eacb3a42
add log warning to starlark drop-fields example
2020-11-27 12:20:21 -05:00
Sven Rebhan
0ce55bbd4a
Starlark example dropbytype ( #8438 )
2020-11-27 11:28:12 -05:00
Paweł Żak
0fcfee0caf
Fix tests for Windows - part 1 ( #8414 )
2020-11-23 10:40:32 -05:00
Nicolas Filotto
bbd4e80409
Show how to return a custom error with the Starlark processor ( #8439 )
2020-11-20 11:28:56 -05:00
Nicolas Filotto
ee861fdeed
Show how to return several metrics with the Starlark processor ( #8423 )
2020-11-17 16:13:25 -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
a-bali
87fcea5e9b
Add support for fields and protocol lookups in port_name. ( #8157 )
2020-10-19 10:49:48 -04:00
Steven Soroka
cfce605bed
add converter test
2020-10-09 16:10:57 -04:00
Steven Soroka
4fa620fd6e
Add note about json processing to docs
2020-09-30 16:20:50 -04:00
Steven Soroka
a475d765fb
add json parsing support to starlark ( #8168 )
2020-09-29 17:37:54 -04:00
Steven Soroka
b4fb1adc6f
fix panic on streaming processers using logging ( #8176 )
2020-09-28 11:58:23 -04:00
Steven Soroka
689b463998
Starlark readme url fix
2020-09-22 11:38:45 -04:00
Steven Soroka
5a09735020
minor docs cleanup
2020-09-18 15:06:58 -04:00
M0rdecay
39f4c365b0
Increasing the metric buffer ( #8145 )
2020-09-18 13:50:22 -04:00