Commit Graph

100 Commits

Author SHA1 Message Date
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
Paweł Żak 77390b6495
fix: linter fixes for "import-shadowing: The name '...' shadows an import name" (#10689) 2022-02-22 08:11:30 -07:00
Sven Rebhan 5479df2eb5
feat: collection offset implementation (#10545) 2022-02-15 10:39:12 -07:00
Sven Rebhan 193dc450c3
feat: Parser plugin restructuring (#8791) 2022-01-12 15:54:42 -07:00
Thomas Casteleyn 9f7e8befae
feat: Improve error logging on plugin initialization (#10307) 2021-12-21 08:59:47 -07:00
Joshua Powers 70afc94d12
fix: Revert "Reset the flush interval timer when flush is requested or batch is ready. (#8953)" (#9800)
This reverts commit a6d2c4f254.
2021-09-30 10:28:48 -06:00
Sebastian Spaink 3a7d9b6d98
fix: support 1.17 & 1.16.7 Go versions (#9642) 2021-08-23 15:37:44 -05: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
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
viperstars 71757e8039
Close running outputs when reloading (#8769) 2021-03-16 13:50:56 -06: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 a6d2c4f254
Reset the flush interval timer when flush is requested or batch is ready. (#8953)
* Reset the flush interval timer when flush is requested or batch is ready, so that timer doesn't expire while one of those flushes is occurring.

* Update tick.go
2021-03-09 14:35:18 -05: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
Steven Soroka e9d5b1fb34
fix minor agent race condition around error messages (#7999) 2020-08-18 11:27:58 -04:00
Steven Soroka 34c8abb555
fix flakey ticker test (#7997) 2020-08-17 19:02:23 -04:00
Daniel Nelson 38c01b498d
Log after interval has elapsed; skip short intervals (#7854) 2020-07-17 13:46:07 -07:00
Daniel Nelson 0bcc515879
Initialize aggregation processors (#7853) 2020-07-17 12:12:53 -07:00
Daniel Nelson 0fbe0b3968
Allow overriding the collection_jitter and precision per input (#7762) 2020-06-30 23:15:11 -07:00
Steven Soroka 9785d3c2c6 address feedback 2020-06-26 16:38:07 -04:00
Daniel Nelson c7cce961c3
Add starlark processor (#7660) 2020-06-23 14:15:14 -07:00
Daniel Nelson 347065a4a3
Fix race issue in tick_test.go (#7663) 2020-06-11 10:09:19 -07:00
Steven Soroka 741ea839d2
add support for streaming processors (#7634) 2020-06-05 10:43:43 -04:00
Daniel Nelson 4e93b87085
Add support for once mode; run processors and aggregators during test (#7474) 2020-06-01 15:26:20 -07:00
Daniel Nelson fd76c8bf21
Rework plugin tickers to prevent drift and spread write ticks (#7390) 2020-05-06 11:59:16 -07:00
Steven Soroka b73a232a6a
Support Go execd plugins with shim (#7283) 2020-05-04 14:09:10 -04:00
Steven Soroka 050ed9e61e
fix issue with closing flush signal channel (#7384) 2020-04-21 13:33:47 -04:00
Steven Soroka 819481b195
add support for SIGUSR1 to trigger flush (#7366) 2020-04-20 13:49:10 -04:00
Steven Soroka 2e32f894b6
Fix inconsistency with input error counting (#7077) 2020-02-25 10:40:29 -08:00
Daniel Nelson 7a90ddd1b8
Log no metrics found at debug level in cloudwatch input (#6665) 2019-11-15 18:52:55 -08:00
dbutler-starry 2156a6242e Add support for per output flush jitter (#6603) 2019-11-12 16:43:39 -08:00
Nick Neisen 8d52f5a4b2 Change no metric error message to debug level (#6630) 2019-11-06 17:32:56 -08:00
Daniel Nelson 2d2e793c90
Query oplog only when connected to a replica set (#6307) 2019-08-27 10:31:42 -07:00
Greg 5c8d0e3ac9 Add ability to label inputs for logging (#6207) 2019-08-21 16:49:07 -07:00
Frank Riley a079e2d569 Return error status from --test if any of the input plugins produced an error (#6279) 2019-08-16 14:44:38 -07:00
Daniel Nelson a941779ea8
Call Init before Start in test mode (#6171) 2019-07-25 17:36:46 -07:00
Daniel Nelson 0ff9c8ef88
Add call to optional Init function for all plugins (#5899) 2019-06-14 15:12:27 -07:00
Daniel Nelson de096428be
Run ServiceInputs during test mode; add --test-wait option (#5911) 2019-06-14 12:06:25 -07:00
Daniel Nelson 24391a8b5e
Remove debug print statements 2019-04-11 11:48:23 -07:00
Daniel Nelson 4e3244c575
Fix aggregator window and shutdown of multiple aggregators (#5644) 2019-03-29 15:40:33 -07:00
John Hu 5e6374c19b Fix drop tracking of aggregator drop_original metrics (#5632) 2019-03-26 18:01:50 -07:00
Daniel Nelson 99a390b8e6
Fix open error handling in file output (#5540) 2019-03-22 13:59:30 -07:00
Adrián López 33ee309fd1 Fix deadlock when Telegraf is aligning aggregators (#5612) 2019-03-20 10:36:51 -07:00
Daniel Nelson 7497a2027b
Deliver empty metric tracking group immediately (#5176) 2018-12-26 19:36:10 -08:00
Daniel Nelson c12eecc90e
Signal telegraf process until it exits (#5169) 2018-12-26 18:54:50 -08:00
Daniel Nelson cf2b85f383
Add running field to procstat_lookup (#5069) 2018-12-11 19:11:33 -08:00
Greg 91ecec71ea Only print final collection when runing --test (#4991) 2018-11-15 15:44:36 -08:00
Daniel Nelson 6e5c2f8bb6
Remove outputs blocking inputs when output is slow (#4938) 2018-11-05 13:34:28 -08:00
Daniel Nelson 7553c8fd13
Remove metric recreation when filtering (#4767) 2018-09-28 14:48:20 -07:00