Commit Graph

68 Commits

Author SHA1 Message Date
Sven Rebhan c46f42f797
feat: Migrate json parser to new style (#11226) 2022-06-22 09:56:51 -06:00
skillor 336ae2f110
chore: move agent config into seperate file (#11337) 2022-06-22 09:30:43 -05:00
Sebastian Spaink 478edd36c8
fix: Prevent concurrent map writes to c.UnusedFields (#11311) 2022-06-16 07:04:45 -05:00
Sven Rebhan 0d96968819
feat: Migrate xpath parser to new style (#11218) 2022-06-08 13:39:02 -06:00
Thomas Casteleyn 6dc2b99549
style: align plugin renaming (#10868) 2022-04-28 13:40:34 -06:00
Sebastian Spaink 5d6748fcb5
feat: generate the plugins sample config (#10886) 2022-04-05 17:11:09 -05:00
Joshua Powers fba9769720
fix: default value for logfile rotation interval (#10883) 2022-03-29 15:05:10 -06:00
Sven Rebhan 6f0c5afe48
fix: fix handling of imports in protocol-buffer definitions (#10798) 2022-03-23 09:28:17 -06:00
reimda d8bd44abe1
fix: change name of snmp translator setting (#10872) 2022-03-23 09:27:58 -06:00
reimda 77040ef4e9
fix: Add option to select translator (#10802) 2022-03-17 21:43:46 -06:00
Joshua Powers 8701ed173a
fix: update the precision parameter default value (#10814) 2022-03-16 07:18:27 -06:00
Sebastian Spaink b526945c64
fix(parsers.json_v2): Check if gpath exists and support optional in fields/tags (#10799) 2022-03-11 12:51:37 -07:00
Joshua Powers 40ed7fb693
feat(parsers.influx): New influx line protocol via feature flag (#10749) 2022-03-10 15:09:58 -07:00
Joshua Powers 4aa87229e6
docs: better specify agent precision is integer + unit (#10746)
Fixes: #10734
2022-03-03 08:20:02 -07:00
Thomas Casteleyn a4f6b27bd5
style: Add deprecation notices to plugin options (#10616) 2022-03-01 15:05:53 -07:00
Sven Rebhan 9387fb602d
feat: Add tag batch-processing to XPath parser (#10585) 2022-02-24 15:09:33 -07:00
Sebastian Spaink 10cc56039a
fix: Revert "fix: error msg for missing env variables in config (#10681)" (#10727) 2022-02-23 15:48:11 -06:00
Paweł Żak f3904d3e2a
fix: Linter fixes for config/config.go (#10710) 2022-02-22 18:47:04 -07:00
Sebastian Spaink 063ef6d517
fix: error msg for missing env variables in config (#10681) 2022-02-22 11:51:07 -07:00
Sven Rebhan 5479df2eb5
feat: collection offset implementation (#10545) 2022-02-15 10:39:12 -07:00
Sebastian Spaink 75946f56f1
fix(parsers.json_v2): allow optional paths and handle wrong paths correctly (#10468) 2022-02-03 15:08:09 -07:00
Sven Rebhan bf447f4488
docs: Update deprecation readme (#10529) 2022-01-27 09:59:33 -06:00
Josef Johansson eeb5d0ea3d
feat: check TLSConfig early to catch missing certificates (#10341)
Co-authored-by: Josef Johansson <josjoh@oderland.se>
2022-01-18 16:04:09 -06:00
zachmares 3574a8679b
fix: wavefront_disable_prefix_conversion case missing from missingTomlField func (#10442) 2022-01-13 15:46:18 -07:00
Sven Rebhan 193dc450c3
feat: Parser plugin restructuring (#8791) 2022-01-12 15:54:42 -07:00
Alberto Fernandez a202f68333
feat: add option to skip errors during CSV parsing (#10267) 2021-12-22 13:07:14 -07:00
Sven Rebhan d1d81b71ac
fix: Fix panic in parsers due to missing Log for all plugins using SetParserFunc. (#10288) 2021-12-16 08:20:04 -07:00
crflanigan e7e50a8883
feat: Add option to disable Wavefront prefix conversion (#10252) 2021-12-14 15:04:30 -07:00
reimda df6bf48f8d
feat: Implement deprecation infrastructure (#10200) 2021-12-01 12:38:43 -07:00
rentiansheng cd0a7cd52f
fix: input plugin statsd bug (#10116) 2021-11-23 15:05:23 -07:00
reimda 8710d2353e
fix: skip knxlistener when writing the sample config (#10131) 2021-11-18 13:56:18 -07:00
Yuji Kawamoto d2a25456d5
feat(prometheus): add ignore_timestamp option (#9740) 2021-10-05 15:11:46 -06:00
Sebastian Spaink df5c19c17e
feat (parser.json_v2): Support defining field/tag tables within an object table (#9449) 2021-10-04 13:19:06 -05:00
Eng Zer Jun 6a3b27126a
refactor: move from io/ioutil to io and os package (#9811) 2021-09-28 15:16:32 -06:00
Joshua Powers 3eebfd2f0f
feat: add Linux Volume Manager input plugin (#9771) 2021-09-21 15:51:43 -06:00
Heiko Schlittermann b9aa9839fb
feat: Add json_timestamp_layout option (#8229) 2021-09-21 09:12:44 -06:00
Sven Rebhan 25413b2b6d
XPath parser extension to allow parsing of JSON, MessagePack and Protocol-buffers (#9277) 2021-07-01 16:48:16 -04:00
Sebastian Spaink 885252d388
New JSON Parser (#9246) 2021-06-10 13:22:18 -06:00
Alexey Kuzyashin 58a90783f5
Add telegraf url env var (#8987) 2021-06-02 21:22:15 -06:00
Alexander Krantz 58479fdb05
Fix reading config files starting with http: (#9275) 2021-05-26 09:13:50 -07:00
Greg Linton df47b41668
Allow more characters in graphite tags (#9249) 2021-05-18 12:29:30 -04:00
David Bennett 1a86fd1a2d
Config Option to Enable Logging with Local Time (#9123)
* Configurable local time logging

* make timezone configurable

* Address linter feedback.

* update with example
2021-04-16 14:39:19 -04:00
Sven Rebhan 9853bf6c54
Get rid of deprecated internal.{Duration,Size,Number} (#8969) 2021-04-09 13:15:04 -04:00
Patryk Małek 2b41a1e1f4
Carbon2 serializer: sanitize metric name (#9026) 2021-04-08 10:31:31 -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
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
David Bennett c905116ade
Add 'field name' config option to customize field name when using Value parser. (#8979) 2021-03-11 21:53:32 -05:00
reimda 431d06acc0
Add XML parser using XPath queries (#8931) 2021-03-03 13:26:09 -07:00
David Bennett 956350db94
Display error message on badly formatted config string array (eg. namepass) (#8910)
* add error when expected string array is not in string array format

* add word
2021-02-26 13:58:13 -05:00
Helen Weller 71a3a3cf20
Add default retry for load config via url (#8803) 2021-02-12 11:38:40 -05:00