Commit Graph

3080 Commits

Author SHA1 Message Date
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 150f0cd3a7
feat(inputs.modbus): add workaround to enforce reads from zero for coil registers (#12408) 2023-01-09 12:35:46 -07:00
Sven Rebhan 11228ee8ad
fix(inputs.gnmi): update configuration documentation (#12415) 2023-01-09 12:35:13 -07:00
Sven Rebhan 63ab159481
feat(secretstores): add support for additional input plugins (#12067) 2023-01-09 09:17:23 -07:00
goswamisandeep aa2b6947ff
feat(inputs.sqlserver): get database pages performance counter (#12400) 2023-01-09 07:44:54 -07:00
Sven Rebhan 6fb08bb3da
feat(kafka): Add keep-alive period setting for input and output. (#12459) 2023-01-05 16:48:31 +01:00
Ben Tasker 7da20da930
docs(inputs.postgresql): update readme and samples to note timeout behavior (#12446) 2023-01-03 10:35:13 -07:00
Paweł Żak 86cd0c0c24
chore: Fix linter findings for makezero (part4) (#12410) 2022-12-20 11:42:09 +01:00
Paweł Żak 9b24184730
fix(inputs.mysql): Revert slice declarations with non-zero initial length (#12409)
Co-authored-by: Pawel Zak <Pawel Zak>
2022-12-19 11:53:43 +01:00
Gianluca Sartori 37db046e06
fix: Added own SPID filter to sqlserverqueries.go (#12387)
This filter has been set on all other source files (azureSqlDB and azureSqlMI) but not on the on-prem version
2022-12-16 07:26:14 -07:00
Gianluca Sartori 82555d3e1c
fix(inputs.sqlserver): SqlRequests include sleeping sessions with open transactions (#12386) 2022-12-16 06:28:15 -07:00
Sven Rebhan d9820bfd7b
fix(inputs.x509_cert): fix off-by-one when adding intermediate certificates (#12404) 2022-12-15 07:52:36 -07:00
Sven Rebhan 9f55bc605e
fix(secretstores): cleanup duplicate printing (#12401) 2022-12-15 06:35:05 -07:00
Maxim Ivanov fe9a0eb6f5
feat(inputs.stackdriver): Allow filtering by resource metadata labels (#12377) 2022-12-13 11:08:21 +01:00
Orfeas Zafeiris 459a658224
feat(inputs.powerdns_recursor): Support for new PowerDNS recursor control protocol (#9633) 2022-12-12 18:01:49 +01:00
Paweł Żak c6663aca4f
chore: fix linter findings for makezero (part3) (#12371) 2022-12-12 07:05:33 -07:00
Joshua Powers 4f7717b4fd
test(inputs.statsd): increase sleep + expiration on test (#12354) 2022-12-09 12:55:10 -07:00
Sven Rebhan 9b33b95bc0
feat(inputs.netflow): add netflow plugin (#12108) 2022-12-09 11:40:30 -07:00
goswamisandeep 5eee8faa95
feat(inputs.sqlserver): add @@SERVICENAME and SERVERPROPERTY(''IsClustered'') in measurement sqlserver_server_properties (#12351) 2022-12-09 11:24:57 -07:00
Sven Rebhan 7df97486d4
fix(inputs.modbus): fix default value of transmission mode (#12367) 2022-12-09 11:23:51 -07:00
Maxim Ivanov 95bdcbb7d5
fix(inputs.kube_inventory): Change default token path, use in-cluster config by default (#12284) 2022-12-09 16:58:14 +01:00
Maxim Ivanov df3b23de3a
feat(inputs.kubernetes): Allow fetching kublet metrics remotely (#12301)
Co-authored-by: Maxim Ivanov <hi@yamlcoder.me>
2022-12-09 16:56:24 +01:00
Pranay Kanwar 4161651fed
feat(inputs.smart): Add additional SMART metrics that indicate/predict device failure (#12329) 2022-12-09 16:46:21 +01:00
zhiyuan-mojie 375e089d12
fix(inputs.mongodb): Fix connection leak triggered by config reload (#12330)
Co-authored-by: amliu <amliu@qq.com>
2022-12-09 16:44:33 +01:00
Paweł Żak 4717a03509
chore: Fix linter findings for makezero (part2) (#12362) 2022-12-09 16:38:37 +01:00
Sven Rebhan c98115e744
feat: secret-store implementation (#11232) 2022-12-08 09:53:06 -07:00
jinx ad780bb1eb
fix(inputs.sql): cast measurement_column to string (#12323) 2022-12-08 08:27:48 -07:00
Sven Rebhan 8d78c5fbdc
chore(deps): Bump github.com/gosnmp/gosnmp from 1.34.0 to 1.35.0 (#12355) 2022-12-08 10:19:04 +01:00
Pontus Rydin dae0d82b9a
fix(inputs.vsphere): Eliminated duplicate samples (#12259) 2022-12-07 17:02:02 +01:00
Michael Hoffmann d7d1f8b3f0
feat(inputs.cgroups): do not abort on first error, print message once (#12342) 2022-12-07 07:21:59 -07:00
Sven Rebhan 5cb40a1882
feat(inputs.modbus): add support for half-precision float (float16) (#12340) 2022-12-07 07:20:51 -07:00
Joshua Powers da0c186a71
feat(tls): allow setting renegotiation method (#12302) 2022-12-06 20:09:58 -07:00
Sven Rebhan eea9021771
fix(inputs.modbus): Fix Windows COM-port path (#12339) 2022-12-06 15:47:58 +01:00
goswamisandeep e44129869c
feat(inputs.sqlserver): introduce timeout for query execution (#12319) 2022-12-06 07:24:19 -07:00
Boris Lytochkin 41c9af5bb8
fix(inputs.zfs): Unbreak datasets stats gathering in case listsnaps is enabled on a zfs pool (#12307) 2022-12-05 22:01:59 +01:00
Trevor North 70b33c2649
feat(inputs.kafka_consumer): Add sarama debug logs (#12304) 2022-12-05 21:54:08 +01:00
Charlie Jonas 1a6c363cf1
feat(inputs.http_response): Add User-Agent header (#12324) 2022-12-05 21:52:52 +01:00
goswamisandeep 4a378c6ff9
feat(inputs.sqlserver): add metric available_physical_memory_kb in sqlserver_server_properties (#12292) 2022-12-01 07:50:38 -07:00
TimurDela edb2358764
feat(inputs.modbus): optimize grouped requests (#11106) 2022-11-30 09:31:41 -07:00
Sven Rebhan d10ab3a417
chore(inputs.gnmi): Degrade empty-name error to a warning and add instructions. (#12305) 2022-11-30 12:09:31 +01:00
Sven Rebhan c31f8116ba
fix(inputs.directory_monitor): Close input file before removal (#12294) 2022-11-29 14:06:55 +01:00
Sven Rebhan 54f4a3a38b
fix(inputs.gnmi): Do not provide empty prefix for subscription request. (#12275) 2022-11-28 20:58:43 +01:00
Maxim Ivanov 9d5c879cac
fix(inputs.prometheus): correctly default to 9102 port (#12282) 2022-11-28 08:19:44 -07:00
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
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
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
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
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 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
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 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
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 b9bba638b1
chore: Wrap long lines in plugins/inputs/[a-d]* (#12185) 2022-11-08 18:41:17 +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
Sven Rebhan 74454109b9
fix(inputs.cloudwatch): Fix multiple namespaces issue (#12177) 2022-11-07 15:43:20 +01: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 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 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
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
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
Sven Rebhan e097676f71
fix(inputs.modbus): Handle field-measurement definitions correctly on duplicate field check (#12109) 2022-10-26 14:58:27 -05: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 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
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
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
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
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
Tomas Barton 0087a5d245
feat(inputs.conntrack): Parse conntrack stats (#8958) 2022-10-12 14:12:16 -05: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
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 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
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
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
R290 c78139c8b9
feat(inputs.opcua): add use regular reads workaround (#11630) 2022-09-26 11:33:59 -06:00
Ted M Lin 2b37d7e508
fix(inputs.mqtt_consumer): rework connection and message tracking (#10696) 2022-09-26 11:09:44 -06:00
Gavin Chappell 2d124a4dbe
fix(inputs.internet_speed): rename enable_file_download to match upstream intent (#11877) 2022-09-26 07:24:20 -06:00
Sebastian Spaink 4913392b85
chore: Remove deprecated build tags (#11867) 2022-09-22 13:25:31 -05:00
Joshua Powers f899eb5cde
fix(inputs.mongodb): actually start plugin correctly (#11849) 2022-09-21 13:05:01 -06:00
Sven Rebhan 8e23402305
chore: remove deprecated io/ioutils (#11678) 2022-09-20 09:37:14 -06:00
Mya 5f22bd17db
fix(internal.ethtool): avoid internal name conflict with aws (#11696) 2022-09-20 09:36:29 -06:00
Chris Debenham eabb66f7d7
docs(inputs.nvidia_smi): Example of how to enable nvidia-smi via docker compose (#11833) 2022-09-20 09:34:44 -06:00
gkatzioura e5ee9e198b
feat(inputs.gcs): Google Cloud Storage Input Plugin (#8413) 2022-09-19 14:01:04 -06:00
Sven Rebhan 4897f86ed7
fix(parsers.csv): Remove direct checks for the parser type (#11825) 2022-09-19 12:15:32 -06:00
Sven Rebhan 6236059817
fix(inputs.ntpq): Handle pools with "-" when (#11827) 2022-09-19 11:43:22 -06:00
Sven Rebhan 2b7cafcdbe
fix(parsers): Unwrap parser and remove some special handling (#11826) 2022-09-19 09:57:24 -06:00
Sven Rebhan d637a665e8
fix(inputs.modbus): Do not fail if a single slave reports errors (#11785) 2022-09-15 15:42:47 -06:00
Greg Linton 21a7d6fcbe
fix(inputs.ceph): Modernize Ceph input plugin metrics (#10797) 2022-09-14 20:57:26 +02:00
Alexander Zimmermann 71b4a0afa6
feat(inputs.knx_listener): support TCP as transport protocol (#11783) 2022-09-13 14:05:31 -07: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
Sebastian Spaink ba62aca4e2
feat(inputs.directory_monitor): Support paths for files_to_ignore and files_to_monitor (#11784) 2022-09-12 08:00:44 -06:00
Sven Rebhan 78bdf9a1b2
chore(inputs.jolokia2): Move agent and proxy one level up (#11637) 2022-09-09 17:48:15 -06:00
Sven Rebhan 3d2b7bd210
fix: Do not error out for parsing errors in datadog mode. (#11777) 2022-09-08 13:55:24 -06:00
Joshua Powers 8c49ddccc3
chore: update to go1.19.1 (#11776) 2022-09-08 12:49:36 -06:00
Wilfried OLLIVIER e46f90e89c
fix(inputs.mongodb): add an option to bypass connection errors on start (#11629) 2022-09-07 14:25:32 -05:00
Sebastian Spaink f238df20ff
feat(inputs.directory_monitor): Traverse sub-directories (#11773) 2022-09-07 21:08:42 +02:00
Joshua Powers dc9abf3f04
fix(inputs.jolokia2): add optional origin header (#11692) 2022-09-07 13:08:21 -06:00
deweter ab185887c0
feat(inputs.sqlserver): Improved filtering for active requests (#11709) 2022-09-07 11:30:11 +02:00
Sebastian Spaink 15c7bc51f1
fix(inputs.opcua): Assign node id correctly (#11723) 2022-08-31 16:56:30 -05:00
Sebastian Spaink a57434eb4e
feat: Migrate to urfave/cli (#11700) 2022-08-24 21:46:58 -05:00
Fabian Mastenbroek 7f3395f148
feat(inputs.linux_cpu): Add plugin to collect CPU metrics on Linux (#8988) 2022-08-24 13:10:45 -06:00
deweter bacb6c385d
fix(inputs.sqlserver): fixing wrong filtering for sqlAzureMIRequests and sqlAzureDBRequests (#11701) 2022-08-22 13:05:43 -06:00
Marshall Royce 1dc617ebdd
feat(inputs.mqtt_consumer): Add incoming mqtt message size calculation (#11426) 2022-08-22 13:54:38 -05:00
deweter 1cc24efd3b
feat(inputs.sqlserver): Add db name to io stats for MI (#11688) 2022-08-17 13:11:06 -06:00
Povilas Versockas 447e8a385e
fix: refactor telegraf version (#11656) 2022-08-17 13:08:31 -06:00
yahaa 4f4d168e74
fix(inputs.prometheus): plugin run outside k8s cluster error (#11673) 2022-08-17 08:27:46 -06:00
Sven Rebhan 09eb7ee111
chore: Move aws credentials to plugins/common. (#11681) 2022-08-16 19:04:30 +02:00
reimda 07179c466b
chore: Use build tags to select plugins (#11654) 2022-08-15 22:44:59 +02:00
Sven Rebhan 7fa6f5f4fb
fix: Sync sql output and input build constraints to handle loong64 in go1.19. (#11664) 2022-08-15 10:00:42 -06:00
Joshua Powers de414da72d
docs(inputs.zookeeper): document use of prometheus plugin (#11658) 2022-08-11 08:14:58 -06:00
Sven Rebhan 9fbd275d17
chore: Markdown fixes for inputs/[a-m]* (#11606) 2022-08-09 18:57:31 +02:00
Sven Rebhan e96bbe83c5
feat(common.tls): Implement minimum TLS version for clients (#11493) 2022-08-09 13:36:47 +02:00
niasar b80d34a422
feat: Supervisord input plugin (#9015) 2022-08-08 12:25:26 -06:00
Joshua Powers 75e8640a26
fix(inputs.mongodb): update version check for newer versions (#11635) 2022-08-08 09:37:52 -06:00
Sven Rebhan 7bd9c91ebe
fix(inputs.x509): Multiple sources with non-overlapping DNS entries. (#11613) 2022-08-05 12:54:23 -06:00
Grace Wehner f4e76893d1
feat (inputs/prometheus): add setting to set custom namespace label name to avoid conflicts (#11538) 2022-08-05 08:27:20 -06:00
Joshua Powers 388be518f8
fix(inputs.kubernetes): refresh token from file at each read (#11578) 2022-08-03 13:10:42 -06:00
Sven Rebhan d606899737
feat(inputs.ntpq): Allow to specify `reach` output format (#11594) 2022-08-03 13:03:44 -06:00
Mya f3ce00529d
docs(inputs.exec): clarify parsing for ints (#11597) 2022-08-03 07:42:22 -05:00
Joshua Powers b741f3288a
fix(inputs.kube_inventory): send file location to enable token auto-refresh (#11577) 2022-08-02 15:29:33 -06:00
Sven Rebhan e33ffeb06a
feat(inputs.ntpq): Add possibility to query remote servers (#11592) 2022-08-02 21:02:37 +02:00
singamSrikar a049738a50
feat(inputs.openstack): Add "allow_reauth" config option for openstack client (#11572) 2022-08-02 20:24:26 +02:00
Sven Rebhan ba2ebe896a
feat(inputs.ntpq): Add option to specify command flags (#11593) 2022-08-02 19:26:54 +02:00
Sven Rebhan e2578462a5
fix(inputs): Linter issues (#11576) 2022-08-02 13:52:17 +02:00
Sven Rebhan 9f57f9408c
chore(inputs.ntpq): Cleanup existing plugin (#11575) 2022-08-01 22:09:44 +02:00
Joshua Powers 196abb74cf
fix(inputs.cloudwatch): customizable batch size when querying (#10851) 2022-08-01 13:09:25 -06:00
Sven Rebhan 3ad9fe73ba
chore: More parser cleanup (#11532) 2022-07-28 15:30:36 -05:00
Mya 13b0ed0e6e
fix(inputs.opcua): return an error with mismatched types (#11539) 2022-07-27 13:14:01 -06:00
Sebastian Spaink b87d06eb69
fix(inputs.stackdriver): Handle when no buckets available (#11556) 2022-07-27 10:31:42 -05:00
reimda 7eccb82a3d
docs(inputs.mysql): Add link to docs on how to enable mysql's performance schema (#11555) 2022-07-27 11:14:08 +02:00
reimda ca8a6cfac2
chore: add missing section to kafka_consumer's sample.conf (#11553) 2022-07-26 12:53:06 -06:00
Mya 9a7c308ade
docs: add timeout section (#11550) 2022-07-26 10:07:34 -06:00
Joshua Powers 911072c17b
fix(inputs.sqlserver): set lower deadlock priority (#11548) 2022-07-26 08:51:15 -06:00
Albertas Bužinskas b1546fe1c7
feat(inputs.kafka_consumer): Option to set default fetch message bytes (#11220) 2022-07-25 15:49:34 -06:00
Eszter Gábor f96755c156
docs(inputs.modbus): README changes regarding request.tags (#11541) 2022-07-25 15:14:57 -06:00
Amarinder Cheema d84bf9a949
feat(inputs.statsd): add median timing calculation to statsd input plugin (#11518) 2022-07-22 07:52:11 -06:00
papapiya 79235cb224
fix(inputs.snmp_trap): nil map panic when use snmp_trap with netsnmp translator (#11534) 2022-07-22 11:23:41 +02:00
Mat Wood 08c895d99f
feat(inputs.syslog): log remote host as source tag (#9440) 2022-07-20 13:14:07 -06:00
Sven Burkard 46f059ebfd
feat: added metrics for member and replica-set avg health of MongoDB (#11516) 2022-07-20 13:02:38 -06:00
wuxingzhong cff5c0e852
fix(inputs.mqtt_consumer): topic parsing error when topic having prefix(/) (#11527) 2022-07-20 07:28:20 -06:00
Varlet Nicolas ae695e8736
fix(inputs.sqlserver): set lower deadlock priority (#11522) 2022-07-19 10:12:09 -06:00
Joshua Powers cb0df019ec
fix: make docs + go.mod cleanup post-redis merge (#11521) 2022-07-19 08:50:47 -06:00
Guy Korland 3c5d71b7cd
feat: Add RedisTimeSeries plugin (#11054) 2022-07-19 07:08:51 -06:00
Joshua Powers f29f6cf6a1
docs: run make-docs (#11514) 2022-07-18 15:04:41 -06:00
Danial Ebling 1fa47c8221
feat(inputs.cisco_telemetry_mdt): Add GRPC Keepalive/timeout config options (#11458) 2022-07-18 13:07:42 -06:00
Joshua Powers c984cd87fe
fix: correct init volume gatherer in openstack (#11481) 2022-07-18 13:03:41 -06:00
Bertram Holzer 4766d0cbaf
feat: Nats Jetstream consumer add simple support for jetstream subjects (#11373) 2022-07-18 13:01:53 -06:00
Sven Rebhan 6c7b3b3032
feat(inputs.modbus): Error out on requests with no fields defined. (#11469) 2022-07-15 12:01:53 +02:00
Sebastian Spaink 2d357d464b
docs: Add example output section to HTTP plugin (#11497) 2022-07-14 09:38:39 -05:00
Joshua Powers a5bc5b5974
docs: explain proxmox user/token and node_name (#11487) 2022-07-12 14:36:10 -06:00
Sven Rebhan d7f8f025fc
fix: Backport sync sample.conf and README.md files (#11489)
Co-authored-by: Sven Rebhan <sven.rebhan@honda-ri.de>
2022-07-12 13:59:00 -05:00
Ben Tasker fa0c9c937e
feat(inputs.smart): Collect SSD endurance information where available in smartctl (#11391) 2022-07-12 12:25:54 -05:00
Igor Simonov 8b3cab8093
feat(inputs.logstash): Record number of failures (#9185) 2022-07-11 13:09:25 -06:00
Joshua Powers 508483157d
fix: allow 201 for cookies, update header docs (#11472) 2022-07-08 15:10:46 -06:00
Mya 1a47277298
fix(inputs.snmp): snmp UseUnconnectedUDPSocket when using udp (#10331) 2022-07-08 13:40:32 -06:00
Sven Rebhan bf0d261e53
fix(inputs.upsd): Move to new sample.conf style (#11471) 2022-07-08 08:47:58 -05:00
Adam Gardner e4afb2bcfa
feat(rabbitmq): add support for head_message_timestamp metric (#11475) 2022-07-08 15:23:37 +02:00
bewing a0aa4082a2
chore(gnmi): Add Metrics heading to README.md (#11476) 2022-07-07 15:06:44 -06:00
bewing f29f7b28f2
fix(gnmi): refactor tag-only subs for complex keys (#11011) 2022-07-07 12:50:40 -06:00
glennlod c91eacda42
feat(inputs.nginx_plus_api): Gather limit_reqs metrics (#10874) 2022-07-07 10:43:29 -06:00
Joshua Powers 6aad0a6349
fix: use bigint for backupsize in sqlserver (#11448) 2022-07-07 08:43:15 -06:00
Sebastian Spaink 9744c3a6a2
feat: Migrate influx and influx_upstream parsers to new style (#11432) 2022-07-06 15:23:13 -05:00
Sebastian Spaink 1c8c057984
chore(inputs.socket_listener): Remove parser from init (#11462) 2022-07-06 14:11:08 -05:00
Anton Malinskiy fbccc71abb
feat(input): add upsd implementation (#9890) 2022-07-06 13:09:18 -06:00
Mya 5598a16bdb
docs(inputs.mqtt_consumer): add pivot example to readme (#11195) 2022-07-05 11:27:19 -06:00
Joshua Powers 2f6701013b
test: Update wait statement for postgresql_extensible (#11447) 2022-07-05 17:38:05 +02:00
Sebastian Spaink 9e50853ab8
feat: Migrate nagios parser to new style (#11402) 2022-06-30 13:20:32 -05:00
Cillian McCabe b7e09bb509
feat: adding aws metric streams input plugin (#11233) 2022-06-30 09:59:07 -06:00
Joshua Powers 56a3f18cdf
feat: migrate grok to new parser style (#11408) 2022-06-30 08:10:27 -06:00
Sven Rebhan e710192dc9
feat: Migrate graphite parser to new style (#11405) 2022-06-29 23:08:05 +02:00
Joshua Powers b423a3ec40
feat: migrate value parser to new style (#11407) 2022-06-29 14:46:43 -06:00
Sebastian Spaink b638c5353f
feat: migrate form_urlencoded parser to new style (#11381) 2022-06-29 13:08:12 -06:00
Sven Rebhan 524038a1ec
fix: Sync back sample.confs for inputs.couchbase and outputs.groundwork. (#11413) 2022-06-29 09:04:28 -06:00
papapiya eb77bddde2
fix: resolve jolokia2 panic on null response (#11397) 2022-06-29 07:17:33 -06:00
Alexander Krantz fcc9373eba
feat: allow collecting node-level metrics for Couchbase buckets (#9717) 2022-06-27 13:03:55 -06:00
Joshua Powers d80096a9cb
docs: swap bytes sent/recv descriptions in nfsclient (#11376) 2022-06-23 10:31:23 -06:00
Sven Rebhan a049175e58
fix: Restore sample configurations broken during initial migration (#11276) 2022-06-22 13:33:58 -06:00
reimda db23718f14
fix: don't require listeners to be present in overview (#9315) 2022-06-22 10:28:44 -06:00
Sven Rebhan c46f42f797
feat: Migrate json parser to new style (#11226) 2022-06-22 09:56:51 -06:00
Sebastian Spaink 6700f0ba49
docs: Sync sample.conf for recent features (#11348) 2022-06-22 08:01:56 -05:00
Alexander Krantz 65a60855a0
feat(x509_cert): add proxy support (#9319) 2022-06-21 15:50:06 -05:00
Alexander Krantz d8f2b38b27
feat(redis): add Redis 6 ACL auth support (#9333) 2022-06-21 15:13:18 -05:00
Joshua Powers 42a167ffde
fix: filter out views in mongodb lookup (#11280) 2022-06-21 11:16:12 -06:00
Julien Pivotto fa64e26a0c
chore: fix typo (recieve -> receive) (#11341) 2022-06-21 10:36:41 -06:00
Joshua Powers 3f65217f5e
test: mark integration tests correctly (#11317) 2022-06-16 14:10:11 -06:00
Joshua Powers b312ccf1ec
test: update wait for statement for postgres (#11309) 2022-06-16 13:47:19 -06:00
Joshua Powers a45410368d
docs: explain directly connecting to mongo node (#11314) 2022-06-16 09:43:26 -06:00
skillor 05285a1fdb
feat(inputs.x509_cert): add smtp protocol (#11271)
Co-authored-by: dreiekk <dreiekk@users.noreply.github.com>
2022-06-15 11:46:26 -05:00
Thomas Casteleyn 45c88f84c9
fix(inputs/directory_monitor): Add support for multiline file parsing (#11234) 2022-06-13 09:24:17 -05:00
reimda f7aab29381
chore: Fix readme linter errors for input plugins M-Z (#11274) 2022-06-08 15:22:56 -06:00
Joshua Powers 0b7c3c4b24
fix: add missing build constraints for sqlite (#11272) 2022-06-08 10:38:58 -06:00
Joshua Powers a8ed6fd192
fix: remove full access permissions (#11261) 2022-06-08 09:54:12 -06:00
reimda 453e276718
chore: Fix readme linter errors for input plugins E-L (#11214) 2022-06-07 15:37:08 -06:00
reimda 1b1482b5eb
chore: Fix readme linter errors for input plugins A-D (#10964) 2022-06-07 15:10:18 -06:00
Joshua Powers d13314332e
fix: update modernc.org/sqlite from v1.10.8 to v1.17.3 (#11260) 2022-06-06 15:22:25 -06:00
bkotlowski 6d829c199d
feat(intel_powerstat): add uncore frequency metrics (#11254) 2022-06-06 09:23:48 -06:00
Joshua Powers 58e01f72b2
test: add circle ci integration testing on PRs (#11246) 2022-06-03 10:33:28 -06:00
Joshua Powers 9daefaba11
test: harden running of testcontainer integration tests (#11245) 2022-06-03 10:29:08 -06:00
David Barbarin 8c66d604be
feat(inputs.sqlserver): Update query store and latch performance counters (#11216) 2022-06-02 10:04:14 -05:00
Joshua Powers 1c61aa7fb3
test: migrate elasticsearch to testcontainers (#11207) 2022-06-02 08:20:06 -06:00
Joshua Powers 936b90806b
test: migrate postgres to testcontainers (#11209) 2022-06-02 07:48:13 -06:00
Joshua Powers 43c9e051b5
test: migrate mcrouter to test-containers (#11208) 2022-06-02 07:48:04 -06:00
glennlod a34219adfe
feat(inputs.nginx_plus_api): Gather slab metrics (#10448) 2022-06-01 13:18:13 -06:00
TimurDela 4d92fe4e5e
fix(inputs/modbus): #11105 fix requests starting with an omitted field (#11202) 2022-06-01 13:10:08 -06:00
Sven Rebhan 91d50ee374
fix: Update sample.conf for prometheus (#11217) 2022-06-01 09:22:25 -06:00
Joshua Powers 0147257358
test: enable logging with testcontainers (#11211) 2022-06-01 07:42:46 -06:00
reimda 0dd99b2157
fix(inputs/snmp): switch new Reconnect method to be a value receiver (#11197) 2022-05-27 15:03:46 -06:00
Joshua Powers 1200f3c87e
test: refactor testcontainer port lookup (#11198) 2022-05-27 10:24:31 -06:00
Joshua Powers 02dd7c1752
test: actually skip flaky snmp test (#11199)
This test had a short skip added to it four years ago and a comment that
the test has random failures. While working on the integration tests,
which run all tests this test started showing up in the errors.

While the two asserts at the end could possibly be updated, it is worth
having someone look deeper into understanding why this change is
required.

In order to get integration tests running, this skips this test always.
2022-05-27 07:14:16 -06:00
Joshua Powers 2fc19fa308
chore: correctly spell embed (#11200) 2022-05-27 07:13:47 -06:00
Jacob Marble 8bf4ea8173
chore: update OpenTelmetry plugins (#11194) 2022-05-26 11:26:54 -05:00
reimda 34e5d821f7
docs: remove recommendation for prometheus metric_version=2 (#11158) 2022-05-26 10:07:44 -06:00
Joshua Powers b29503702e
test: migrate zookeeper to test-containers (#11185) 2022-05-25 13:51:38 -06:00
Eng Zer Jun d51634a613
fix(plugins/amqp): move from `streadway/amqp` to `rabbitmq/amqp091-go` (#11192) 2022-05-25 13:16:13 -06:00
Sven Rebhan 2a87947244
feat: Add constant 'algorithm' to the mock plugin (#11188) 2022-05-25 13:10:08 -06:00
zhiyuan-mojie ae98e7f1f6
fix: redis plugin goroutine leak triggered by auto reload config mechanism (#11143) 2022-05-25 12:58:12 -06:00
Thomas Casteleyn 885444ab3e
fix(inputs/snmp): Reconnect TCP agents if needed (#11163) 2022-05-25 12:47:51 -06:00
Joshua Powers 22efc25daa
test: migrate pgbouncer to test-containers (#11186) 2022-05-25 10:45:55 -06:00
Joshua Powers 912e3362d2
test: migrate openldap tests to test-containers (#11169) 2022-05-24 10:58:50 -06:00
Joshua Powers d5ff34bc14
test: migrate opcua to test-containers (#11171) 2022-05-24 10:05:04 -06:00
Joshua Powers d65640f9e6
test: migrate aerospike to test-containers (#11177) 2022-05-24 09:59:04 -06:00
Sven Rebhan 15fd1133c7
fix: Convert slab plugin to new sample.conf. (#11181) 2022-05-24 10:55:36 -05:00
Joshua Powers 59a7f76117
test: migrate memcached to test-containers (#11176) 2022-05-24 09:30:29 -06:00
Joshua Powers cb9d9fe075
test: migrate redis to test-containers (#11174) 2022-05-24 09:30:19 -06:00
Sven Rebhan 56eb914998
chore: Embed sample configurations into README for inputs (#11136) 2022-05-24 08:49:47 -05:00
Joshua Powers 596b0e149b
fix: Remove any content type from prometheus accept header (#11082)
In #6745, the prometheus accept header was changed to accept any media
type. However, our prometheus plugin only accepts text. With the release
of newer versions of prometheus, the OpenMetrics type is now available
and could potentially be setup as the exclusive response type. As this
new content type is not supported, Telegraf should not accept it.

The original issue, #6523, was filed around getting a 406. The issue had
comments from the rabbit-mq maintainers who made changes to their code
to be less regid resolving the issue. The change to telegraf was made
afterwards anyway.

fixes: #10248
2022-05-24 15:11:17 +02:00
Martin Molnar b5e5f4cfd7
feat(inputs.cpu): Add tags with core id or physical id to cpus (#11141) 2022-05-23 21:10:18 +02:00
bkotlowski df3e9ec2a2
feat(intel_powerstat): add Max Turbo Frequency and introduce improvements (#11035) 2022-05-23 13:02:32 -06:00