Commit Graph

39 Commits

Author SHA1 Message Date
Lars Stegman 73d092a566
feat(outputs.influxdb_v2): Support secrets in http_headers values (#16746) 2025-04-10 18:36:30 +01:00
Lars Stegman 61f0f039f2
fix(outputs.influxdb_v2): Use dynamic token secret (#16628) 2025-03-14 14:49:06 -05:00
Sven Rebhan 6ea22bdd83
fix(outputs.influxdb_v2): Fix panic and API error handling (#16388) 2025-01-10 10:08:02 -06:00
Dane Strandboge 8645ac04a8
fix(outputs.influxdb_v2): Allow overriding auth and agent headers (#16383) 2025-01-09 11:00:36 +01:00
Sven Rebhan 11709858e3
feat(outputs.influxdb_v2): Add rate limit implementation (#15742) 2024-12-06 10:50:21 -06:00
Sven Rebhan 18b2d3cdc3
chore(outputs.influxdb_v2): Cleanup code and tests (#16147) 2024-11-06 11:25:08 -06:00
Greg a758311ac4
feat(outputs.influxdb_v2): Preserve custom query parameters on write (#15475) 2024-06-07 09:51:33 -06:00
Morian Sonnet c7446f74f1
feat(outputs.influxdb_v2): Add option to set local address (#15228) 2024-04-26 16:47:33 -05:00
Andreas Deininger 5f5a56ed01
docs: Fix typos (#14376) 2024-01-05 22:34:02 +01:00
Sam Lai 08fd16f3df
fix(outputs.influxdb*): Support setting Host header (#14481) 2023-12-19 07:49:40 -07:00
Sven Rebhan e2c4e10650
chore(secrets): Abstract secret implementation (#13953) 2023-09-25 14:37:04 -06:00
Joshua Powers d2ebc8ecc0
fix(outputs.influxdb_v2): Expose HTTP/2 client timeouts (#13562) 2023-07-10 16:29:59 +02: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 473aa0de17
chore: Lint whole codebase both in PR and master branch (#12590) 2023-02-02 14:16:21 +01:00
Sven Rebhan e6de0cc9c2
chore(internal.gzip): cleanup CompressWithGzip (#12587) 2023-02-01 11:20:11 -07:00
Sven Rebhan f5c2c4abf0
feat(secretstores): convert many output plugins (#12497) 2023-01-25 13:02:29 -07: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
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
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
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
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 65b76dc746
Add tag based routing in influxdb/influxdb_v2 outputs (#5490) 2019-02-27 10:54:02 -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
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
Greg 1fdf032db0 Add influx v2 output plugin (#4645) 2018-09-12 14:48:59 -07:00