Commit Graph

3047 Commits

Author SHA1 Message Date
Pontus Rydin 7daf7bb38f
feat(inputs.vsphere): Flag for more lenient behavior when connect fails on startup (#12828) 2023-03-13 12:19:49 +01:00
Sven Rebhan 2006086262
feat(inputs.modbus): Allow to convert coil and discrete registers to boolean (#12825) 2023-03-13 12:18:02 +01:00
Sven Rebhan bea5414384
feat(parsers.xpath): Add timezone handling (#12820) 2023-03-13 12:17:14 +01:00
Joshua Powers f104c1a708
chore: add service input stub to Windows event log, not windows (#12837) 2023-03-10 14:11:50 -07:00
Hr0bar 97fd189d11
feat(inputs.radius): Add plugin for simple radius auth response time monitoring (#12736) 2023-03-09 09:00:42 -07:00
Pontus Rydin 405c1d97d3
docs(inputs.vsphere): Update inventory docs & removed unnecessary if-statement (#12819) 2023-03-09 08:27:31 -07:00
Sven Rebhan 501e920ef1
fix(inputs.amqp_consumer): Avoid deprecations when handling defaults (#12818) 2023-03-09 15:59:07 +01:00
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 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 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
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 56ecbba523
chore: Enable printing Windows sample configs on non-Windows (#12741) 2023-03-01 14:31:45 +01:00
Joshua Powers d40f46e7ce
feat(inputs.jti_openconfig_telemetry): Set timestamp from data (#12730) 2023-02-27 18:39:25 +01: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
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
Thomas Casteleyn 8c2bb92f26
chore(inputs.net_response): Use Init to check configuration issues (#12690) 2023-02-22 11:36:58 +01: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
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 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
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
Severin Dellsperger 607bfdbc97
feat(inputs.cisco_telemetry_mdt): include delete field (#12345) 2023-01-25 12:17:47 -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 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
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
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 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