Paweł Żak
98ec91478a
chore(linters): replace 'fmt.Sprintf' with string addition ( #14699 )
2024-02-08 15:46:22 -05:00
Joshua Powers
8a50d75127
docs: Resolve table column count lint issues ( #14637 )
2024-01-29 19:25:03 +01:00
Paweł Żak
3786cf2d72
chore(linters): Enable equalFold, preferStringWriter, and stringXbytes checkers for gocritic. ( #14452 )
2023-12-15 06:25:10 -07:00
Joshua Powers
62f66fb2e5
feat(inputs.http_response): Add body form option ( #14189 )
2023-10-30 09:06:22 +01:00
Sven Rebhan
e2c4e10650
chore(secrets): Abstract secret implementation ( #13953 )
2023-09-25 14:37:04 -06:00
r3inbowari
19c4316694
chore: Update README.md ( #12989 )
2023-04-04 13:43:49 +02:00
Sven Rebhan
83b4056985
fix(secrets): Minimize secret holding time ( #13002 )
2023-04-03 07:28:41 -06:00
Paweł Żak
c76f319b84
chore: Remove `revive:unhandled-error` - `errcheck` is more flexible ( #13008 )
2023-04-03 07:19:43 -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
Sven Rebhan
dfc5cdf924
docs: indicate secret-store support in plugin READMEs ( #12592 )
2023-02-02 09:31:23 -07:00
Paweł Żak
d9d9cd4c0b
chore: fix linter findings for nolintlint part 1 ( #12427 )
2023-01-25 13:28:13 -07:00
Thomas Casteleyn
61523bd4b9
feat(tools/readme_linter): Check for global configuration section ( #12426 )
2023-01-12 16:55:21 +01:00
Sven Rebhan
63ab159481
feat(secretstores): add support for additional input plugins ( #12067 )
2023-01-09 09:17:23 -07:00
Joshua Powers
da0c186a71
feat(tls): allow setting renegotiation method ( #12302 )
2022-12-06 20:09:58 -07:00
Charlie Jonas
1a6c363cf1
feat(inputs.http_response): Add User-Agent header ( #12324 )
2022-12-05 21:52:52 +01:00
Paweł Żak
581c82a31e
chore: Wrap long lines in plugins/inputs/[e-h]* ( #12186 )
...
Co-authored-by: Pawel Zak <Pawel Zak>
2022-11-08 14:42:05 -06:00
Joshua Powers
49ac03fa80
docs: add global configuration header ( #12107 )
2022-10-26 14:58:36 -05:00
Paweł Żak
9ff5cda6e8
chore: Resolve linter issues for plugins/common package ( #11964 )
...
Co-authored-by: Pawel Zak <Pawel Zak>
2022-10-11 11:31:44 -05:00
Sebastian Spaink
4913392b85
chore: Remove deprecated build tags ( #11867 )
2022-09-22 13:25:31 -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
Sven Rebhan
9fbd275d17
chore: Markdown fixes for inputs/[a-m]* ( #11606 )
2022-08-09 18:57:31 +02:00
reimda
453e276718
chore: Fix readme linter errors for input plugins E-L ( #11214 )
2022-06-07 15:37:08 -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
6b697db11e
chore(inputs_a-l): migrate sample configs into separate files ( #11132 )
2022-05-18 11:31:52 -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
Thomas Casteleyn
a4f6b27bd5
style: Add deprecation notices to plugin options ( #10616 )
2022-03-01 15:05:53 -07:00
reimda
df6bf48f8d
feat: Implement deprecation infrastructure ( #10200 )
2021-12-01 12:38:43 -07:00
Paweł Żak
c875e45422
fix: Linter fixes for plugins/inputs/[a-o]* (leftovers) ( #10192 )
...
Co-authored-by: Pawel Zak <Pawel Zak>
2021-11-30 15:59:24 -06:00
Joshua Powers
79e479c691
fix: markdown: resolve all markdown issues with g-h ( #10172 )
2021-11-24 11:56:55 -07:00
Eng Zer Jun
6a3b27126a
refactor: move from io/ioutil to io and os package ( #9811 )
2021-09-28 15:16:32 -06:00
Sebastian Spaink
3a7d9b6d98
fix: support 1.17 & 1.16.7 Go versions ( #9642 )
2021-08-23 15:37:44 -05:00
Sven Rebhan
9853bf6c54
Get rid of deprecated internal.{Duration,Size,Number} ( #8969 )
2021-04-09 13:15:04 -04:00
Sven Rebhan
8e7da355b3
Linter fixes (unhandled errors) -- Part 1 ( #8992 )
2021-04-08 11:43:39 -05:00
Paweł Żak
099ccda3f9
Linter fixes - gosimple ( #9046 )
2021-03-25 13:57:01 -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
8a6907a186
Revive fixes - part 3 ( #8872 )
...
* * Revive fixes regarding following set of rules: [rule.var-naming]
2021-03-01 16:04:35 -05:00
Andreas Fuchs
3c9c013f4b
common/tls: Allow specifying SNI hostnames ( #7897 )
...
* tls_config: Allow specifying SNI hostnames
Add a new configration field `tls_server_name` that allows specifying
the server name that'll be sent in the ClientHello when telegraf makes
a request to TLS servers. This allows checking against load balancers
responding to specific hostnames that otherwise wouldn't resolve to
their addresses.
Add the setting to the documentation of common TLS options, as well as
to the http_response plugin.
Fixes #7598 .
* Adjust the x509_cert to allow usage of tls_server_name
This plugin has been using ServerName previously, and will have to
deal with the new setting, too: Extract the server-name choosing into
a method & add a test to ensure we choose the right value (and error
under the right circumstances). Also document that the two settings
are mutually exclusive.
* Improve documentation on what we try to accomplish in the nil return
Also get rid of the TODO, as I am fairly certain this behavior is the
correct one.
* Remove unused struct field in tests
2020-12-23 13:39:43 -06:00
Helen Weller
ef6ce2c9d9
fixed network test ( #8498 )
2020-12-04 12:08:11 -05:00
Paweł Żak
0fcfee0caf
Fix tests for Windows - part 1 ( #8414 )
2020-11-23 10:40:32 -05:00
Labesse Kévin
527a11a656
http_response: match on status code ( #8032 )
2020-10-16 11:40:17 -06:00
Steven Soroka
ac8f4c1e15
add plugin documentation
2020-10-14 12:27:16 -04:00
Vikky Omkar
a6c8f5be13
Updated http_response input plugin README.md ( #7962 )
2020-08-10 15:52:38 -04:00
Russ Savage
75e701c288
fix(readmes): adding code block annotations ( #7963 )
2020-08-10 15:50:48 -04:00
Daniel Nelson
c73ed8ca6c
Export internal/tls package for use in execd plugins ( #7697 )
2020-06-25 11:44:22 -07:00
Nicolas Filotto
59e2bdde66
Fix processor initialization ( #7693 )
2020-06-16 09:16:27 -07:00
Nicolas Filotto
bf0f674458
Add ability to collect response body as field with http_response ( #7596 )
2020-06-08 15:29:34 -07:00
Nicolas Filotto
430854f6de
Fix segmentation violation on connection failed ( #7593 )
2020-05-28 11:05:57 -07:00
Nicolas Filotto
7ef1d53551
Allow collection of HTTP Headers in http_response input ( #7405 )
2020-05-26 15:52:13 -07:00