Paweł Żak
ae7fbc5082
chore(linters): Replace 'fmt.Errorf' with 'errors.New' wherever possible ( #14698 )
2024-02-08 11:32:30 -06:00
Paweł Żak
171dccb7d7
chore(tools): Bump golangci-lint from v1.54.2 to v1.55.0 ( #14155 )
2023-10-23 08:12:08 -06: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
86cd0c0c24
chore: Fix linter findings for makezero (part4) ( #12410 )
2022-12-20 11:42:09 +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
Sven Rebhan
ac26d786fe
fix(outputs): Linter issues ( #11595 )
2022-08-03 07:20:51 -05: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
a7df6c6aa6
feat: migrate output plugins to new sample config format ( #10910 )
2022-04-07 15:55:03 -06:00
Thomas Casteleyn
a4f6b27bd5
style: Add deprecation notices to plugin options ( #10616 )
2022-03-01 15:05:53 -07: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
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
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
Aladex
2e751d0b54
JSON does not support values NaN and Inf ( #7908 )
2020-08-06 14:27:15 -04:00
Josh Soref
bf1eb291f2
Fix assorted spelling mistakes ( #7507 )
2020-05-15 15:43:32 -07:00
Greg
2e2e998ebd
Don't add tags with empty values to opentsdb output ( #4751 )
2018-09-26 19:26:23 -07:00
Daniel Nelson
2ee374cf50
Deprecate camelCase config options in opentsdb output
2018-07-02 15:10:10 -07:00
Jacob Lisi
c7cfc2ec39
Add http path configuration for OpenTSDB output ( #4347 )
2018-07-02 15:04:01 -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
402460f038
Use underscore as default opentsdb seperator
...
Preserves backwards compatibility
2017-09-27 11:36:41 -07:00
owlet123
f85db90780
Add configurable separator for metrics and fields in opentsdb output ( #3106 )
2017-09-27 11:29:40 -07:00
Daniel Nelson
0a8c2e0b3b
Whitelist allowed char classes for opentsdb output. ( #3227 )
2017-09-13 17:30:52 -07:00
Cameron Sparr
c15504c509
opentsdb: add tcp:// prefix if not present
...
closes #2299
2017-01-23 13:45:16 -08:00
Cameron Sparr
95bad9e55b
OpenTSDB filter types for HTTP AND telnet
2017-01-13 11:44:28 +00:00
Anthony Arnaud
7558081873
Output openTSDB HTTPS with basic auth ( #1913 )
2016-12-13 14:15:51 +00:00
Eric
3e3b094270
Only log warning on type when in debug mode.
...
closes #1793
2016-10-11 11:35:43 +01:00
Eric
1f7a8fceef
Fixed json serialization to make sure only value type supported by OpenTSDB are sent and made sure we send numbers un-quoted event though OpenTSDB API accepts them as this is not clean json.
2016-10-11 11:32:24 +01:00
Eric
6e33a6d62f
OpenTSDB HTTP output
...
closes #1539
First version of http put working
Refactored code to separate http handling from opentsdb module. Added batching support.
Fixed tag cleaning in http output and refactored telnet output.
Removed useless struct.
Fixed current unittest and added a new one.
Added benchmark test to test json serialization. Made sure http client would reuse connection.
Ran go fmt on opentsdb sources.
Updated README file
Removed useHttp in favor of parsing host string to determine the right API to use for sending metrics. Also renamed BatchSize to HttpBatchSize to better convey that it is only used when using Http API.
Updated changelog
Fixed format issues.
Removed TagSet type to make it more explicit.
Fixed unittest after removing TagSet type.
Revert "Updated changelog"
This reverts commit 24dba5520008d876b5a8d266c34a53e8805cc5f5.
Added PR under 1.1 release.
add missing redis metrics
This makes sure that all redis metrics are present without having to use a hard-coded list of what metrics to pull in.
2016-08-31 10:27:08 +01:00
Nick
9966099d1a
Replace ":" with "_" in tags. This should make the mysql plugin work with the opentsdb output (it uses a "server" tag like "127.0.0.1:3306") ( #1256 )
2016-05-25 11:37:48 +01:00
Cameron Sparr
3ed006d216
Sanitize invalid opentsdb characters
...
closes #1098
2016-04-28 17:01:50 -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
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