Commit Graph

3104 Commits

Author SHA1 Message Date
Daniel Ayvar 43048aad8c
fix(inputs.cloud_pubsub): Fix gzip decompression (#13238) 2023-05-04 19:19:06 +02:00
Joshua Powers 1b8339ace8
docs(common.kafka): Remove experimental notes (#13232) 2023-05-04 19:17:40 +02:00
Paweł Żak 7919405cfd
chore: Fix linter findings for Windows (part3) (#13143) 2023-05-04 10:14:36 -06:00
Luke Winikates e9f55a848f
chore(deps): Bump prometheus from v1.8.2 to v2.42.0 (#13225)
Dependency version 0.42.0 corresponds to release version 2.42.0 see [prometheus versioning description](https://github.com/prometheus/prometheus#prometheus-code-base) for details.
2023-05-03 09:47:00 +02:00
Daniel Ayvar 872d51714e
feat(cloud_pubsub): Add support for gzip compression (#13094) 2023-05-02 20:04:00 +02:00
Povilas Versockas 92b6d96486
feat(inputs.statsd): Add optional temporality and start_time tag for statsd metrics (#13087) 2023-05-02 19:19:30 +02:00
Joshua Powers 9284bdabf0
feat(inputs.suricata): Add ability to parse drop or rejected (#13048) 2023-05-02 19:07:34 +02:00
Paweł Żak 30b603626c
chore: Enable G404 rule for gosec (#13095) 2023-05-02 06:31:50 -06:00
tguenneguez 3d40659387
feat(inputs.filecount): Add oldestFileTimestamp and newestFileTimestamp (#13163) 2023-05-02 13:34:56 +02:00
Joshua Powers 7436575ea7
docs(inputs.vsphere): Resolve copy/paste typo with resource pools (#13162) 2023-05-02 13:32:02 +02:00
Joshua Powers f55d214082
fix(inputs.gnmi): Create selfstat to track connection state (#13149) 2023-05-02 13:29:30 +02:00
David Roy a868add749
feat(inputs.gnmi): Support Juniper GNMI Extension Header (#13116) 2023-04-27 17:30:21 +02:00
PanKaker f297d3e6c3
fix(inputs.intel_pmu): Fix handling of the json perfmon format (#13139) 2023-04-26 22:04:17 +02:00
Alex Zherebtsov cd535165d0
feat(inputs.nvidia_smi): Add additional memory related fields (#13133) 2023-04-26 22:00:14 +02:00
Paweł Żak 77ee21f8e5
chore: Fix linter findings for Windows (part1) (#13057) 2023-04-25 07:15:55 -06:00
Svyat Sobol c44c5ed317
docs(inputs.knx_listener): Add link to config generation project (#13128) 2023-04-25 11:40:38 +02:00
Paweł Żak 4d4bed4ec4
chore: Fix linter findings for Windows (part2) (#13096)
Co-authored-by: pzak <pzak>
2023-04-25 11:29:23 +02:00
Joshua Powers 6315d76335
docs(inputs.mysql): remove duplicate settings from config (#13131)
fixes: #13130
2023-04-24 07:33:37 -06:00
Joshua Powers e0b95ea391
chore: update golangci-lint (#13110) 2023-04-18 14:01:28 -06:00
Gangadharaswamy HU b323d1ce3c
feat(inputs.vsphere): Adding vSAN extension to vSphere plugin (#11955) 2023-04-18 11:03:28 -06:00
Paweł Żak ba16eeb495
chore: Enable G110 rule for gosec (#13044)
Co-authored-by: Pawel Zak <Pawel Zak>
2023-04-14 17:14:55 +02:00
Patrick Hemmer 596ecc4a67
fix(inputs.socket_listener): Fix TLS socket initialization(#13050) 2023-04-13 14:30:33 +02:00
Ivaylo Ivanov 14c84a00ee
fix(inputs.prometheus): Add namespace option in k8s informer factory (#13063)
Co-authored-by: ivayloi2 <ivayloi2@vmware.com>
2023-04-12 17:00:57 +02:00
Paweł Żak 5f2142a6cc
chore: Enable G601 rule for gosec (#13042) 2023-04-12 16:56:07 +02:00
Paweł Żak 55e4bb6808
chore: Enable G103 rule for gosec (#13038) 2023-04-12 07:32:46 -06:00
Sven Rebhan 9bb2d1562d
chore(serializers): Add new-style framework and migrate influx (#12920) 2023-04-11 21:52:42 +02:00
Patrick Hemmer 7b31606cf0
fix(inputs.socket_listener): Fix tracking of unix sockets (#13059) 2023-04-11 11:46:57 +02:00
Paweł Żak 89fa07fc5e
chore: Enable G301, G302 and G306 rules for gosec (#13022) 2023-04-04 08:51:08 -06:00
r3inbowari 19c4316694
chore: Update README.md (#12989) 2023-04-04 13:43:49 +02:00
Paweł Żak 079c50128b
chore: Enable G401, G403, G501, G502, G503 and G505 rules for gosec (#13021)
Co-authored-by: Pawel Zak <Pawel Zak>
2023-04-04 13:17:38 +02:00
genofire 9bfe6425b3
fix(inputs.procstat): Return tags of pids if lookup_error (#13015) 2023-04-03 20:28:50 +02:00
Joshua Powers 52b3f5211f
chore(deps): Bump github.com/shirou/gopsutil from 3.23.2 to 3.23.3 (#13017) 2023-04-03 20:27:19 +02:00
Neelay Upadhyaya e1e4ebcd62
fix(inputs.netflow): Use correct name in the build tag (#13006) 2023-04-03 07:44:15 -06:00
Sven Rebhan 83b4056985
fix(secrets): Minimize secret holding time (#13002) 2023-04-03 07:28:41 -06:00
Paweł Żak edcd28650c
chore: Enable G112 and G114 rules for gosec (#12986)
Co-authored-by: Pawel Zak <Pawel Zak>
2023-04-03 15:23:05 +02:00
Paweł Żak c76f319b84
chore: Remove `revive:unhandled-error` - `errcheck` is more flexible (#13008) 2023-04-03 07:19:43 -06:00
Gianluca Sartori b75fa42d75
fix(inputs.sqlserver): Converted THROW to RAISERROR for 2008 compatibility 2023-04-03 15:19:28 +02:00
Sven Rebhan f8a991b829
fix(secretstores): Handle array of secrets correctly (#12919) 2023-04-03 07:03:38 -06:00
Sven Rebhan 3213af612e
fix(secret): Add function to set a secret (#13012) 2023-04-03 07:01:47 -06:00
Maxim Ivanov 5fdeae1ab1
feat(inputs.prometheus): Control which pod metadata is added as tags (#12851) 2023-04-03 10:08:15 +02:00
r3inbowari 789a49858e
feat(inputs.internet_speed): Support multi-server test (#12797) 2023-04-03 10:06:27 +02:00
Paweł Żak 9608d118bd
chore: Don't use all default exclude patterns for golangci-lint (#12969)
Co-authored-by: Pawel Zak <Pawel Zak>
2023-03-29 09:50:00 +02:00
Joshua Powers 19d2bbbb90
fix(inputs.upsd): Include ups.real_power (#12961) 2023-03-28 18:41:43 +02:00
Gianluca Sartori bfeae49e1b
fix(inputs.execd): Read from stdout using ReadLine instead of scanner.Scan to overcome 64kb buffer limit (#12935) 2023-03-28 18:40:45 +02:00
Joshua Powers 8a5c3573df
docs(inputs.upsd): Add comment about ipv6 addresses (#12962) 2023-03-28 11:48:29 +02:00
Paweł Żak 73076bb9fa
chore: Fix linter findings for Darwin (#12958)
Co-authored-by: Pawel Zak <Pawel Zak>
2023-03-28 11:46:32 +02:00
Joshua Powers 3415cc8c80
chore: Fix gosec G102 issues (#12923) 2023-03-28 11:40:29 +02:00
Joshua Powers 5e7c5c84e9
docs: Explain and note service inputs (#12870) 2023-03-27 14:12:35 +02:00
Maxim Ivanov 771153e76d
feat(inputs.kubernetes): Apply timeout for the whole HTTP request (#12918) 2023-03-22 13:33:53 +01:00
Joshua Powers 02eea01397
fix(inputs.ethtool): Check for nil (#12867) 2023-03-22 13:03:44 +01:00
Joshua Powers 77bebd8660
fix(inputs.prometheus): Use set over add for custom headers (#12907) 2023-03-21 16:39:34 +01:00
abhi-jha e4cf2904ca
docs: Fix various typos in comments (#12888) 2023-03-21 16:27:38 +01:00
Sven Rebhan bd5f6b7c7c
feat(common.opcua): Add support for secret-store secrets (#12863) 2023-03-21 08:58:06 -06:00
Joshua Powers bd065e3553
fix(inputs.prometheus): Correctly set timeout param (#12864) 2023-03-15 17:52:51 +01:00
Joshua Powers 9256a3f2e6
chore: Ensure go generate runs on all platforms (#12871) 2023-03-15 17:47:55 +01:00
Joshua Powers 84d1bdf73c
fix(inputs.internet_speed): Rename host tag to source (#12877) 2023-03-15 08:22:38 -06:00
Jacob Marble 240c239321
chore(deps): Update OpenTelemetry from 0.3.1 to 0.3.3 (#12840) 2023-03-13 12:22:03 +01:00
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