Sven Rebhan
b2967cb515
chore: Update go to v1.23.0 ( #15766 )
...
Co-authored-by: Pawel Zak <pawel.zak.pawel@gmail.com>
2024-08-30 14:23:51 -05:00
Joshua Powers
7037429e6a
test(lint): Enable mirror ( #15510 )
2024-06-17 16:21:30 +02:00
Dane Strandboge
612b5ad8b1
chore: Fix errcheck CI warnings outside of plugins directory ( #15390 )
2024-06-04 10:33:37 +02:00
Joshua Powers
b19389533c
test(internal): Try multiple timezone abbrevations ( #14854 )
2024-02-20 14:36:38 -06:00
Dane Strandboge
a7f0b06bfe
chore: fix timezone test case failure on macOS ( #14693 )
2024-02-06 16:57:09 -05:00
Paweł Żak
7c5b3ea068
chore(linters): Fix findings found by testifylint: compares ( #14177 )
2023-10-24 15:02:26 -06:00
Joshua Powers
57eecb31e4
test: Fix capturing the timestamp warning ( #13426 )
2023-06-13 14:15:49 +02:00
Sven Rebhan
97d10a5ee9
fix(internal): Fix time parsing for abbreviated timezones ( #13363 )
2023-06-02 10:05:55 -06:00
Sven Rebhan
bea5414384
feat(parsers.xpath): Add timezone handling ( #12820 )
2023-03-13 12:17:14 +01:00
Paweł Żak
5c234d8749
chore: Bump golangci-lint from v1.51.0 to v1.51.2 ( #12782 )
...
Co-authored-by: Pawel Zak <Pawel Zak>
2023-03-03 10:06:54 +01:00
Thomas Casteleyn
6a2f6f301f
chore: eliminate unnecessary use of quoted strings in printf ( #12722 )
2023-02-23 06:49:36 -07:00
Joshua Powers
9c79277405
chore: Update to go1.20.1 ( #12679 )
2023-02-16 10:52:36 +01:00
Joshua Powers
bf108da447
chore: Update to go1.20 ( #12593 )
2023-02-03 09:47:02 +01:00
Sven Rebhan
e6de0cc9c2
chore(internal.gzip): cleanup CompressWithGzip ( #12587 )
2023-02-01 11:20:11 -07:00
Paweł Żak
08c1ce9cb6
chore: Resolve linter issues for ineffassign, nilerr, gosimple... ( #11966 )
2022-10-12 13:08:03 -06:00
Sven Rebhan
758f2cba7a
fix(parser.xpath): Handle floating-point times correctly ( #11875 )
2022-10-03 08:32:52 -06:00
Povilas Versockas
447e8a385e
fix: refactor telegraf version ( #11656 )
2022-08-17 13:08:31 -06:00
Joshua Powers
6b51697ef0
fix: set location for timezone on failing time tests ( #9877 )
...
Resolves : #9874
2021-10-07 10:19:53 -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
Jess Ingrassellino
ad6d25aebc
Addresses issues in PR 4928 ( #9087 )
2021-06-01 17:05:49 -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
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
Helen Weller
d41569caed
Integration test audit ( #8725 )
2021-01-26 11:06:12 -07:00
Stephen Solka
6580c6a597
prefer testify error funcs over nil checks ( #7857 )
2020-07-20 10:34:46 -04:00
Steven Soroka
2561aac6ef
fix go version check ( #7562 )
2020-05-26 16:11:02 -04:00
Daniel Nelson
a4eb9c2205
Use the product token for the user agent in more locations ( #7378 )
2020-04-21 10:02:18 -07:00
陈方舟
fa2f0fff4e
Fix influxdb output serialization on connection closed ( #6621 )
2019-11-13 12:56:01 -08:00
Daniel Nelson
6dc61be6eb
Fix detection of layout timestamps ( #6390 )
2019-09-16 16:32:14 -07:00
Greg
10671d2641
Stop timer when command exits in WaitTimeout ( #6296 )
2019-08-21 11:13:38 -07:00
Daniel Nelson
4e3244c575
Fix aggregator window and shutdown of multiple aggregators ( #5644 )
2019-03-29 15:40:33 -07:00
Douglas Drinka
1886676e14
Support configuring a default timezone in JSON parser ( #5472 )
2019-02-25 11:30:33 -08:00
Daniel Nelson
6e5c2f8bb6
Remove outputs blocking inputs when output is slow ( #4938 )
2018-11-05 13:34:28 -08:00
Samuel-BF
589d0587f6
Add ability to specify bytes options as strings with units (KB, MiB, ...) ( #4852 )
2018-10-19 11:17:18 -07:00
Kevin Conaway
7bb219222a
Add internal function for telegraf version ( #4828 )
2018-10-09 13:45:07 -07:00
Mihai Todor
f3da717a88
Add entity-body compression to http output ( #4807 )
2018-10-05 15:06:41 -07:00
Paul Myjavec
12d62e60b3
Use CircleCI 2.0 for builds ( #3731 )
2018-02-01 15:05:39 -08:00
Daniel Nelson
d0b690f040
Fix short tests on darwin ( #3099 )
2017-09-08 13:03:37 -07:00
Cameron Sparr
0ecbf9e349
Fix single quote parsing of TOML durations
...
closes #2023
2016-11-10 09:47:46 +00:00
Cameron Sparr
f729fa990d
Unit testing for internal.Duration Unmarshal
...
closes #1926
2016-10-25 13:11:32 +01:00
Cameron Sparr
2fe427b3b3
mongodb input: fix version 2.2 panic
...
closes #1628
2016-09-06 11:58:06 +01:00
Cameron Sparr
cb3c54a1ae
logparser input plugin
...
closes #102
closes #328
2016-06-21 14:23:01 +01:00
Cameron Sparr
892abec025
Refactor collection_jitter and flush_jitter
...
use a common function between collection_jitter and flush_jitter. which
creates the same behavior between the two options.
going forward, both jitters will be random sleeps that get re-evaluated
at runtime for every interval (previously only collection_jitter did
this)
also fixes behavior so that both jitters will exit in the event of a
process exit.
closes #1296
2016-05-31 14:24:32 +01:00
Cameron Sparr
9bbdb2d562
Allow wildcard filtering of varnish stats
...
closes #1275
2016-05-26 10:42:34 +01:00
Cameron Sparr
3f807a9432
Implement timeouts for all exec command runners
...
First is to write an internal CombinedOutput and Run function with a
timeout.
Second, the following instances of command runners need to have timeouts:
plugins/inputs/ping/ping.go
125: out, err := c.CombinedOutput()
plugins/inputs/exec/exec.go
91: if err := cmd.Run(); err != nil {
plugins/inputs/ipmi_sensor/command.go
31: err := cmd.Run()
plugins/inputs/sysstat/sysstat.go
194: out, err := cmd.CombinedOutput()
plugins/inputs/leofs/leofs.go
185: defer cmd.Wait()
plugins/inputs/sysstat/sysstat.go
282: if err := cmd.Wait(); err != nil {
closes #1067
2016-04-29 12:06:22 -06:00
Cameron Sparr
81d0a64d46
Adds support for removing/keeping tags from metrics
...
closes #706
2016-04-16 15:13:38 -06:00
Cameron Sparr
21ece2d76d
Convert ipmi stats/tags to underscore and lowercase
...
closes #888
2016-03-29 11:39:57 -06:00
Cameron Sparr
03e66d5b87
Implement Glob matching for pass/drop filters
2015-12-07 16:58:31 -07:00