Paweł Żak
942d2b3f6f
chore: Fix linter findings for `revive:exported` in `plugins/inputs/l*` ( #16167 )
2024-11-12 11:26:23 -06:00
Paweł Żak
ae7fbc5082
chore(linters): Replace 'fmt.Errorf' with 'errors.New' wherever possible ( #14698 )
2024-02-08 11:32:30 -06:00
Paweł Żak
5b2346dfa0
chore: Fix linter findings for errorlint (part5) ( #12731 )
...
Co-authored-by: Pawel Zak <Pawel Zak>
2023-03-01 22:18:35 +01:00
Paweł Żak
17c77df228
chore: Bump golangci-lint from v1.50.1 to v1.51.0 ( #12605 )
...
Co-authored-by: Pawel Zak <Pawel Zak>
2023-02-03 10:27:47 +01:00
Paweł Żak
00347033ab
chore: Fix linter findings for nolintlint (part2) ( #12430 )
...
Co-authored-by: Pawel Zak <Pawel Zak>
2023-01-26 11:27:32 +01:00
Sebastian Spaink
d67f75e557
docs: Remove warning not to remove go:embed ( #11797 )
...
Co-authored-by: Joshua Powers <powersj@fastmail.com>
2022-09-13 12:47:58 -05:00
Joshua Powers
8c49ddccc3
chore: update to go1.19.1 ( #11776 )
2022-09-08 12:49:36 -06:00
Joshua Powers
2fc19fa308
chore: correctly spell embed ( #11200 )
2022-05-27 07:13:47 -06:00
Sven Rebhan
56eb914998
chore: Embed sample configurations into README for inputs ( #11136 )
2022-05-24 08:49:47 -05:00
Sebastian Spaink
8e2b4988fe
feat: migrate input plugins to new sample config format (A-L) ( #10924 )
2022-04-07 16:01:21 -06:00
Sven Rebhan
8e7da355b3
Linter fixes (unhandled errors) -- Part 1 ( #8992 )
2021-04-08 11:43:39 -05:00
Yosuke Hara
b8d5df2076
Add support for LeoFS v1.4 to leofs input ( #4044 )
2018-04-24 14:14:31 -07:00
Windkit Li
2f8d0f4d47
Fix snmpwalk address format in leofs input ( #3328 )
2017-10-12 17:26:14 -07:00
Daniel Nelson
b277e6e2d7
Fix support for mongodb/leofs urls without scheme ( #2900 )
...
This was broken by changes in go 1.8 to url.Parse. This change allows
the string but prompts the user to move to the correct url string.
2017-06-08 16:52:01 -07:00
Patrick Hemmer
06baf7cf78
use AddError everywhere ( #2372 )
2017-04-24 11:13:26 -07: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
8d2e5f0bda
Seems to be a toml parse bug around triple pounds
2016-02-18 14:36:03 -07:00
Cameron Sparr
fc7fa4b6c5
Cleanup comments and indentation in config file
2016-02-09 11:01:50 -07:00
Cameron Sparr
9c0d14bb60
Create public models for telegraf metrics, accumlator, plugins
...
This will basically make the root directory a place for storing the
major telegraf interfaces, which will make telegraf's godoc looks quite
a bit nicer. And make it easier for contributors to lookup the few data
types that they actually care about.
closes #564
2016-01-27 15:42:50 -07:00
Jack Zampolin
0cdf1b07e9
Fix issue 524
2016-01-20 10:57:35 -08:00
Cameron Sparr
9c5db1057d
renaming plugins -> inputs
2016-01-07 15:04:30 -07:00