Commit Graph

832 Commits

Author SHA1 Message Date
Orlov Roman 20921eb535
fix(outputs.prometheus_client): Fix export_timestamp for v1 metric type (#13169)
Co-authored-by: Roman Orlov <orlov@farpost.com>
2023-05-02 13:46:57 +02:00
Joshua Powers 80b8fe6333
fix(serializers.influx): Restore disabled uint support by default (#13164) 2023-05-02 13:45:19 +02:00
kannar 1d3afd469f
fix(outputs.warp10): Support Infinity/-Infinity/NaN values (#13126) 2023-04-24 12:47:07 -06:00
Paweł Żak ba16eeb495
chore: Enable G110 rule for gosec (#13044)
Co-authored-by: Pawel Zak <Pawel Zak>
2023-04-14 17:14:55 +02:00
Paweł Żak 5f2142a6cc
chore: Enable G601 rule for gosec (#13042) 2023-04-12 16:56:07 +02:00
Paweł Żak 55e4bb6808
chore: Enable G103 rule for gosec (#13038) 2023-04-12 07:32:46 -06:00
Sven Rebhan 9bb2d1562d
chore(serializers): Add new-style framework and migrate influx (#12920) 2023-04-11 21:52:42 +02:00
Paweł Żak 2320bbd1a8
chore: Enable G101 rule for gosec (#13009)
Co-authored-by: Pawel Zak <Pawel Zak>
2023-04-03 20:31:08 +02:00
Sven Rebhan 83b4056985
fix(secrets): Minimize secret holding time (#13002) 2023-04-03 07:28:41 -06:00
Paweł Żak edcd28650c
chore: Enable G112 and G114 rules for gosec (#12986)
Co-authored-by: Pawel Zak <Pawel Zak>
2023-04-03 15:23:05 +02:00
Paweł Żak 0de59d48ec
chore: Enable G202 rule for gosec (#12984)
Co-authored-by: Pawel Zak <Pawel Zak>
2023-04-03 15:21:26 +02:00
Paweł Żak c76f319b84
chore: Remove `revive:unhandled-error` - `errcheck` is more flexible (#13008) 2023-04-03 07:19:43 -06:00
Joshua Powers 6c840b781d
chore: run make docs 2023-03-31 11:24:04 -06:00
Glen Neff cf08f341d1
docs(outputs.http): add service to aws creds (#13003) 2023-03-31 10:53:07 -06:00
Paweł Żak 9608d118bd
chore: Don't use all default exclude patterns for golangci-lint (#12969)
Co-authored-by: Pawel Zak <Pawel Zak>
2023-03-29 09:50:00 +02:00
Joshua Powers 3c8277d502
fix(outputs.graphite): Add custom regex to outputs (#12908) 2023-03-22 13:32:41 +01:00
Joshua Powers 7284c126ce
fix(serializers.graphite): Allow for specifying regex to sanitize (#12835) 2023-03-14 11:46:44 +01:00
Jacob Marble 240c239321
chore(deps): Update OpenTelemetry from 0.3.1 to 0.3.3 (#12840) 2023-03-13 12:22:03 +01:00
Sven Rebhan 1eb70808d0
feat(common.oauth): Add audience parameter (#12821) 2023-03-13 12:17:37 +01:00
feld f48b834a14
docs(outputs.postgresql): Improve TimescaleDB config examples (#12829) 2023-03-09 16:05:28 -07:00
Paweł Żak d59ea7d0ce
chore: Remove usages of github.com/pkg/errors dependency (archived) (#12787)
Co-authored-by: Pawel Zak <Pawel Zak>
2023-03-03 19:04:41 +01:00
Sven Rebhan 6e3af9d06c
feat(outputs.mqtt): Add option to specify topic layouts (#12697) 2023-02-28 11:44:35 -07:00
Thomas Casteleyn 6a2f6f301f
chore: eliminate unnecessary use of quoted strings in printf (#12722) 2023-02-23 06:49:36 -07: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
Sven Rebhan 75cbda186c
chore(mqtt): unify input and output plugin's MQTT client (#12683) 2023-02-17 12:59:02 -07:00
Joshua Powers 0fd618ef84
docs(outputs.postgresql): Update URL for sql template (#12691) 2023-02-17 09:46:15 +01:00
Jose Luis Ordiales Coscia 8896538f5d
feat(outputs.mqtt): add support for MQTT 5 publish properties (#12678)
Co-authored-by: Jose Luis Ordiales <jose.luis@evergen.energy>
Co-authored-by: Joshua Powers <powersj@fastmail.com>
2023-02-16 10:55:24 +01:00
dependabot[bot] 0244614b71
chore(deps): Bump github.com/gofrs/uuid from 4.3.1+incompatible to 5.0.0 (#12668) 2023-02-16 10:50:47 +01:00
Joshua Powers fa26b6498b
docs: remove trailing whitespace (#12660) 2023-02-09 12:35:18 -07:00
Sven Rebhan 200044a495
docs: fix remaining markdownlinter issues (#12658) 2023-02-09 10:57:08 -07:00
Paweł Żak 1260b4523b
chore: Fix linter findings for tenv (#12622)
Co-authored-by: Pawel Zak <Pawel Zak>
2023-02-07 17:12:42 +01:00
Paweł Żak 9a0cecc788
chore: Fix linter findings for nolintlint (part3) (#12613)
Co-authored-by: Pawel Zak <Pawel Zak>
2023-02-07 17:06:12 +01:00
Paweł Żak 257083dba8
chore: bump go to 1.20 for golangci-lint-action (#12614) 2023-02-03 14:35:29 -07:00
Paweł Żak 17c77df228
chore: Bump golangci-lint from v1.50.1 to v1.51.0 (#12605)
Co-authored-by: Pawel Zak <Pawel Zak>
2023-02-03 10:27:47 +01:00
Sven Rebhan dfc5cdf924
docs: indicate secret-store support in plugin READMEs (#12592) 2023-02-02 09:31:23 -07:00
Paweł Żak 473aa0de17
chore: Lint whole codebase both in PR and master branch (#12590) 2023-02-02 14:16:21 +01:00
Paweł Żak e84bc0c590
chore: clean up import shadowing issues (#12588) 2023-02-01 11:21:38 -07:00
Sven Rebhan e6de0cc9c2
chore(internal.gzip): cleanup CompressWithGzip (#12587) 2023-02-01 11:20:11 -07:00
Joshua Powers b20e490031
fix(outputs.prometheus_client): Expire with ticker, not add/collect (#12560) 2023-01-31 10:38:10 +01:00
Ben Tasker bd77a425ba
docs(outputs.elasticsearch): detail overriding timezone (#12551) 2023-01-25 13:16:55 -07:00
Joshua Powers c030e31aed
docs(outputs.mqtt): update readme to match sample config (#12552) 2023-01-25 13:11:31 -07:00
Sven Rebhan f5c2c4abf0
feat(secretstores): convert many output plugins (#12497) 2023-01-25 13:02:29 -07:00
andoks dc89a0401c
docs(outputs.mqtt): fix incorrect use of brackets (#12539) 2023-01-25 09:03:46 -07:00
Sebastian Machuca 74ed28938a
feat(outputs.mqtt): enhance routing capabilities (#12224) 2023-01-17 11:45:45 -07:00
Thomas Casteleyn 61523bd4b9
feat(tools/readme_linter): Check for global configuration section (#12426) 2023-01-12 16:55:21 +01:00
Paweł Żak 5e96009048
chore(stackdriver): Fix deprecated monitoringpb (#12424)
Co-authored-by: Pawel Zak <Pawel Zak>
2023-01-09 20:52:53 +01:00
Sven Rebhan 6fb08bb3da
feat(kafka): Add keep-alive period setting for input and output. (#12459) 2023-01-05 16:48:31 +01:00
Paweł Żak 86cd0c0c24
chore: Fix linter findings for makezero (part4) (#12410) 2022-12-20 11:42:09 +01:00
Joshua Powers 754ab64959
fix(outputs.loki): return response body on error (#12399) 2022-12-16 06:18:43 -07:00
Paweł Żak 4717a03509
chore: Fix linter findings for makezero (part2) (#12362) 2022-12-09 16:38:37 +01:00
Luke Winikates 19cc5a7abf
chore(outputs.wavefront): Reduce code duplication (#12332) 2022-12-07 17:04:21 +01:00
Trevor North 70b33c2649
feat(inputs.kafka_consumer): Add sarama debug logs (#12304) 2022-12-05 21:54:08 +01:00
Joshua Powers c6dbc3f689
fix(outputs.azure_data_explorer): update test call to NewSerializer (#12291) 2022-11-28 08:39:13 -07:00
asaharn 736967974b
refactor(outputs.azure_data_explorer): removed deprecated code (#11951) 2022-11-28 08:12:25 -07:00
Neelay Upadhyaya 6f407c5949
fix(output.datadog): log response in case of non 2XX response from API (#12201) 2022-11-21 21:54:24 +01:00
Paweł Żak 960a1f7b14
chore: Fix linter findings for prealloc (part3) (#12246) 2022-11-21 21:53:55 +01:00
Paweł Żak e84df8983a
chore: Fix linter findings for errname (#12253) 2022-11-21 21:11:07 +01:00
Paweł Żak 743e023f84
chore: Fix linter findings for makezero (part1) (#12254) 2022-11-21 21:07:07 +01:00
Joshua Powers bd91b2ced2
test(outputs.sql): print out what we get, bump time required (#12262) 2022-11-18 09:38:40 -07:00
Joshua Powers ea9aa38d23
test(outputs.sql): do not write to file during testing (#12203) 2022-11-18 07:22:46 -07:00
Sven Rebhan 0f8dff9b8d
feat(serializers.json): Support serializing JSON nested in string fields (#12260) 2022-11-18 11:53:13 +01:00
Sven Rebhan bc56233e1b
feat(outputs.graylog): implement optional connection retries (#11950) 2022-11-17 07:03:04 -07:00
Sven Rebhan 973db8c517
fix: Cleanup and add sample.conf embedding (#12244) 2022-11-15 17:15:35 +01:00
Paweł Żak 74703d092b
chore: Fix linter findings for prealloc (part2) (#12242) 2022-11-15 09:31:51 +01:00
feld 0132eabcf1
docs(outputs.postgresql): fix example template queries that manage a view (#12190) 2022-11-08 15:47:30 -07:00
Joshua Powers 07345e82f3
docs(outputs.kafka): specify broker behavior (#12161) 2022-11-08 14:26:24 -07:00
Paweł Żak 6816aefcd5
chore: fix linter findings for unparam and revive.unused-parameter (#12150) 2022-11-08 12:04:12 -07:00
Paweł Żak 8e9a513157
chore: Wrap long lines in plugins/outputs (#12179) 2022-11-08 16:05:55 +01:00
Joshua Powers a1de125ace
fix(outputs.prometheus): expire during add (#12160)
fixes https://github.com/influxdata/telegraf/issues/9821
2022-11-07 12:36:34 -06:00
Joshua Powers b3a460f7e9
test(outputs.sql): simplify clickhouse test (#12189) 2022-11-07 09:06:30 -07:00
Joshua Powers f2b49ce39c
fix(outputs.yandex_cloud_monitoring): catch int64 values (#12156) 2022-11-07 07:28:49 -07:00
Paweł Żak 0955bd714f
chore: Enable asciicheck, asasalint, bidichk and exportloopref linters (#12169) 2022-11-07 11:07:10 +01:00
reimda 494f558b4e
feat: Add exponential backoff when connecting or reconnecting and allow plugin to start without making initial connection (#12111) 2022-11-03 08:01:22 -05:00
Joshua Powers 0c0c2e169a
test(outputs.sql): wait for db dump file to exist (#12149) 2022-11-02 09:05:03 -06:00
Paweł Żak e2b999267f
chore: Fix linter findings introduced in last PRs (#12131) 2022-11-01 11:27:37 +01:00
Jacob Marble 99a48f460e
chore: update OpenTelemetry v0.2.30 / v0.63.0 (#12119) 2022-10-27 21:43:47 +02:00
Joshua Powers 49ac03fa80
docs: add global configuration header (#12107) 2022-10-26 14:58:36 -05:00
Joshua Powers 526035fc6e
test(outputs.graylog): skip tcp/udp tests on windows & darwin (#12110) 2022-10-26 13:01:50 -06:00
Paweł Żak 9d9eb403a6
chore: Review of //nolint comments (#12088) 2022-10-26 12:06:08 +02:00
Joshua Powers dd802531ef
test(outputs.sql): further wait for clickhouse writes (#12086) 2022-10-24 09:17:57 +02:00
Joshua Powers d45c7c44c7
test: update integration test occurrences (#12085) 2022-10-21 14:18:15 -06:00
Sebastian Spaink f38c9f2a45
chore: Resolve deprecated linter issues (#12051) 2022-10-19 18:32:53 +02:00
Joshua Powers c5e2c7aa00
test: add additional checks, waits in integration tests (#12056) 2022-10-19 09:54:00 -06:00
Paweł Żak b1fc5254e5
chore(deps): bump testcontainers-go from 0.13.0 to 0.14.0 and address breaking change (#12039) 2022-10-18 10:18:52 -06:00
dependabot[bot] 72c8aea46d
chore(deps): bump github.com/Shopify/sarama from 1.36.0 to 1.37.2 (#11980)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Mya <mlongmire@influxdata.com>
2022-10-18 09:49:10 -05:00
suprajanarasimhan 90d8f426b3
refactor: Prevent import from going the wrong way (#12004) 2022-10-13 14:11:24 -06:00
Paweł Żak 5878278fca
chore: resolve linter issues for unhandled-error (#11969) 2022-10-12 14:23:53 -06:00
R290 430ec5b960
feat(outputs.event_hubs): Expose max message size batch option (#11991) 2022-10-12 08:49:11 -06:00
Paweł Żak 9ff5cda6e8
chore: Resolve linter issues for plugins/common package (#11964)
Co-authored-by: Pawel Zak <Pawel Zak>
2022-10-11 11:31:44 -05:00
Jacob Marble 6606c5ed33
chore: update OpenTelemetry plugins to latest release (#11943) 2022-10-05 14:03:17 -06:00
Paweł Żak dbf6796a89
fix: Setting `enable_tls` has incorrect default value (#11941)
Co-authored-by: Pawel Zak <Pawel Zak>
2022-10-05 10:07:28 +02:00
asaharn 9485e9040e
feat(outputs.azure_data_explorer): Added support for streaming ingestion for ADX output plugin (#11874) 2022-10-03 09:30:13 -06:00
Joshua Blanchard 2b03cd9151
fix(common.kafka): Enable TLS in Kafka plugins without custom config (#11519) 2022-09-26 12:14:14 -06:00
Sebastian Spaink 4913392b85
chore: Remove deprecated build tags (#11867) 2022-09-22 13:25:31 -05:00
Sven Rebhan 8e23402305
chore: remove deprecated io/ioutils (#11678) 2022-09-20 09:37:14 -06:00
Lohith 8dd7ec04c9
feat(outputs.timestream): Support ingesting multi-measures (#11385) 2022-09-20 13:45:57 +02:00
erwiese 215e8e030a
feat(inputs.prometheus): use system wide proxy settings (#11729) 2022-09-13 10:48:13 -07: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
Lucas Segawa 8d416c4b7a
fix(outputs.execd): Fixing the execd behavior to not throw error when partially unserializable metrics are written. (#11767) 2022-09-09 16:00:47 +02:00
Joshua Powers 8c49ddccc3
chore: update to go1.19.1 (#11776) 2022-09-08 12:49:36 -06:00