Commit Graph

40 Commits

Author SHA1 Message Date
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
Joshua Powers 66daef2f0c
fix: update influxdb_v2 error message (#10958) 2022-04-11 14:45:48 -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 855e23d978
fix: include influxdb bucket name in error messages (#10706)
Fixes: #10690
2022-02-22 10:42:37 -07:00
Mya 9bd0c6121e
fix: failing ci on master (#10175) 2021-11-24 13:57:14 -07:00
Paweł Żak 020b77b239
fix: Linter fixes for plugins/outputs/[g-m]* (#10127)
Co-authored-by: Pawel Zak <Pawel Zak>
2021-11-24 12:40:25 -07:00
Joshua Powers de6c2f74d6
feat: add retry to 413 errors with InfluxDB output (#10130) 2021-11-24 12:03:55 -07:00
Joshua Powers 0d8d118319
chore: clean up all markdown lint errors in output plugins (#10159) 2021-11-24 11:47:33 -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
Phil Bracikowski 8daba8aa19
chore(influxv2plugin): Increase accepted retry-after header values. (#9619) 2021-08-25 18:43:06 -04:00
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