Commit Graph

4152 Commits

Author SHA1 Message Date
Sven Rebhan ede6cfb920
feat(inputs.tail): add option to preserve newlines for multiline data (#12281) 2022-11-28 08:18:57 -07:00
Jörg Thalheim 2e99a1258e
docs(inputs.kube_inventory): update k3s integration guide (#12285) 2022-11-28 08:15:27 -07:00
asaharn 736967974b
refactor(outputs.azure_data_explorer): removed deprecated code (#11951) 2022-11-28 08:12:25 -07:00
Maxim Ivanov 55c8cfafb0
fix(inputs.promethes): respect selectors when scraping pods (#12278) 2022-11-28 08:05:31 -07:00
Sven Rebhan 0e7a3c69ea
fix(inputs.socket_listener): ensure closed connection (#12280) 2022-11-28 08:01:57 -07:00
Thomas Casteleyn 25154e50fd
feat(inputs.snmp): convert enum values (#11872) 2022-11-28 08:01:18 -07:00
Maxim Ivanov c3562ae8b2
feat(inputs.prometheus): Allow explicit scrape configuration without annotations (#11962) 2022-11-22 18:04:52 +01:00
Charly Nanfack d4eda21742
feat(inputs.prometheus): Add support for custom header (#12050) 2022-11-21 21:55:21 +01: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
Sven Rebhan 65200dba2a
fix(inputs.gnmi): Fix empty name for Sonic device (#12258) 2022-11-21 20:59:26 +01:00
Sven Rebhan e311435753
feat(parsers.xpath): Allow to specify byte-array fields to encode in HEX (#11999) 2022-11-21 20:56:02 +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
Sven Rebhan 75aaa8981e
feat(inputs.modbus): Add 8-bit integer types (#12255) 2022-11-18 16:23:23 +01:00
Sven Rebhan d3eec6166a
chore(inputs.x509_cert): Cleanup code (#12250) 2022-11-18 16:23:07 +01: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 6cfae2a1fd
fix(input.modbus): Add workaround to read field in separate requests (#12235) 2022-11-18 11:53:36 +01: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 3160d52187
feat(inputs.socket_ listener): Allow to specify message separator for streams (#12187) 2022-11-17 07:02:32 -07:00
ShiranAvidov 7ef5993d35
feat: Add Azure Monitor input plugin (#10103) 2022-11-16 21:47:05 +01:00
Petar Obradović 61f64506c9
fix(input.redis_sentinel): fix sentinel and replica stats gathering (#12229) 2022-11-16 13:43:30 -07:00
Sven Rebhan d2268f04d0
feat(parsers.binary): handle hex-encoded inputs (#12232) 2022-11-16 13:43:13 -07:00
David Barbarin 58d7dfc43f
feat(inputs.sqlserver): add data and log used space metrics for Azure SQL DB (#12126) 2022-11-16 07:18:17 -07:00
Sven Rebhan 404c0475d0
docs(inputs.x509_cert): Add documentation for 'exclude_root_certs' option. (#12249) 2022-11-16 06:37:13 -07:00
Sven Rebhan 9acbf23ebb
feat(inputs.tail): Allow handling of quoted strings spanning multiple lines (#11762) 2022-11-15 18:58:15 +01:00
Paweł Żak cdc622e9db
chore: Fix linter findings for prealloc (part1) (#12228) 2022-11-15 18:57:50 +01:00
Sven Rebhan 973db8c517
fix: Cleanup and add sample.conf embedding (#12244) 2022-11-15 17:15:35 +01:00
zeffron c7a1d9e28e
feat(inputs.ethtool): Gather statistics from namespaces (#11895) 2022-11-15 16:54:58 +01:00
Joshua Powers cf8d12cc73
test(inputs.mongodb): update integration test logic (#12241) 2022-11-15 06:56:31 -07:00
Paweł Żak 74703d092b
chore: Fix linter findings for prealloc (part2) (#12242) 2022-11-15 09:31:51 +01:00
Sven Rebhan 2ade360728
feat(inputs.modbus): Optimize requests (#11273) 2022-11-14 20:31:50 +01:00
Paweł Żak 0c5d8de5e2
chore: enable lll linter (#12226) 2022-11-11 08:17:15 -07:00
Martin c528d31515
docs(inputs.modbus): delete sample.conf (#12223) 2022-11-11 07:42:21 -07:00
Paweł Żak 236af553a3
chore: wrap long lines in other locations (#12219) 2022-11-11 06:32:11 -07:00
Paweł Żak d3fabdd0a9
chore: wrap long lines in plugins/inputs/[l-s]* (#12217) 2022-11-10 11:55:58 -07:00
Paweł Żak b98a76372a
chore: wrap long lines in plugins/inputs/[t-z]* (#12218) 2022-11-10 11:41:43 -07:00
Paweł Żak b83bdd5eac
chore: enable interfacebloat linter (#12174) 2022-11-10 11:41:11 -07: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
Joshua Powers 6390d31eb0
feat: add arm64 Windows builds (#12130) 2022-11-08 13:44:51 -07:00
Paweł Żak 7c7069d693
chore: Wrap long lines in plugins/inputs/[i-k]* (#12199)
Co-authored-by: Pawel Zak <Pawel Zak>
2022-11-08 14:44:01 -06:00
Paweł Żak 581c82a31e
chore: Wrap long lines in plugins/inputs/[e-h]* (#12186)
Co-authored-by: Pawel Zak <Pawel Zak>
2022-11-08 14:42:05 -06: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 7807847356
chore: Wrap long lines in plugins/parsers (#12180) 2022-11-08 18:47:35 +01:00
Paweł Żak c30518d853
chore: Wrap long lines in plugins/aggregators (#12183) 2022-11-08 18:42:36 +01:00
Paweł Żak b9bba638b1
chore: Wrap long lines in plugins/inputs/[a-d]* (#12185) 2022-11-08 18:41:17 +01:00
Paweł Żak 8203b503b7
chore: Wrap long lines in plugins/common (#12182) 2022-11-08 18:35:08 +01:00
Paweł Żak 979eec8fb8
chore: Wrap long lines in plugins/processors (#12181) 2022-11-08 16:12:30 +01:00
reimda 59966d390c
chore: log errors when adding to quantile aggregator (#12191) 2022-11-08 08:06:27 -07:00
Paweł Żak 8e9a513157
chore: Wrap long lines in plugins/outputs (#12179) 2022-11-08 16:05:55 +01:00
Joshua Powers 969188e9db
fix(inputs.ping): Avoid -x/-X on FreeBSD 13 and newer with ping6 (#12171) 2022-11-08 07:24:50 -07:00
Joshua Powers 42e2c2deff
test(inputs.opcua_listener): harden tests (#12193) 2022-11-07 13:31:07 -07:00
Viraj Sinha e42b0832e0
fix: Add support for opcua datetime values (#12101) 2022-11-07 20:35:53 +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
Sven Rebhan 74454109b9
fix(inputs.cloudwatch): Fix multiple namespaces issue (#12177) 2022-11-07 15:43:20 +01:00
Joshua Powers f2b49ce39c
fix(outputs.yandex_cloud_monitoring): catch int64 values (#12156) 2022-11-07 07:28:49 -07:00
Joshua Powers a3424a982f
feat(inputs.tomcat): add source tag (#12170) 2022-11-07 07:28:09 -07:00
Paweł Żak 6659e3d62a
chore: Use depguard instead of revive.imports-blacklist (#12153) 2022-11-07 11:34:05 +01:00
Paweł Żak 0955bd714f
chore: Enable asciicheck, asasalint, bidichk and exportloopref linters (#12169) 2022-11-07 11:07:10 +01:00
Paweł Żak ccf3b1affe
chore: Enable tparallel linter (#12175) 2022-11-07 11:06:00 +01:00
Joshua Powers 140c7334c6
docs(inputs.syslog): mention usage of tcp4/6 (#12168)
fixes: #5934
2022-11-03 13:47:58 -06:00
Paweł Żak 497297a92a
chore: Ignore usages of deprecated fields from gnmi lib (#12154)
Co-authored-by: Pawel Zak <Pawel Zak>
2022-11-03 08:41:20 -05: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
richu shaji abraham 415cfa8548
fix: inputs.gnmi add support for decimal_val as per gnmi v0.8.0 (#12140)
* fix: run make fmt

* change gnmiLib version from 0.7.0 to 0.8.0

* fix: add support for decimalVal as per gnmi v0.8.0

* fix: run go mod tidy

* fix: run make fmt

Co-authored-by: richu abraham <ricabrah@cisco.com>
2022-11-02 14:20:24 -05:00
Joshua Powers 0c0c2e169a
test(outputs.sql): wait for db dump file to exist (#12149) 2022-11-02 09:05:03 -06:00
Joshua Powers 8221ece4ca
feat(inputs.system): collect unique user count logged in (#12147) 2022-11-02 09:04:34 -06:00
Joshua Powers 09d5a9c8b6
fix(inputs.directory_monitor): allow cross filesystem directories (#12124)
fixes: #12121
2022-11-01 06:42:03 -06:00
Joshua Powers a536764bf1
fix(serializers.splunkmetric): provide option to remove event metric tag (#12024) 2022-11-01 06:41:46 -06:00
Sven Rebhan cc94587f11
chore(inputs.socket_listener): Reorganize plugin code (#12031) 2022-11-01 12:18:14 +01:00
Paweł Żak e2b999267f
chore: Fix linter findings introduced in last PRs (#12131) 2022-11-01 11:27:37 +01:00
Thomas Casteleyn 453f36e8ef
chore(parsers.xpath): Add correct deprecation tags (#11986) 2022-10-31 07:42:50 -06:00
Sven Rebhan 393566d9ba
feat(parsers): Add binary parser (#11552) 2022-10-31 14:15:23 +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 ea1ae642cb
docs: ran make docs (#12120) 2022-10-27 13:40:44 -06:00
Matthijs Kooijman b446acb850
docs(aggregators.derivative): Remove incorrect comment (#12026) 2022-10-27 13:16:56 -06:00
Joshua Powers 7466834164
docs(serializers.json): specify version of jsonata used (#12117) 2022-10-27 10:29:25 -06:00
Sven Rebhan 7d37ddfe51
fix(processors.parser): Keep name of original metric if parser doesn't return one (#12116) 2022-10-27 17:56:12 +02:00
Joshua Powers 49ac03fa80
docs: add global configuration header (#12107) 2022-10-26 14:58:36 -05:00
Sven Rebhan e097676f71
fix(inputs.modbus): Handle field-measurement definitions correctly on duplicate field check (#12109) 2022-10-26 14:58:27 -05:00
Joshua Powers 526035fc6e
test(outputs.graylog): skip tcp/udp tests on windows & darwin (#12110) 2022-10-26 13:01:50 -06:00
Mya 2bcb4d9f52
chore(common.shim): check err of s.writeProcessedMetrics for the linter (#12103) 2022-10-26 20:50:38 +02:00
reimda 3196bc4c1c
chore: shut down plugins gracefully to prevent race (#12102) 2022-10-26 09:32:58 -06:00
Paweł Żak 9d9eb403a6
chore: Review of //nolint comments (#12088) 2022-10-26 12:06:08 +02:00
reimda d88067566c
chore: skip integration test with race (#12100) 2022-10-25 09:41:46 -06:00
Lars Stegman 739f800b53
feat(inputs.opcua_listener): OPC UA Event subscriptions (#11786) 2022-10-25 08:06:08 -06:00
reimda 7d9f09ddc8
chore: add kafka round trip integration test using inputs.kafka_consumer and outputs.kafka (#12058) 2022-10-25 07:50:59 -06:00
Paweł Żak 284edccf92
feat(ethtool): Possibility to skip gathering metrics for downed interfaces (#12087) 2022-10-25 13:02:41 +02:00
Sven Rebhan b76b53dba1
feat(tools): Allow to markdown includes for sections (#12075) 2022-10-24 23:22:18 +02:00
Oliver Gregorius f7c46fd7a1
feat(inputs.apcupsd): Added new fields to apcupsd (#12014) 2022-10-24 15:58:51 +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
Joshua Powers d04e0f2b32
test(inputs.mcrouter): add eventually to pause for metrics (#12074) 2022-10-21 07:27:22 -06:00
reimda a6352d9794
fix(inputs.kafka): switch to sarama's new consumer group rebalance strategy setting (#12064) 2022-10-21 11:08:45 +02:00
Joshua Powers 89cdfa35f7
docs(inputs.http): add use system proxy config option (#12069) 2022-10-20 12:40:37 -06:00
Mya 716394e55d
fix(inputs.modbus): add slave id to failing connection (#12038) 2022-10-20 09:24:17 -06:00
Shobhit Kumar eebe859ce6
docs(aggregators.starlark): corrected typo mentioning wrong func name (#12066) 2022-10-20 07:27:07 -06:00