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
Steven Soroka
ac809e9e5b
docs fix
2020-08-27 14:22:08 -04:00
Thomas Casteleyn
54f9e33208
Add addTag debugging in ifname plugin ( #8018 )
2020-08-26 15:25:57 -06:00
Steven Soroka
bbc2aa660d
improve the quality of starlark docs by executing them as tests ( #8020 )
2020-08-24 11:35:29 -04:00
Samantha Wang
901e63e37d
add example input/outputs to starlark examples ( #7980 )
...
* add sample input/outputs to starlark examples
* update ratio.star with example input/outputs
* Update rename.star
* update scale.star with input/output examples
* fix spacing
* fix spacing
2020-08-19 19:26:35 -04:00
Sam Dillard
6c4636b860
add pivot example for starlark processor ( #7976 )
2020-08-12 11:08:55 -04:00
Steven Soroka
4d11d76bb1
cleanup cloudwatch plugin ( #7928 )
2020-08-07 10:12:14 -04:00
Samantha Wang
6e5c72f743
Fix defaults processor readme typos ( #7873 )
2020-07-22 10:18:38 -07:00
Samantha Wang
903a065a0d
Add logic starlark example ( #7864 )
2020-07-20 19:45:25 -07:00
Steven Soroka
de313fcde6
clarify docs and add warning if execd is misconfigured ( #7866 )
2020-07-20 22:38:00 -04:00
reimda
ef262b1372
ifname: avoid unpredictable conditions in getMap test ( #7848 )
2020-07-17 15:26:10 -06:00
reimda
9b58590df3
ifname processor: expire old cached entries ( #7838 )
2020-07-16 09:12:30 -06:00
pierwill
f9b4138758
Edit Starlark README ( #7832 )
2020-07-14 16:05:22 -07:00
Daniel Nelson
413398d1a1
Add minimum version for new plugins ( #7810 )
2020-07-09 11:29:12 -07:00
reimda
6f9c623986
Add ifname processor plugin ( #7763 )
2020-07-07 15:37:53 -06:00
Steven Soroka
c3cab94d5d
Fix flakey processors.execd test
2020-07-03 13:21:28 -04:00
Steven Soroka
df26b037cb
Shim refactor to support processors and output
2020-07-02 18:55:14 -04:00
Steven Soroka
9190f2e659
reverse dns lookup processor ( #7639 )
2020-06-26 18:40:05 -04:00
Steven Soroka
5c8666d1af
clean up tests
2020-06-26 17:29:39 -04:00
Steven Soroka
9785d3c2c6
address feedback
2020-06-26 16:38:07 -04:00
Steven Soroka
31754635a3
fix after rebase
2020-06-24 13:06:05 -04:00
Steven Soroka
8ddb8f9f26
remove processors/execd/examples/count.go
2020-06-24 13:01:46 -04:00
Steven Soroka
36e584e92f
execd processor
2020-06-24 13:01:46 -04:00
Daniel Nelson
c7cce961c3
Add starlark processor ( #7660 )
2020-06-23 14:15:14 -07:00
Nicolas Filotto
59e2bdde66
Fix processor initialization ( #7693 )
2020-06-16 09:16:27 -07:00
Steven Soroka
741ea839d2
add support for streaming processors ( #7634 )
2020-06-05 10:43:43 -04:00
reimda
71b0b96241
Add processor to look up service name by port ( #7540 )
2020-05-27 15:42:59 -06:00
Anton Aksola
ad97b744a3
Fix numeric to bool conversion in converter ( #7579 )
...
A type switch case with multiple conditions causes the value to remain as
interface which causes toBool to always return true for any numeric values.
2020-05-26 12:07:24 -07:00
Jeff Registre
a7674b707b
Add defaults processor to set default field values ( #7370 )
2020-05-22 11:44:13 -07:00
Josh Soref
2c56d6de81
Fix spelling errors in comments and documentation ( #7492 )
2020-05-14 00:41:58 -07:00
reimda
934f6af99f
Handle multiple metrics with the same timestamp in dedup processor ( #7439 )
2020-05-12 12:56:35 -07:00
Harshit Bansal
568cb8e64c
Add integer support to enum processor ( #7483 )
2020-05-11 11:36:21 -07:00
Rich Y
f076b6c115
Add field creation to date processor and integer unix time support ( #7464 )
2020-05-07 17:19:03 -07:00
Andrés Álvarez
b1ae81bb75
Add filepath processor plugin ( #7418 )
2020-05-01 11:21:41 -07:00
Daniel Nelson
3dab845040
Fix Name field in template processor ( #7258 )
2020-04-13 10:57:48 -07:00
Daniel Nelson
f11a2f80c4
Fix s2geo import
2020-03-18 13:04:42 -07:00
Daniel Nelson
35ef2559d3
Fix s2geo documentation and code to reflect current plugin name
2020-03-18 12:28:02 -07:00
Daniel Nelson
56a7ff574c
Adjust dedup processor description
2020-03-17 18:46:52 -07:00
Daniel Nelson
78fb879aa7
Update readme and changelog
2020-03-17 18:39:08 -07:00
igomura
0038205266
Add dedup processor ( #6792 )
2020-03-17 15:53:03 -07:00
Daniel Nelson
fe4ff3a3be
Move s2_geo processor to directory with same name
2020-03-10 15:46:46 -07:00
alespour
c5234b365a
Add s2_geo processor plugin ( #7087 )
2020-03-10 15:39:06 -07:00
Daniel Nelson
ca65d52c9a
Add support for converting tag or field to measurement in converter processor ( #7049 )
2020-03-09 14:08:38 -07:00
Daniel Nelson
5f2f2ff33d
Update readme and changelog for template processor
2020-02-06 13:34:36 -08:00
RobMalvern
15d0166922
Add template processor ( #6494 )
2020-02-06 12:40:03 -08:00
Manthan Sharma
ae22db4b81
Add support for titlecase transformation to strings processor ( #6982 )
2020-02-04 17:32:41 -08:00
Daniel Nelson
e8c4efb572
Add date offset and timezone options to date processor ( #6886 )
2020-01-14 15:16:27 -08:00
Thomas Mohaupt
5b92477603
Fix error in pivot processor docs ( #6856 )
2020-01-06 15:54:49 -08:00
Daniel Nelson
cdb00d6fe7
Add base64decode operation to string processor ( #6740 )
2019-12-03 11:48:02 -08:00
Adrián López
acfdc5576c
Add clone processor to all.go ( #6697 )
2019-11-21 10:36:48 -08:00
Adrián López
89c4c1d024
Add clone processor ( #6529 )
2019-10-21 11:59:32 -07:00
Richard Wise
da17d6569d
Clarify behaviour of enum processor without default or defined mapping ( #6301 )
2019-10-07 18:08:35 -07:00
memory
46b9000ef6
Add tag_limit processor ( #6086 )
2019-08-19 20:54:40 -07:00
Russ Savage
ef4f4eed3a
Add left function to string processor ( #6189 )
2019-07-31 16:55:25 -07:00
Daniel Nelson
9fc8976c66
Correct error message when converting to a float
2019-07-23 17:00:08 -07:00
Greg
bdb4598b3f
Add support for field/tag keys to strings processor ( #6129 )
2019-07-19 13:16:54 -07:00
Daniel Nelson
1ea7863b9b
Add pivot and unpivot processors ( #5991 )
2019-06-14 15:26:56 -07:00
Adrián López
d3af8fd873
Allow regexp processor to mix different tags ( #5863 )
2019-06-14 15:23:54 -07:00
Daniel Nelson
a276ddfe97
Tidy date processor
2019-06-14 12:26:47 -07:00
Anaisdg
3e5cfad2b0
Add Date Processor Plugin ( #5895 )
2019-06-14 12:08:10 -07:00
Daniel Nelson
58e6eb6f07
Clarify replacement string behavior in regex processor
2019-06-13 13:34:12 -07:00
Greg
10fd5b35f0
Support tags in enum processor ( #5855 )
2019-05-16 15:59:19 -07:00
Dimitri Saingre
88e0cb16e1
Add hexadecimal string to integer conversion to converter processor ( #5569 )
2019-03-11 15:36:38 -07:00
Daniel Nelson
c0e0da7ef6
Fix conversion from string float to integer ( #5518 )
2019-03-04 12:35:57 -08:00
Greg
3c4e737f6b
Add example to topk readme. Fix defaults to skip loop ( #5220 )
2019-01-03 12:06:56 -08:00
Daniel Nelson
3fbfe3acd2
Fix usage of loop variable in function closure ( #5195 )
2018-12-27 13:08:19 -08:00
Ruud Bijnen
98231f8b6b
Fix converter processor example ( #5146 )
2018-12-14 10:56:21 -08:00
Greg
83bc3d1277
Improve docs to clarify common issues ( #5054 )
2018-12-10 16:14:20 -08:00
Daniel Nelson
6e5c2f8bb6
Remove outputs blocking inputs when output is slow ( #4938 )
2018-11-05 13:34:28 -08:00
Trevor Pounds
ee056278f5
Enable gofmt code simplification ( #4887 )
2018-10-19 13:32:54 -07:00
Trevor Pounds
17360f079c
Fix spelling mistakes ( #4888 )
2018-10-19 11:12:01 -07:00
Bo Zhao
8cbd39501b
Add replace function to strings processor ( #4686 )
2018-09-26 19:30:02 -07:00
Daniel Nelson
eff7f0f083
Use operation subtables in enum and rename processors ( #4672 )
2018-09-11 16:03:47 -07:00
Daniel Nelson
433454aa3c
Fix go fmt issue
2018-09-05 15:15:54 -07:00
bsmaldon
d6467e966f
Add strings processor ( #4476 )
2018-09-05 15:13:29 -07:00
Daniel Nelson
36959abce9
Fix toml error in converter processor README
2018-08-23 13:11:39 -07:00
Daniel Nelson
a8496f87b2
Fix example input and output in parser processor docs
2018-08-22 18:38:07 -07:00
Ayrdrie
9f8de25e0e
Add parser processor ( #4551 )
2018-08-22 16:28:50 -07:00
Harry Schmidt
7ca7f22e50
Add rename processor ( #4528 )
2018-08-13 17:38:46 -06:00
Daniel Nelson
411b26bb1f
Fix output format of printer processor ( #4417 )
2018-07-13 14:14:18 -07:00
Alexander Shepelin
35d2f90d6c
Don't set values when pattern doesn't match in regex processor ( #4396 )
2018-07-06 16:13:46 -07:00
Daniel Nelson
bf076dab73
Adjust enum readme and sample config style
2018-07-03 16:10:55 -07:00
Karsten Schnitter
515ff03364
Add Enum Processor ( #3772 )
2018-07-03 15:32:52 -07:00
Daniel Nelson
36df4c5ae5
Fix grammar in converter processor documentation
2018-06-12 16:12:08 -07:00
Daniel Nelson
f64d612294
Reword converter description
2018-06-11 14:43:28 -07:00
Daniel Nelson
7f93911f43
Add converter processor ( #4178 )
2018-05-23 14:29:57 -07:00
Alexander Shepelin
ccc4a85fd6
Add regex processor plugin ( #3839 )
2018-05-21 15:46:10 -07:00
Germán Jaber
ac9b308cee
Add topk processor plugin ( #4096 )
2018-05-04 18:40:05 -07:00
Daniel Nelson
1c0f63a90d
Add new line protocol parser and serializer, influxdb output ( #3924 )
2018-03-27 17:30:51 -07:00
Daniel Nelson
2b65915b96
Update docs for addition of override processor
2018-03-07 13:47:54 -08:00
Karsten Schnitter
9d8b1b1e87
Add override processor ( #3773 )
...
This plugin can perform the standard metric modifications using override semantics.
2018-03-07 13:27:43 -08:00
Cameron Sparr
1c7715780e
Documentation improvements
...
- fully document aggregator and processor plugins
- improve readme.md
closes #1989
2016-11-08 13:55:37 +00:00
Cameron Sparr
ef885eda62
Change minmax aggregator to store float64
2016-10-12 14:50:19 +01:00
Cameron Sparr
64a71263a1
Support Processor & Aggregator Plugins
...
closes #1726
2016-10-12 14:50:19 +01:00