Dane Strandboge
19737fcb52
chore(linters): Fix remaining errcheck warnings ( #15518 )
...
Co-authored-by: Joshua Powers <powersj@fastmail.com>
2024-07-10 12:51:25 +02:00
Andreas Deininger
5f5a56ed01
docs: Fix typos ( #14376 )
2024-01-05 22:34:02 +01:00
Zeyad Kenawi
7aa3d79631
feat(outputs.file): Add compression ( #13245 )
2023-07-06 09:07:56 -06:00
Sven Rebhan
9bb2d1562d
chore(serializers): Add new-style framework and migrate influx ( #12920 )
2023-04-11 21:52:42 +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
Paweł Żak
257083dba8
chore: bump go to 1.20 for golangci-lint-action ( #12614 )
2023-02-03 14:35:29 -07:00
Thomas Casteleyn
61523bd4b9
feat(tools/readme_linter): Check for global configuration section ( #12426 )
2023-01-12 16:55:21 +01:00
Paweł Żak
6816aefcd5
chore: fix linter findings for unparam and revive.unused-parameter ( #12150 )
2022-11-08 12:04:12 -07: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
Eng Zer Jun
c3d176029d
test: use `T.TempDir` to create temporary test directory ( #10988 )
2022-04-18 13:27:59 -06:00
Sebastian Spaink
a7df6c6aa6
feat: migrate output plugins to new sample config format ( #10910 )
2022-04-07 15:55:03 -06:00
Joshua Powers
0d8d118319
chore: clean up all markdown lint errors in output plugins ( #10159 )
2021-11-24 11:47:33 -07:00
Paweł Żak
3dc5281632
fix: Linter fixes for plugins/outputs/[a-f]* ( #10124 )
2021-11-18 09:26:24 -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
Sven Rebhan
9853bf6c54
Get rid of deprecated internal.{Duration,Size,Number} ( #8969 )
2021-04-09 13:15:04 -04:00
Paweł Żak
d9736d543f
Revive fixes - part 2 ( #8835 )
...
* Revive fixes regarding following set of rules:
[rule.if-return]
[rule.increment-decrement]
[rule.var-declaration]
[rule.package-comments]
[rule.receiver-naming]
[rule.unexported-return]
2021-02-16 18:19:50 -05:00
Josh Soref
2c56d6de81
Fix spelling errors in comments and documentation ( #7492 )
2020-05-14 00:41:58 -07:00
Daniel Nelson
80c5edd48e
Add prometheus serializer and use it in prometheus output ( #6703 )
2019-11-26 15:46:31 -08:00
Daniel Nelson
6c3534a66e
Add support for remaining file rotation options ( #5944 )
2019-06-03 17:38:21 -07:00
Daniel Nelson
4197426a73
Ignore errors serializing single metrics ( #5943 )
2019-06-03 17:34:48 -07:00
Kristoffer Berdal
1c0d3a0eb9
Add file rotation based on file age to file output plugin ( #5547 )
2019-06-01 17:11:47 -07:00
Daniel Nelson
99a390b8e6
Fix open error handling in file output ( #5540 )
2019-03-22 13:59:30 -07:00
Daniel Nelson
be8b87000c
Remove test for empty metrics list from file output
2018-06-04 17:58:55 -07:00
Daniel Nelson
df1fe7a2b4
Use random name for test sockets to avoid intermittent failure
2018-06-03 20:19:39 -07:00
Daniel Nelson
f639f994b5
Ignore writer error in file output ( #4055 )
2018-04-23 15:08:04 -07:00
Daniel Nelson
1c0f63a90d
Add new line protocol parser and serializer, influxdb output ( #3924 )
2018-03-27 17:30:51 -07:00
Daniel Nelson
052e88ad5e
Fix grammar
2017-04-27 14:59:18 -07:00
Daniel Nelson
b243faa22b
Don't close stdout on config reload. ( #2707 )
...
fixes #2528
2017-04-24 16:18:58 -07:00
Carlos
e17164d3f0
Added default config to file output pugin's README ( #2426 )
2017-02-20 11:50:39 +01:00
Cameron Sparr
504f4e69db
file output plugin fixup
2016-12-02 11:36:22 +00:00
Cameron Sparr
db7a4b24b6
Implement telegraf's own full metric type
...
main reasons behind this:
- make adding/removing tags cheap
- make adding/removing fields cheap
- make parsing cheaper
- make parse -> decorate -> write out bytes metric flow much faster
Refactor serializer to use byte buffer
2016-12-01 18:17:02 +00:00
Cameron Sparr
e436b2d720
Cleanup & standardize config file
...
changes:
- -sample-config will now comment out all but a few default plugins.
- config file parse errors will output path to bad conf file.
- cleanup 80-char line-length and some other style issues.
- default package conf file will now have all plugins, but commented
out.
closes #199
closes #944
2016-04-01 10:59:53 -06:00
Cameron Sparr
f9b5767dae
Provide default args: percpu=true and totalcpu=true for cpu plugin
...
Also if outputs.file is empty, write to stdout
closes #720
2016-02-19 11:56:33 -07:00
Cameron Sparr
8d2e5f0bda
Seems to be a toml parse bug around triple pounds
2016-02-18 14:36:03 -07:00
Cameron Sparr
7def6663bd
Root directory cleanup
2016-02-18 13:37:36 -07:00
Cameron Sparr
37726a02af
Add Serializer plugins, and 'file' output plugin
2016-02-12 15:05:27 -07:00
Cameron Sparr
a9c135488e
Add Serializer plugins, and 'file' output plugin
2016-02-12 14:13:49 -07:00