Commit Graph

19 Commits

Author SHA1 Message Date
Joshua Powers 8c49ddccc3
chore: update to go1.19.1 (#11776) 2022-09-08 12:49:36 -06:00
Eng Zer Jun c3d176029d
test: use `T.TempDir` to create temporary test directory (#10988) 2022-04-18 13:27:59 -06:00
Eng Zer Jun 6a3b27126a
refactor: move from io/ioutil to io and os package (#9811) 2021-09-28 15:16:32 -06:00
Mya 8d2b1e8dc1
Fix metrics reported as written but not actually written (#9526) 2021-07-28 14:55:23 -06:00
Mya Longmire da7f2c7a93
Bugfix outputs influxdb endless retires (#9296) 2021-06-10 16:05:43 -05:00
David Bennett 842a788022
Remove error return type from metric.New method (#9116)
* Remove error return type from metric.New method.

* Formatting changes for linter + gofmt

* Additional linter fixes.

* More linter fixes.

* Linter fix.

* address comments
2021-04-13 14:40:03 -04:00
David Bennett c25ae5295b
Validate the response from InfluxDB after writing/creating a database to avoid json parsing panics/errors (#8775)
* Validate the response from InfluxDB after writing/creating a database to avoid json parsing panics.

* Testing windows signing - ignore

* Update config.yml

* adding signing to workflow - test

* Updated config.yml

* Updated config.yml

* Updated config.yml

* Updated config.yml

* revert circleci test changes

* Various updates
2021-02-10 14:45:07 -05:00
Daniel Nelson b77dac9fdf
Run create database query once per database (#7333) 2020-04-28 13:41:59 -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
Daniel Nelson eb8d805370
Fix exclude database and retention policy tags is shared (#7323) 2020-04-14 12:15:35 -07:00
Daniel Nelson c7146be2f2
Add support for setting retention policy using tag (#7141) 2020-03-10 15:20:03 -07:00
Daniel Nelson 47fd285b4a
Fix database routing on retry with exclude_database_tag (#6486) 2019-10-07 12:13:39 -07:00
Daniel Nelson 94f68c06d7
Use alias name in output metric buffer stats 2019-08-21 18:06:04 -07:00
Greg 5c8d0e3ac9 Add ability to label inputs for logging (#6207) 2019-08-21 16:49:07 -07:00
Daniel Nelson 65b76dc746
Add tag based routing in influxdb/influxdb_v2 outputs (#5490) 2019-02-27 10:54:02 -08: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
Daniel Nelson df78133bf3
Log error if scheme is unsupported 2018-04-05 11:08:31 -07:00
Daniel Nelson 43bd23e555
Add support for connecting to InfluxDB over a unix domain socket (#3942) 2018-03-27 18:36:08 -07:00
Daniel Nelson 1c0f63a90d
Add new line protocol parser and serializer, influxdb output (#3924) 2018-03-27 17:30:51 -07:00