Commit Graph

29 Commits

Author SHA1 Message Date
Sven Rebhan 9853bf6c54
Get rid of deprecated internal.{Duration,Size,Number} (#8969) 2021-04-09 13:15:04 -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 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
Steven Soroka 9c7cf99fa7
[outputs.influxdb_v2] add exponential backoff, and respect client error responses (#8662)
* [outputs.influxdb_v2] add exponential backoff, and respect client error responses

* add test

* Update to 60 seconds

* fix test
2021-01-27 16:07:42 -05:00
Steven Soroka 392ef9b9c0
change influxdb port 9999 to 8086 (#8198) 2020-10-07 11:54:51 -04:00
Steven Soroka 8cd0fe5e7b Revert "update influxdb v2 port"
This reverts commit 8c3ba65e77.
2020-09-09 14:07:10 -04:00
Samantha Wang 8c3ba65e77 update influxdb v2 port 2020-09-09 10:55:20 -07:00
Daniel Nelson c73ed8ca6c
Export internal/tls package for use in execd plugins (#7697) 2020-06-25 11:44:22 -07:00
Daniel Nelson 643fb7decc
Remove trailing backslash from tag keys/values (#7652) 2020-06-12 17:54:49 -07:00
Daniel Nelson edd8338180
Close HTTP2 connections on timeout in influxdb outputs (#7517) 2020-05-19 11:53:10 -07:00
Daniel Nelson a4eb9c2205
Use the product token for the user agent in more locations (#7378) 2020-04-21 10:02:18 -07:00
陈方舟 fa2f0fff4e Fix influxdb output serialization on connection closed (#6621) 2019-11-13 12:56:01 -08:00
Daniel Nelson 47fd285b4a
Fix database routing on retry with exclude_database_tag (#6486) 2019-10-07 12:13:39 -07:00
Daniel Nelson 24d5a93e63
Add example URL for cloud2 to influxdb_v2 output 2019-09-23 10:02:19 -07:00
Greg 88b60a2e9b Return error rather than default a retry value (#6376) 2019-09-10 11:46:46 -07:00
Greg a1bff8f550 Add ability to exclude db/bucket tag from influxdb outputs (#6184) 2019-07-30 14:16:51 -07:00
Daniel Nelson 17d66b864c
Close idle connections in influxdb outputs when reloading (#5912) 2019-05-31 16:55:31 -07:00
Greg 3592433b06 Buffer metrics from failed writes in influxdb2 output if token is invalid (#5792) 2019-05-01 16:46:52 -07:00
Daniel Nelson 3bb1548414
Fix plugin name in influxdb_v2 output logging (#5627) 2019-03-26 18:09:35 -07:00
Daniel Nelson 65b76dc746
Add tag based routing in influxdb/influxdb_v2 outputs (#5490) 2019-02-27 10:54:02 -08:00
Daniel Nelson 35381707db
Fix grammar in influxdb_v2 README 2019-02-01 12:27:31 -08:00
Daniel Nelson b2f6fd685d
Update link to InfluxDB v2.x 2019-01-22 15:29:46 -08:00
Greg ad5fcf8efb Improve error description in influxdb_v2 output (#4952) 2018-11-02 17:50:55 -07:00
Kevin Conaway 44fd74d688 Add telegraf version to User-Agent header (#4838)
Header is added in influxdb, influxdb_v2, and http outputs.
2018-10-11 12:25:21 -07:00
kelwang a0eee37ed2 Fix grammar in influxdb_v2 sample config (#4815) 2018-10-10 18:34:32 -07:00
Greg b075686400 Update write path to match updated InfluxDB v2 API (#4844) 2018-10-10 15:53:01 -07:00
Mihai Todor f3da717a88 Add entity-body compression to http output (#4807) 2018-10-05 15:06:41 -07:00
Daniel Nelson 403ed001bf
Add version to the influxdb output plugins readme 2018-09-21 13:07:12 -07:00
Greg 1fdf032db0 Add influx v2 output plugin (#4645) 2018-09-12 14:48:59 -07:00