Commit Graph

365 Commits

Author SHA1 Message Date
Paweł Żak 30b603626c
chore: Enable G404 rule for gosec (#13095) 2023-05-02 06:31:50 -06:00
Paweł Żak ba16eeb495
chore: Enable G110 rule for gosec (#13044)
Co-authored-by: Pawel Zak <Pawel Zak>
2023-04-14 17:14:55 +02:00
Paweł Żak 89fa07fc5e
chore: Enable G301, G302 and G306 rules for gosec (#13022) 2023-04-04 08:51:08 -06:00
abhi-jha e4cf2904ca
docs: Fix various typos in comments (#12888) 2023-03-21 16:27:38 +01: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
Joshua Powers 3f3885a2b0
fix(agent): Only rotate log on SIGHUP if needed (#12740) 2023-03-01 07:30:37 -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 f7949ca68a
chore: Fix linter findings for errorlint (part1) (#12701)
Co-authored-by: Pawel Zak <Pawel Zak>
2023-02-22 12:57:53 +01:00
Joshua Powers 9c79277405
chore: Update to go1.20.1 (#12679) 2023-02-16 10:52:36 +01:00
Paweł Żak 257083dba8
chore: bump go to 1.20 for golangci-lint-action (#12614) 2023-02-03 14:35:29 -07: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 d9d9cd4c0b
chore: fix linter findings for nolintlint part 1 (#12427) 2023-01-25 13:28:13 -07:00
Joshua Powers 42640b1def
test(parsers.json): add fuzz test (#12368) 2022-12-13 06:41:08 -07:00
Sven Rebhan db7cb4ec25
chore: Move host-endianness definition to `internal` (#12360) 2022-12-08 22:04:57 +01:00
Paweł Żak e84df8983a
chore: Fix linter findings for errname (#12253) 2022-11-21 21:11: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 9d9eb403a6
chore: Review of //nolint comments (#12088) 2022-10-26 12:06:08 +02:00
Paweł Żak 5878278fca
chore: resolve linter issues for unhandled-error (#11969) 2022-10-12 14:23:53 -06:00
Paweł Żak 85b7590ff9
chore: resolve linter issues for confusing-naming and confusing-results (#11956) 2022-10-12 13:19:47 -06: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
Sebastian Spaink d982ed9a45
feat(inputs.amqp_consumer): Determine content encoding automatically (#11860) 2022-09-26 21:28:32 +02:00
Sebastian Spaink 4913392b85
chore: Remove deprecated build tags (#11867) 2022-09-22 13:25:31 -05:00
Sven Rebhan 8e23402305
chore: remove deprecated io/ioutils (#11678) 2022-09-20 09:37:14 -06:00
Joshua Powers 8c49ddccc3
chore: update to go1.19.1 (#11776) 2022-09-08 12:49:36 -06:00
Sebastian Spaink a57434eb4e
feat: Migrate to urfave/cli (#11700) 2022-08-24 21:46:58 -05:00
Sven Rebhan f1ce84f02d
feat: tool to build custom Telegraf builds (#11524) 2022-08-19 13:38:03 -06:00
Povilas Versockas 447e8a385e
fix: refactor telegraf version (#11656) 2022-08-17 13:08:31 -06:00
Mya 1a47277298
fix(inputs.snmp): snmp UseUnconnectedUDPSocket when using udp (#10331) 2022-07-08 13:40:32 -06:00
Sebastian Spaink 412be64088
feat: Make the command "config" a subcommand (#11282)
* feat: make the command "config" a subcommand

* fix: backwards compatible
support telegraf *filters* config
2022-06-15 21:28:18 +02:00
reimda 0dd99b2157
fix(inputs/snmp): switch new Reconnect method to be a value receiver (#11197) 2022-05-27 15:03:46 -06:00
Thomas Casteleyn 885444ab3e
fix(inputs/snmp): Reconnect TCP agents if needed (#11163) 2022-05-25 12:47:51 -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
Eng Zer Jun c3d176029d
test: use `T.TempDir` to create temporary test directory (#10988) 2022-04-18 13:27:59 -06:00
Joshua Powers 5506f528e5
chore: remove slow process test (#10856) 2022-03-24 11:56:32 -06:00
Joshua Powers 36d0b0ff7a
chore: update slow file rotation tests (#10857) 2022-03-24 11:56:25 -06:00
William Wilson 5992fc47ac
tests: remove redundant newlines that go 1.18 treats as errors (#10847) 2022-03-21 09:11:25 -07:00
reimda 77040ef4e9
fix: Add option to select translator (#10802) 2022-03-17 21:43:46 -06:00
reimda 35d69de1fc
fix(inputs.snmp): use the correct path when evaluating symlink (#10748) 2022-03-11 08:29:16 -07:00
reimda 79aa7f4ecf
fix: log err when loading mibs (#10735) 2022-02-28 11:37:08 -07: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
Mya d18ff3407d
fix: ensure folders do not get loaded more than once (#10551) 2022-02-16 12:25:20 -07:00
R290 48682ff5f9
feat: Add autorestart and restartdelay flags to Windows service (#10559) 2022-02-03 09:23:52 -07:00
Mya 84c1efbef1
fix: collapsed fields by calling more indepth function (#10430) 2022-01-27 14:38:03 -07:00
Laurent Sesquès 457c98f4c2
fix: snmp input plugin errors if mibs folder doesn't exist (#10346) (#10354) 2022-01-11 15:17:05 -07:00
Jeremy Yang 1e04157c52
feat: add compression to Datadog Output (#9963) 2022-01-07 10:38:19 -06:00
Howie 381dc22723
chore: typos across source code comments (#10361) 2022-01-05 08:20:10 -07:00
Mya 8a9fbfda67
fix: snmp marshal error (#10322) 2021-12-22 13:41:34 -07:00