Commit Graph

4108 Commits

Author SHA1 Message Date
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
Sven Rebhan 4002abba2e
fix(inputs.conntrack): Skip gather tests if conntrack kernel module is not loaded. (#12062) 2022-10-19 22:08:33 +02:00
Sebastian Spaink f38c9f2a45
chore: Resolve deprecated linter issues (#12051) 2022-10-19 18:32:53 +02:00
Joshua Powers 13a020f491
fix(inputs.zookeeper): add the ability to parse floats as floats (#12023) 2022-10-19 10:15:32 -06:00
Joshua Powers c5e2c7aa00
test: add additional checks, waits in integration tests (#12056) 2022-10-19 09:54:00 -06:00
Joshua Powers 3a162332c1
docs(inputs.mongodb): update supported versions (#12048) 2022-10-19 12:37:10 +02:00
Brett Jones 668b7eb54a
fix(inputs.mongodb): ServerStatus int64 to float(#12049) 2022-10-19 09:11:02 +02:00
Joerg Epping 589447abaf
feat(inputs.modbus): add config option to pause after connect (#11983) 2022-10-18 12:42:18 -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
bkotlowski f44e0d148c
feat: New Intel DLB input plugin (#11824) 2022-10-17 13:03:48 -06:00
Joshua Powers e13fe616fe
docs(inputs.tomcat): clean up fields (#12018) 2022-10-17 07:15:22 -06:00
suprajanarasimhan 90d8f426b3
refactor: Prevent import from going the wrong way (#12004) 2022-10-13 14:11:24 -06:00
Paweł Żak 94e39fa018
feat: New input plugin for libvirt (#11814) 2022-10-12 17:05:42 -06:00
Joshua Powers 39e4bcdc90
test: add dovecot integration test (#11996) 2022-10-12 15:25:33 -06:00
Paweł Żak 5878278fca
chore: resolve linter issues for unhandled-error (#11969) 2022-10-12 14:23:53 -06:00
Joshua Powers a915d2c20c
test: add integration test for recovering after invalid data (#11994) 2022-10-12 13:59:47 -06:00
Joshua Powers 6fa06d4405
fix(inputs.syslog): print error when no error or message given (#11997) 2022-10-12 13:54:27 -06:00
Paweł Żak 85b7590ff9
chore: resolve linter issues for confusing-naming and confusing-results (#11956) 2022-10-12 13:19:47 -06:00
Tomas Barton 0087a5d245
feat(inputs.conntrack): Parse conntrack stats (#8958) 2022-10-12 14:12:16 -05:00
Joshua Powers 7c1d1755d8
fix(parsers.json_v2): Remove BOM before parsing (#11926) 2022-10-12 13:08:56 -06:00
Paweł Żak 08c1ce9cb6
chore: Resolve linter issues for ineffassign, nilerr, gosimple... (#11966) 2022-10-12 13:08:03 -06:00
R290 beba64e006
fix(inputs.opcua): Add metric tags to node (#11993) 2022-10-12 10:41:44 -06:00
R290 430ec5b960
feat(outputs.event_hubs): Expose max message size batch option (#11991) 2022-10-12 08:49:11 -06:00
Sebastian Spaink fae64e2a63
chore(inputs.powerdns): Don't run flaky test on Windows (#11982) 2022-10-11 12:44:49 -05:00
Sebastian Spaink b477573359
chore(inputs.cloud_pubsub_push): Don't run flaky test on Windows (#11984) 2022-10-11 12:44:41 -05: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
Sven Rebhan 8ca3b9262a
feat(parsers.xpath): Add option to skip (header) bytes (#11933) 2022-10-11 09:27:07 -06:00
Sven Rebhan a94da1d235
chore(inputs.socket_listener): Reorganize test to be table-based. (#11970) 2022-10-11 10:13:50 -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
Sven Rebhan 4b18183da2
fix(inputs.modbus): Improve duplicate field checks (#11912) 2022-10-04 18:01:54 +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
Sven Rebhan 758f2cba7a
fix(parser.xpath): Handle floating-point times correctly (#11875) 2022-10-03 08:32:52 -06:00
Joshua Powers 173d32a201
fix(inputs.influxdb_listener): error on invalid precision (#11866) 2022-10-03 07:23:06 -06:00
Sebastian Spaink 53175321e0
docs: Ran `make docs` (#11914) 2022-09-30 13:00:46 -06:00
Giuseppe e601f91c2b
docs(inputs.opcua): fix typo (#11897) 2022-09-30 07:34:19 -06:00
Thomas Casteleyn aa2d4d12c7
chore(lint): Removed deprecated varcheck linter (#11910) 2022-09-30 07:26:10 -06:00
Sven Rebhan 373966babe
feat(inputs.diskio): Allow selecting devices by ID (#11703) 2022-09-28 09:26:14 -05:00
Mya d37ae5f775
chore(inputs.opcua): rename regular reads to unregistered reads (#11892) 2022-09-27 10:39:37 -06:00
Sven Rebhan 8a9c2eec85
chore(processors): Convert processors to `ParserPlugin`s (#11600) 2022-09-26 22:24:34 +02:00
Sebastian Spaink d982ed9a45
feat(inputs.amqp_consumer): Determine content encoding automatically (#11860) 2022-09-26 21:28:32 +02:00
Thomas Casteleyn a2baab3d36
chore(deps): Replace go-ping by pro-bing (#11836) 2022-09-26 13:04:30 -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
Joshua Powers 6e924fcd5c
docs(inputs.cpu): explain macos cpu support requires cgo (#11883) 2022-09-26 12:13:06 -06:00