Commit Graph

4541 Commits

Author SHA1 Message Date
Sven Rebhan e58891be11
fix(inputs.amqp_consumer): Fix panic on Stop() if not connected successfully (#12817) 2023-03-09 15:20:53 +01:00
Joshua Powers 603cdfb620
fix(inputs.ethtool): Close namespace (#12815) 2023-03-09 12:00:02 +01:00
Simon Everts d063dc2e58
feat(inputs.ethtool): Add support for link speed, duplex, autoneg and… (#12814) 2023-03-09 11:59:04 +01:00
Sven Rebhan 7981260f22
feat(agent): Add command-line option to specify password (#12812) 2023-03-09 11:54:27 +01:00
Sven Rebhan df19061166
feat(processors): Add lookup processor (#12809) 2023-03-08 10:44:23 -07:00
Sven Rebhan 0e1b637414
feat(inputs.win_eventlog): Add state-persistence capabilities (#12790) 2023-03-07 11:53:25 -07:00
Sven Rebhan 0a0cbc24d5
feat(inputs.modbus): Add RS485 specific config options (#12786) 2023-03-07 11:29:59 -07:00
an0nfunc 69d9a4322f
feat(inputs.cgroup): Added support for cpu.stat (#12798) 2023-03-07 09:42:53 +01:00
Joshua Powers 5b27866b13
docs: Clean up make docs on windows (#12796) 2023-03-07 09:40:13 +01:00
Joshua Powers 2b6d9f22ad
chore(secretstores.os): Unify config (#12791) 2023-03-07 09:39:17 +01:00
Joshua Powers 4747e7ba10
chore: Unify sample configs across OSes (#12789) 2023-03-07 09:38:05 +01:00
Maxim Ivanov ee682539e7
feat(inputs.prometheus): Use namespace annotations to filter pods to be scraped (#12777) 2023-03-07 09:26:38 +01:00
Joshua Powers 5cc55fa900
chore: run make docs (#12802) 2023-03-06 07:29:29 -07:00
Sven Rebhan 119a95dc72
feat(inputs.docker_log): Add state-persistence capabilities (#12775) 2023-03-06 12:33:23 +01:00
Paweł Żak 360edd52b6
chore: Fix linter findings for errorlint (part8) (#12785)
Co-authored-by: Pawel Zak <Pawel Zak>
2023-03-06 12:27:03 +01:00
Jovan Kostovski 332997089b
docs: Add optional tls parameters to the documentation (#12788) 2023-03-06 12:25:04 +01:00
Joshua Powers 8e5c2d0538
chore: Specify distro support (part 3) (#12792) 2023-03-06 12:18:43 +01: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
Joshua Powers dfe8b43e20
fix(inputs.statsd): On close, verify listener is not nil (#12778) 2023-03-03 06:45:33 -07:00
Paweł Żak e2a510f157
chore: Fix linter findings for errorlint (part7) (#12772)
Co-authored-by: Pawel Zak <Pawel Zak>
2023-03-03 10:11:54 +01:00
Paweł Żak 5c234d8749
chore: Bump golangci-lint from v1.51.0 to v1.51.2 (#12782)
Co-authored-by: Pawel Zak <Pawel Zak>
2023-03-03 10:06:54 +01:00
Adam Thornton acd1500d2b
feat(parsers.avro): Add Apache Avro parser (#11816) 2023-03-02 11:10:47 -07:00
Sven Rebhan f87916aaa9
feat: Plugin state-persistence (#12166) 2023-03-01 15:34:48 -07:00
Joshua Powers 3a0a9f0f92
chore: Document linux only plugins (part 2) (#12765) 2023-03-01 22:22:29 +01:00
Joshua Powers 5e65077860
chore: Document linux only plugins (part 1) (#12764) 2023-03-01 22:21:14 +01:00
Paweł Żak b2b58bab9e
chore: Fix linter findings for errorlint (part6) (#12733)
Co-authored-by: Pawel Zak <Pawel Zak>
2023-03-01 22:19:38 +01:00
Paweł Żak 5b2346dfa0
chore: Fix linter findings for errorlint (part5) (#12731)
Co-authored-by: Pawel Zak <Pawel Zak>
2023-03-01 22:18:35 +01:00
Joshua Powers cb040d68d3
docs(aggregators.derivative): Add explanation of calculations (#12758) 2023-03-01 14:32:58 +01:00
Joshua Powers 56ecbba523
chore: Enable printing Windows sample configs on non-Windows (#12741) 2023-03-01 14:31:45 +01:00
Sven Rebhan 6e3af9d06c
feat(outputs.mqtt): Add option to specify topic layouts (#12697) 2023-02-28 11:44:35 -07:00
Sven Rebhan 9e519def51
feat(common.tls): add enable flag (#12727) 2023-02-27 11:22:40 -07:00
Joshua Powers d40f46e7ce
feat(inputs.jti_openconfig_telemetry): Set timestamp from data (#12730) 2023-02-27 18:39:25 +01:00
Sven Rebhan a90b6eb119
fix(serializers.json): allow stateful transformations (#12735) 2023-02-24 07:16:05 -07:00
Pierrick Brossin e51b3810ab
fix(inputs.lvm): add options to specify path to binaries (#12725) 2023-02-24 07:02:29 -07:00
Joshua Powers 86eee2848f
feat(inputs.wireguard): Add allowed_peer_cidr field (#12729) 2023-02-24 10:46:09 +01:00
Thomas Casteleyn 6a2f6f301f
chore: eliminate unnecessary use of quoted strings in printf (#12722) 2023-02-23 06:49:36 -07:00
Sven Rebhan 245705cf24
fix(parsers.xpath): Fix panic for JSON name expansion (#12724) 2023-02-22 16:30:31 -07:00
r3inbowari 4cd0a647c0
feat(inputs.internet_speed): Add the best server selection via latency and jitter field (#12707) 2023-02-22 21:40:44 +01:00
Paweł Żak 312fb04b68
chore: Fix linter findings for errorlint (part4) (#12723)
Co-authored-by: Pawel Zak <Pawel Zak>
2023-02-22 21:38:06 +01:00
julesroussel3 100a27e823
feat(inputs.win_wmi): add Windows Management Instrumentation (WMI) input plugin (#11250) 2023-02-22 11:28:27 -07:00
Joshua Powers caf14adb17
feat(inputs.disk): Add label as tag (#12696) 2023-02-22 15:55:55 +01:00
Joshua Powers 29916dfee0
test(inputs.x509_cert): fix missing tag (#12720) 2023-02-22 07:33:34 -07:00
Sven Rebhan d1d9737da6
feat(inputs.x509_cert): Add tag for certificate type-classification (#12656) 2023-02-22 13:39:15 +01: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
Paweł Żak 4201f24020
chore: Fix linter findings for errorlint (part2) (#12702)
Co-authored-by: Pawel Zak <Pawel Zak>
2023-02-22 12:08:46 +01:00
Thomas Casteleyn 8c2bb92f26
chore(inputs.net_response): Use Init to check configuration issues (#12690) 2023-02-22 11:36:58 +01:00
Frank Inselbuch 0cedfa6398
docs(parsers.json_v2): fix spelling typo (#12711) 2023-02-21 07:16:11 -07:00
Sven Rebhan c2854204ae
feat(inputs.statsd): add pending messages stat and allow to configure number of threads (#12318) 2023-02-17 13:46:23 -07:00
Sven Rebhan 75cbda186c
chore(mqtt): unify input and output plugin's MQTT client (#12683) 2023-02-17 12:59:02 -07:00
Yauhen Shulitski da675d4788
feat(inputs.haproxy): Add support for tcp endpoints in haproxy plugin (#12680) 2023-02-17 15:17:32 +01:00
Jarno Huuskonen 54c091977c
feat(inputs.x509_cert): Add OCSP stapling information for leaf certificates (#10550) (#12444)
Co-authored-by: Josh Powers <powersj@fastmail.com>
2023-02-17 09:47:54 +01: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
felixhuettner 5ac9494172
fix(inputs.bond): Reset slave stats for each interface (#12462) 2023-02-16 10:49:56 +01:00
Joshua Powers c37b5871ac
fix(inputs.cloudwatch): Verify endpoint is not nil (#12677) 2023-02-15 21:00:58 +01:00
Joshua Powers ecfd367a46
feat(processors.unpivot): Add mode to create new metrics (#12659) 2023-02-15 11:34:56 +01:00
Joshua Powers edd3e58e1a
docs: Tracking metrics (#12663) 2023-02-13 16:05:15 +01:00
Sven Rebhan ff89b7778b
fix(inputs.x509_cert): Fix Windows path handling (#12629) 2023-02-13 09:22:39 +01:00
Joshua Powers f206c27d89
fix(inputs.cloudwatch): enable custom endpoint support (#12657) 2023-02-10 11:15:30 -07:00
Eng Zer Jun 4d0f05980e
test: Use `t.Setenv` to set env vars (#12621) 2023-02-10 11:46:14 +01:00
Pascal Zimmermann aa0b9d7dcf
fix: Rename the Prometheus Input Plugin Timeout variable (#12626) 2023-02-10 11:44:42 +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
Joshua Powers d5a101aff6
docs: remove whitespace (#12655) 2023-02-09 07:44:45 -07:00
Joshua Powers 2aa57f00ad
docs: Update all readme to pass linter (#12615) 2023-02-09 11:04:41 +01:00
Joshua Powers 5553b33e4a
feat(inputs.http_listener_v2): Add custom server http headers (#12645) 2023-02-09 10:56:16 +01:00
Sven Rebhan 58a01e1daf
fix(inputs.gnmi): Handle both new-style `tag_subscription` and old-style `tag_only` (#12512) 2023-02-08 19:30:05 +01:00
Joshua Powers 8af579752f
fix(inputs.cisco_telemetry_mdt): check subfield sizes to avoid panics (#12637) 2023-02-08 09:48:25 -07:00
Minsoo, Kim 5bbf790242
fix(inputs.tail): fix typo in the README (#12648) 2023-02-08 06:49:30 -07:00
Ben Woods 3571d0a49b
docs(inputs.syslog): add BSD syslog to readme intro (#12647) 2023-02-08 06:49:06 -07:00
Joshua Powers c42d8e30b6
feat(inputs.internet_speed): server ID include and exclude filter (#12617) 2023-02-07 10:52:21 -07:00
Joshua Powers fc1fb2fcd9
docs(inputs.procstat): add ppid field (#12641) 2023-02-07 09:37:21 -07:00
Joshua Powers 3894ca6b91
docs(inputs.snmp): Explain different snmp backends (#12627) 2023-02-07 17:19:29 +01:00
Jacob Marble 80b48774ac
chore: Update OpenTelemetry (#12638) 2023-02-07 17:17:31 +01: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
Tomas Barton 0ea50fa3b5
fix(inputs.conntrack): Resolve segfault when setting collect field (#12603) 2023-02-07 16:55:28 +01:00
jokuniew 0f2db7abb8
feat(inputs.p4runtime): Implementation of P4Runtime input plugin (#12473)
Co-Authored-By: Jakub Sikorski <jakub.sikorski@intel.com>
2023-02-07 16:45:27 +01:00
Joshua Powers 64033bd393
feat(inputs.processes): Add `use_sudo` option for BSD (#12628) 2023-02-06 22:00:21 +01:00
Francois Steyn 7345b400ff
docs(inputs.prometheus): fix incorrect headers option (#12625) 2023-02-06 09:52:51 -07: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
Dmitry Khamitov e466cab0c0
fix(inputs.mongodb): SIGSEGV when restarting MongoDB node (#12604) 2023-02-03 10:12:16 +01:00
Joshua Powers bf108da447
chore: Update to go1.20 (#12593) 2023-02-03 09:47:02 +01:00
Tom Pillot cde651b7ee
fix(inputs.mongodb): Improve error logging (#12599) 2023-02-03 09:44:50 +01:00
Sven Rebhan dfc5cdf924
docs: indicate secret-store support in plugin READMEs (#12592) 2023-02-02 09:31:23 -07:00
Nick McKinney d35bd06802
feat(inputs.opensearch_query): add opensearch_query input plugin (#12393) 2023-02-02 08:41:56 -07:00
Paweł Żak 473aa0de17
chore: Lint whole codebase both in PR and master branch (#12590) 2023-02-02 14:16:21 +01:00
Joshua Powers 6e2d8137e4
docs(inputs.postgresql): Provide socket connection details (#12584) 2023-02-02 14:15:49 +01:00
Thomas Casteleyn 0ade9e1a88
feat(inputs.example): Add secret-store sample code (#12550) 2023-02-02 14:14:47 +01:00
Sven Rebhan 177ce5eea3
feat(inputs.mysql): add secret-store support (#12591) 2023-02-01 16:09:58 -07: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
Jacob Marble e1db44c3b2
chore(inputs.opentelemetry): Update OpenTelemetry input plugin (#12561) 2023-02-01 17:58:43 +01:00
Jacob Marble a5cf3cccef
chore(deps): update gopsutil dependency from 3.22.9 to 3.22.12 (#12580) 2023-01-31 13:28:23 -07:00
Sven Rebhan 6f33711c38
chore(inputs.x509_cert): fix linter warning (#12577) 2023-01-31 12:05:05 -07:00
Sven Rebhan e6655d534e
fix(inputs.mysql): avoid side-effects for TLS between plugin instances (#12576) 2023-01-31 11:29:45 -07:00
Joshua Powers f82f2fdb16
fix(inputs.upsd): Add additional fields (#12543) 2023-01-31 10:41:58 +01:00
Joshua Powers b20e490031
fix(outputs.prometheus_client): Expire with ticker, not add/collect (#12560) 2023-01-31 10:38:10 +01:00
Viraj Sinha e96a49ea83
fix(inputs.opcua): fix opcua and opcua-listener for servers using password-based auth (#12529) 2023-01-30 08:14:58 -07:00
Pascal Zimmermann dc9eb02301
fix(inputs.prometheus): Set the timeout for slow running API endpoints correctly (#12559) 2023-01-30 15:52:54 +01:00
Sven Rebhan 2529d5fa16
feat(inputs.win_perf_counters): add remote system support (#12556) 2023-01-27 10:22:25 -07:00
Joshua Powers d3e1f95b87
feat(inputs.gnmi): Set max gRPC message size (#12495) 2023-01-27 10:11:29 +01:00
Sven Rebhan eb03bb5599
fix(inputs.exec): restore pre-v1.21 behavior for CSV data_format (#12533) 2023-01-26 13:51:39 -07:00
deweter 7e87a25123
fix(inputs.sqlserver): Suppress error on secondary replicas (#12528) 2023-01-26 06:52:15 -07:00
Paweł Żak 00347033ab
chore: Fix linter findings for nolintlint (part2) (#12430)
Co-authored-by: Pawel Zak <Pawel Zak>
2023-01-26 11:27:32 +01:00
Tomas Barton d3809956a4
feat(inputs.icinga2): Support collecting hosts,services and endpoint metrics (#12506) 2023-01-26 11:16:35 +01:00
Joshua Powers 4b445f6a26
fix(inputs.upsd): Always convert to float (#12516) 2023-01-26 10:57:23 +01:00
Paweł Żak d9d9cd4c0b
chore: fix linter findings for nolintlint part 1 (#12427) 2023-01-25 13:28:13 -07: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
Severin Dellsperger 607bfdbc97
feat(inputs.cisco_telemetry_mdt): include delete field (#12345) 2023-01-25 12:17:47 -07:00
andoks dc89a0401c
docs(outputs.mqtt): fix incorrect use of brackets (#12539) 2023-01-25 09:03:46 -07:00
Joshua Powers c73bf332c3
fix(inputs.logstash): Collect opensearch specific stats (#12536) 2023-01-25 10:38:18 +01:00
Maxim Ivanov 51f23d244e
fix(inputs.prometheus): correctly track deleted pods (#12522) 2023-01-23 08:13:51 -07:00
Sven Rebhan 410226051d
feat(inputs.dns_query): Add IP field(s) (#12519) 2023-01-20 16:40:43 +01:00
Paweł Żak 65b23f112e
feat(intel_powerstat): Add CPU base frequency metric and add support for new platforms (#12452) 2023-01-18 14:10:00 +01:00
Joshua Powers f08cac618c
fix(common.cookie): Allow any 2xx status code (#12515) 2023-01-18 11:19:19 +01:00
Joshua Powers 5cc626f161
feat(inputs.redfish): Add power control metric (#12496) 2023-01-18 11:07:52 +01:00
Nick Berardi aa4e01afaf
feat(inputs.openweathermap): Add snow parameter (#12466) 2023-01-18 11:06:21 +01:00
Sebastian Machuca 74ed28938a
feat(outputs.mqtt): enhance routing capabilities (#12224) 2023-01-17 11:45:45 -07:00
Joshua Powers a586101d84
test(inputs.snmp): Use random port (#12464) 2023-01-12 18:30:04 +01:00
Thomas Casteleyn 61523bd4b9
feat(tools/readme_linter): Check for global configuration section (#12426) 2023-01-12 16:55:21 +01:00
Joshua Powers b6b0b80b9a
fix(inputs.upsd): Ensure firmware is always a string (#12486) 2023-01-12 16:51:01 +01:00
Joshua Powers 6f323eea64
docs(inputs.influxdb): Collect v2 with prometheus plugin (#12492) 2023-01-12 16:36:26 +01:00
Joshua Powers 40aa899fa8
feat(inputs.influxdb): Collect uptime statistics (#12493) 2023-01-12 16:34:48 +01:00
dd-accedian 5174fb1e94
fix(inputs.cisco_telemetry_mdt): add operation-metric and class-policy prefix (#12240) 2023-01-12 08:30:38 -07:00
Martin Haaß 82ec689630
fix(json_v2): In case of invalid json, log messsage to debug log (#12440) 2023-01-12 16:16:06 +01:00
Joshua Powers cbb7484eef
docs(secretstores): document systemd-nspawn requirement (#12494) 2023-01-12 06:26:06 -07:00
Thomas Casteleyn 82bf8497f1
docs(inputs.example): correctly set syntax highlighting and section name (#12471) 2023-01-10 06:46:17 -07:00
Sven Rebhan b543efdcfc
docs(inputs.socketstat): fix wrong TOML option name. (#12482) 2023-01-10 06:45:21 -07:00
Sven Rebhan 7b5b342432
fix(inputs.win_eventlog): Handle remote events more robustly. (#12375) 2023-01-10 11:06:58 +01:00
Gianluca Sartori d476018705
fix(inputs.sqlserver): add more precise version check (#12384) 2023-01-09 13:20:59 -07: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 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 7fb90a2d9c
chore(linter): disable linter warning for freeze() in starlark (#12406) 2022-12-16 06:26:19 -07:00
Joshua Powers 754ab64959
fix(outputs.loki): return response body on error (#12399) 2022-12-16 06:18:43 -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
Joshua Powers 42640b1def
test(parsers.json): add fuzz test (#12368) 2022-12-13 06:41:08 -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
Meceron e264721cb9
feat(parsers.csv): suport null delimiters (#12247) 2022-12-12 09:55:47 -07:00
Sylvain Bruyère 35b5476c83
fix(common.opcua): parse full range of status codes with uint32 (#12376) 2022-12-12 09:54:21 -07: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 db7cb4ec25
chore: Move host-endianness definition to `internal` (#12360) 2022-12-08 22:04:57 +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 f2729298ed
fix(processors.parser): handle empty metric names correctly (#12357) 2022-12-08 07:23:54 -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
Sven Rebhan 6b08068d6d
feat(parsers.grok): add option to allow multiline messages (#12320) 2022-12-07 13:05:02 -07:00
Luke Winikates 19cc5a7abf
chore(outputs.wavefront): Reduce code duplication (#12332) 2022-12-07 17:04:21 +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
Thomas Casteleyn 712092bd92
feat(parsers.csv): add option for overwrite tags (#12008) 2022-11-30 08:08:19 -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
Joshua Powers c6dbc3f689
fix(outputs.azure_data_explorer): update test call to NewSerializer (#12291) 2022-11-28 08:39:13 -07: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
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
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