Paweł Żak
97f47c11dd
chore(linters): Fix findings found by testifylint: empty ( #14179 )
2023-10-25 15:09:13 -06:00
Paweł Żak
9608d118bd
chore: Don't use all default exclude patterns for golangci-lint ( #12969 )
...
Co-authored-by: Pawel Zak <Pawel Zak>
2023-03-29 09:50:00 +02:00
Paweł Żak
39d6b1d5cb
chore: Fix linter findings for errorlint (part3) ( #12704 )
...
Co-authored-by: Pawel Zak <Pawel Zak>
2023-02-22 13:38:16 +01:00
Thomas Casteleyn
61523bd4b9
feat(tools/readme_linter): Check for global configuration section ( #12426 )
2023-01-12 16:55:21 +01:00
Paweł Żak
74703d092b
chore: Fix linter findings for prealloc (part2) ( #12242 )
2022-11-15 09:31:51 +01:00
Joshua Powers
49ac03fa80
docs: add global configuration header ( #12107 )
2022-10-26 14:58:36 -05: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
d9a6d8b774
chore: embed sample configurations into README for outputs ( #11182 )
2022-05-25 08:48:59 -06:00
Sebastian Spaink
256caede89
chore(outputs): migrate sample configs into separate files ( #11131 )
2022-05-18 11:30:06 -05:00
reimda
6ba3b1e91e
chore: Fix readme linter errors for output plugins ( #10951 )
2022-04-21 09:45:47 -06:00
Sebastian Spaink
a7df6c6aa6
feat: migrate output plugins to new sample config format ( #10910 )
2022-04-07 15:55:03 -06:00
Paweł Żak
64bc0ae9c0
fix: Linter fixes for plugins/outputs/[p-z]* ( #10139 )
...
Co-authored-by: Pawel Zak <Pawel Zak>
2021-11-24 12:33:45 -07:00
Joshua Powers
0d8d118319
chore: clean up all markdown lint errors in output plugins ( #10159 )
2021-11-24 11:47:33 -07: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
099ccda3f9
Linter fixes - gosimple ( #9046 )
2021-03-25 13:57:01 -04:00
Paweł Żak
8a6907a186
Revive fixes - part 3 ( #8872 )
...
* * Revive fixes regarding following set of rules: [rule.var-naming]
2021-03-01 16:04:35 -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
Daniel Nelson
6b67fedfdc
Remove timing sensitive riemann test
2017-10-13 11:30:30 -07:00
Daniel Nelson
9e036b2d65
Remove wait loop in riemann tests
...
This testcase still has a race condition but I believe it is when the
test does not complete quickly enough.
2017-03-28 13:05:10 -07:00
Daniel Nelson
78c7f4e4af
Add write timeout to Riemann output ( #2576 )
2017-03-27 15:49:45 -07:00
Cameron Sparr
6f2eeae498
Remove sleep from riemann test
2017-02-28 12:46:27 +00:00
Cameron Sparr
1d864ebd40
Fix riemann output unit tests
2017-01-27 15:08:21 -08:00
Fabio Berchtold
3fa37a9212
Rewriting Riemann output plugin ( #1900 )
...
* rename to riemann_legacy
Signed-off-by: Fabio Berchtold <fabio.berchtold@swisscom.com>
* initial draft for Riemann output plugin rewrite
Signed-off-by: Fabio Berchtold <fabio.berchtold@swisscom.com>
* add unit tests
Signed-off-by: Fabio Berchtold <fabio.berchtold@swisscom.com>
* add option to send string metrics as states
Signed-off-by: Fabio Berchtold <fabio.berchtold@swisscom.com>
* add integration tests
Signed-off-by: Fabio Berchtold <fabio.berchtold@swisscom.com>
* add plugin README.md
Signed-off-by: Fabio Berchtold <fabio.berchtold@swisscom.com>
* bump riemann library
* clarify settings description
Signed-off-by: Fabio Berchtold <fabio.berchtold@swisscom.com>
* update Readme.md with updated description
Signed-off-by: Fabio Berchtold <fabio.berchtold@swisscom.com>
* add Riemann event examples
Signed-off-by: Fabio Berchtold <fabio.berchtold@swisscom.com>
* use full URL for Riemann server address
Signed-off-by: Fabio Berchtold <fabio.berchtold@swisscom.com>
closes #1878
2017-01-27 14:54:59 -08:00
Cameron Sparr
1ff721ad84
Add riemann output plugin deprecation message
2016-10-11 12:28:20 +01:00
Eugene Chupriyanov
c737a19d9f
Just close Riemann client on send metrics failure
...
Signed-off-by: Eugene Chupriyanov <e.chupriyanov@cpm.ru>
closes #1013
2016-04-18 17:25:36 -06:00
Eugene Chupriyanov
708a97d773
Try to reconnect to Riemann if metrics upload failed.
...
Signed-off-by: Eugene Chupriyanov <tchu@tchu.ru>
Error checks added
Don't Close() nil client
Signed-off-by: Eugene Chupriyanov <e.chupriyanov@cpm.ru>
2016-04-18 17:25:19 -06:00
Cameron Sparr
8d2e5f0bda
Seems to be a toml parse bug around triple pounds
2016-02-18 14:36:03 -07:00
Dhruv Bansal
893357f01e
Updated Riemann output:
...
* Customizable 'separator' option instead of hard-coded '_'
* String values are sent as "State" instead of "Metric", preventing
Riemann from rejecting them
* Riemann service name is set to an (ugly) combination of input name &
(sorted) tags' values...this allows connecting different events for
the same input together on the Riemann side
closes #642
2016-02-09 11:17:07 -07:00
Cameron Sparr
bd9c5b6995
mqtt output: cleanup, implement TLS
...
Also normalize TLS config across all output plugins and normalize
comment strings as well.
2016-02-04 10:44:37 -07:00
Cameron Sparr
c549ab907a
Throughout telegraf, use telegraf.Metric rather than client.Point
...
closes #599
2016-01-27 23:47:32 -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