Commit Graph

3310 Commits

Author SHA1 Message Date
Paweł Żak 7da8956434
chore(linters): Fix findings found by testifylint for Windows and enable it. (#14238) 2023-11-02 06:40:30 -06:00
Joshua Powers bbc5b162d3
test(inputs.jolokia2_agent): Sort metrics as order is not consistent (#14227) 2023-11-02 10:22:42 +01:00
Paweł Żak 8fbea28ab3
chore(linters): Fix findings found by testifylint: expected-actual (#14229) 2023-11-01 14:09:55 -06:00
Sven Rebhan 76b311813a
feat(inputs.procstat)!: Remove useless zero cpu_times (#14224) 2023-10-31 16:03:36 -06:00
Sven Rebhan c6f1c66bf8
feat(inputs.gnmi): Rework plugin (#14091) 2023-10-31 17:51:05 +01:00
Joshua Powers fa1ba97540
fix(inputs.cgroup): Escape backslashes (#14187) 2023-10-31 17:48:54 +01:00
Sven Rebhan a26963870f
test(inputs.vault): Fix integration test by only testing for subset (#14222) 2023-10-31 10:18:37 -06:00
Sven Rebhan 3b2d8c507f
feat(inputs.openweathermap): Add per-city query scheme for current weather (#14214) 2023-10-31 06:29:12 -06:00
Sven Rebhan debae8ead0
docs(inputs.cpu): Clarify 'time_active' contains 'iowait' (#14215) 2023-10-31 06:20:44 -06:00
Paweł Żak 34ae468a8c
chore(linters): Fix findings found by testifylint: len (#14203) 2023-10-31 10:29:53 +01:00
Sven Rebhan 73aa12e5a5
chore(inputs.openweathermap): Convert unit-tests to test-cases (#14210) 2023-10-30 09:43:56 -06:00
Joshua Powers 0aaada5a3e
fix(inputs.ecs): Fix cgroupv2 CPU metrics (#14197) 2023-10-30 15:49:23 +01:00
Paweł Żak 89a235c620
chore(linters): Enable perfsprint linter and fix all findings. (#14208) 2023-10-30 06:14:16 -06:00
Thomas Casteleyn 12d8c3d0f3
fix(inputs.netflow): Fix sFlow metric timestamp (#14195) 2023-10-30 05:18:55 -06:00
Joshua Powers 27b20d17ae
fix(inputs.ecs): Test for v4 metadata endpoint (#14194) 2023-10-30 09:15:47 +01:00
Ganga Mahesh Siddem 920a49c846
fix(input.prometheus): Read bearer token from file every time (#14191) 2023-10-30 09:12:12 +01:00
Joshua Powers 62f66fb2e5
feat(inputs.http_response): Add body form option (#14189) 2023-10-30 09:06:22 +01:00
Adam Thornton 38b8a1bcde
fix(parsers.json_v2): Prevent race condition in parse function (#14149) 2023-10-30 09:04:41 +01:00
Paweł Żak fe87db594c
chore(linters): Fix findings found by testifylint: error-nil (#14198) 2023-10-27 07:42:25 -06:00
Sven Rebhan 57eb71688f
fix(inputs.zfs): Parse metrics correctly on FreeBSD 14 (#14176) 2023-10-25 15:21:06 -06:00
Robert 4e84fc8925
feat(socket_listener): Add vsock support to socket listener and writer (#14172) 2023-10-25 15:13:37 -06:00
Paweł Żak 97f47c11dd
chore(linters): Fix findings found by testifylint: empty (#14179) 2023-10-25 15:09:13 -06:00
Paweł Żak 12065fd152
chore(linters): Fix findings found by testifylint: require-error (#14181) 2023-10-25 15:04:00 -06:00
Paweł Żak 0f264d64ce
chore(linters): Fix findings found by testifylint: error-is-as (#14180) 2023-10-25 15:02:46 -06:00
Joshua Powers 64ae51e6ff
test(opensearch): Disable perf analyzer in test images (#14178) 2023-10-25 07:42:44 -06:00
Paweł Żak 7c5b3ea068
chore(linters): Fix findings found by testifylint: compares (#14177) 2023-10-24 15:02:26 -06:00
Paweł Żak 990ffc7222
chore(linters): Fix findings found by testifylint: bool-compare (#14163) 2023-10-24 10:45:17 -06:00
Sven Rebhan 06083bf19b
test(inputs.zfs): Rework and fix unit-tests for FreeBSD (#14175) 2023-10-24 10:08:54 -06:00
Birger J. Nordølum 04480a5bc4
docs(openstack): Update examples with quote around time intervals (#14174) 2023-10-24 07:43:12 -06:00
Damian Szczepanik a7d1172f54
docs(inputs.swap): Add message about plugin limitation (#14139) 2023-10-24 13:23:30 +02:00
Paweł Żak 171dccb7d7
chore(tools): Bump golangci-lint from v1.54.2 to v1.55.0 (#14155) 2023-10-23 08:12:08 -06:00
Sven Rebhan 56edee0b4f
fix(inputs.vault): Use http client to handle redirects correctly (#14153) 2023-10-23 08:08:38 -06:00
Joshua Powers 3fbe624b98
fix(inputs.jenkins): Filter after searching sub-folders (#14105) 2023-10-19 16:47:47 +02:00
Joshua Powers 43ec383fc6
feat(inputs.redfish): Allow specifying with metrics to collect (#14143) 2023-10-19 12:08:20 +02:00
Rajiv Kushwaha 37ef23fb7f
feat(common.http): Add support for connecting over unix-socket (#14103) 2023-10-18 06:44:36 -06:00
Sven Rebhan 3d34c41154
fix(inputs.jolokia2_agent): Trim quotes around tags (#14132) 2023-10-18 06:32:48 -06:00
Sven Rebhan 2a6b16e0ba
feat(inputs.win_service): Reduce required rights to GENERIC_READ (#14073) 2023-10-16 08:34:15 -06:00
Joshua Powers 7adcc701f9
fix(inputs.postgresql_extensible): Restore default db name (#14010) 2023-10-13 14:17:02 +02:00
Sven Rebhan d63478b485
feat(inputs.ldap): Collect additional fields (#14092) 2023-10-12 08:47:27 -06:00
Damian Szczepanik 0e1f3f8b86
docs(inputs.docker): Add help message about permissions for container (#14094) 2023-10-12 08:40:19 -06:00
Sven Rebhan 0c1e21398e
feat(inputs.ldap): Add LDAP input plugin supporting OpenLDAP and 389ds (#13995) 2023-10-10 13:09:35 +02:00
reindlt 474aff588e
feat(inputs.opcua_listener): Add monitoring params (#13923)
Co-authored-by: Tobias Reindl <tobias.reindl@s7-rail.com>
2023-10-10 13:06:17 +02:00
michelle-costa f4c56e1597
feat(inputs.sql): Add oracle driver (#13978) 2023-10-05 09:26:40 +02:00
Joshua Powers 3dded476ae
test(inputs.redis_sentinel): Resolve timeout looking for port (#14051) 2023-10-04 13:41:56 -06:00
Noy-Simon f8a5a17b47
feat(inputs.kube_inventory): Support using kubelet to get pods data (#13996) 2023-10-04 08:55:18 -06:00
Noy-Simon 01b5834cb7
feat(inputs.kube_inventory): Support filtering pods and nodes by node name (#13993) 2023-10-04 07:26:41 -06:00
phagemann 30bbf4fb62
fix(inputs.s7comm): Allow PDU-size to be set as config option (#14045) 2023-10-04 09:59:44 +02:00
jose_d 360eeec3b6
fix(inputs.infiniband): Handle devices without counters (#14049) 2023-10-04 09:54:50 +02:00
Ben Allen dd7449940e
feat(input.intel_pmt): Add pci_bdf tag to uniquely identify GPUs and other peripherals (#14004) 2023-10-02 20:47:36 +02:00
Sven Rebhan d9b335e814
fix(inputs.openstack): Handle dependencies between enabled services and available endpoints (#14011) 2023-10-02 11:04:06 -06:00
Sven Rebhan a6858b8024
chore(inputs.modbus): Deprecate aggressive optimization (#14030) 2023-10-02 18:39:21 +02:00
R290 705176b8d5
feat(inputs.docker): Add disk usage (#13894) 2023-09-27 14:28:36 -06:00
Yonathan Amir 1f029cb127
feat(inputs.rabbitmq): Add secretstore support for username and password (#13991) 2023-09-27 14:18:54 -06:00
Yonathan Amir 73a220f85c
feat(inputs.amqp_consumer): Add secretstore support for username and password (#14001) 2023-09-27 21:56:48 +02:00
Joshua Powers ebb20bfa4c
fix(inputs.postgresql_extensible): Restore outputaddress behavior (#13972) 2023-09-26 08:19:23 -06:00
Thomas Casteleyn 3b00b1da95
fix(inputs.mock): Plugin not aligned with documentation (#13997) 2023-09-26 15:29:17 +02:00
Sven Rebhan 21e8f9cc54
fix(inputs.jti_openconfig_telemetry): Do not block GRPC dial (#13958) 2023-09-26 06:36:55 -06:00
Ben Allen 9a95ef10cd
fix(input.intel_pmt): Handle telem devices without numa_node attribute (#13977) 2023-09-26 11:03:39 +02:00
Sven Rebhan e2c4e10650
chore(secrets): Abstract secret implementation (#13953) 2023-09-25 14:37:04 -06:00
Joshua Powers 28c69724e2
fix(inputs.nfsclient): Avoid panics, better error messages (#13982) 2023-09-25 21:44:40 +02:00
Joshua Powers b6d946da6e
fix(inputs.exec): Clean up grandchildren processes (#13937) 2023-09-22 13:52:45 +02:00
Joshua Powers 984d6029ef
fix(inputs.cisco_telemetry_mdt): Print string message on decode failure (#13963) 2023-09-21 15:44:10 +02:00
Joshua Powers 03e3700830
fix(inputs.nvidia_smi): Add legacy power readings to v12 schema (#13962) 2023-09-21 15:43:18 +02:00
Joshua Powers ac4cb12db8
chore: Remove whitespace, update variable naming (#13952) 2023-09-20 07:36:11 -06:00
Anton Belousov 5ab2468789
feat(inputs.kafka_consumer): Add message headers as metric tags. (#13924) 2023-09-20 12:53:18 +02:00
Joshua Powers df80446fae
fix(inputs.smart): Remove parsing error message (#13927) 2023-09-18 15:29:41 +02:00
Joshua Powers 4b447d0483
docs(inputs.procstat): Add docs on permissions and metric details (#13921) 2023-09-14 20:09:55 +02:00
Joshua Powers f43427267d
chore: Clean up results from make check-deps (#13919)
Adds additional build directives to avoid a few other arch combos
2023-09-13 11:24:43 +02:00
Joshua Powers 39f24b3365
fix(inputs.systemd_units): Add missing upstream states (#13915) 2023-09-13 11:18:54 +02:00
Joshua Powers 6832e6cc8c
docs(inputs.vsphere): fix config name typo in example (#13907) 2023-09-12 08:30:08 -06:00
Joshua Powers 2d37bdabfa
fix(inputs.redis): Fix password typo (#13910) 2023-09-12 08:29:58 -06:00
Jakub Sikorski 7d71285347
feat(inputs): New Intel PMT plugin (#13801) 2023-09-11 08:38:58 -06:00
Tobias Jungel 3fae6439ab
fix(inputs.kafka_consumer): Use per-message parser to avoid races (#13886) 2023-09-11 08:18:51 -06:00
Joshua Powers 4a5e3a4d6d
feat(inputs.redis_sentinel): Allow username and password (#13864) 2023-09-11 10:05:17 +02:00
Sven Rebhan 6e6c57154e
feat(inputs.vsphere): Allow to set vSAN sampling interval (#13890) 2023-09-08 12:17:23 -06:00
Joshua Powers c238ebb271
fix(sql): Allow sqlite on Windows (amd64 and arm64) (#13865) 2023-09-08 20:14:24 +02:00
Joshua Powers 47c5665f50
feat(inputs.redis): Add additional commandstat fields (#13866) 2023-09-08 20:11:09 +02:00
Joshua Powers 67f9a0ea82
fix(inputs.sqlserver): Cast max_size to bigint (#13870) 2023-09-08 11:44:54 +02:00
Joshua Powers 86a546c88d
fix(inputs.procstat): Collect swap via /proc/$pid/smaps (#13779) 2023-09-08 11:41:48 +02:00
Shangxin Du 7df1e53a4b
feat(inputs.cisco_telemetry_mdt): Add microbust support (#13877) 2023-09-07 07:27:12 -06:00
Jacob Marble c5aef4e3b9
feat(inputs.opentelemetry): Add configurable log record dimensions (#13846) 2023-09-05 10:13:39 -06:00
shizhx c0f67db425
fix(inputs.sysstat): Remove tmpfile to avoid file-descriptor leak (#13833) 2023-08-30 15:54:22 +02:00
Michael Kasch 2dd5682e1a
chore(inputs.modbus): Improve deprecation documentation (#13832) 2023-08-29 10:37:44 -06:00
Joshua Powers d4a00dd8d6
feat(inputs.internal): Add Go metric collection option (#13793) 2023-08-29 17:20:59 +02:00
Joshua Powers fb45a1d98a
feat(inputs.couchbase): Add failover metrics (#13825) 2023-08-29 16:02:44 +02:00
Sven Rebhan 1d24efe55c
chore(tools): Bump golangci-lint from v1.53.2 to v1.54.2 (#13838) 2023-08-29 07:07:41 -06:00
Joshua Powers ca2295e1a4
feat(inputs.fibaro): Support HC3 device types (#13754) 2023-08-28 22:47:08 +02:00
Joshua Powers 5fb290fb46
chore: Update to go1.21.0 (#13794) 2023-08-28 14:30:44 -06:00
Joshua Powers 318a4b69e5
docs: Clean up markdown add warning about tables (#13792) 2023-08-28 22:07:45 +02:00
Joshua Powers cb488ad0f8
feat(inputs.nvidia_smi): Add additional fields (#13783) 2023-08-28 22:06:20 +02:00
Joshua Powers 6f5e5be7b2
fix(inputs.amqp_consumer): Print error on connection failure (#13777) 2023-08-28 10:25:32 +02:00
Joshua Powers 6f6d5b5be8
feat(inputs.nvidia_smi): Add Nvidia DCGM MIG usage values (#13733) 2023-08-28 10:05:29 +02:00
Joshua Powers bbc632212e
fix(inputs.processes): Comment out default option (#13762) 2023-08-14 15:33:44 -06:00
Paweł Żak 5661341813
chore: Enable filepathJoin checker for gocritic (#13758)
Co-authored-by: Pawel Zak <Pawel Zak>
2023-08-14 23:18:20 +02:00
Joshua Powers 013b73213d
chore: Spell endianness correctly (#13752) 2023-08-14 10:43:32 +02:00
Eng Zer Jun 7e6b98226e
chore(inputs): Remove unnecessary nil check (#13749)
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2023-08-14 10:39:56 +02:00
Steven Freed 2f1edfbbfc
feat(inputs.redfish): Add additional chassis tags (#13727) 2023-08-11 07:14:07 -06:00
Sven Rebhan 61cf18c821
chore: Check logging functions like printf (#13743) 2023-08-09 15:02:36 -06:00
Costas Drogos 0cf7d23090
feat(inputs.kernel): Collect KSM metrics (#13728) 2023-08-09 22:43:14 +02:00
Sven Rebhan 8b032b73ee
feat(inputs): Add new S7comm plugin (#13731) 2023-08-09 21:56:47 +02:00
Sven Rebhan 96a9597720
fix(inputs.opcua_listener): Avoid segfault if subscription was not successful (#13742) 2023-08-09 09:41:17 -06:00
kell0gg 3fe151b28d
feat(inputs.redis): Support of redis 6.2 ERRORSTATS (#13723) 2023-08-08 15:39:57 -06:00
Sven Rebhan d259081c2e
feat(inputs.vsphere): Support explicit proxy setting (#13720) 2023-08-08 15:22:05 -06:00
dependabot[bot] 8bc6822e28
chore(deps): Bump go.mongodb.org/mongo-driver from 1.11.6 to 1.12.1 (#13736) 2023-08-08 22:16:40 +02:00
Sven Rebhan 424283f138
fix(inputs.opcua): Register node IDs again on reconnect (#13682) 2023-08-07 22:48:47 +02:00
Sven Rebhan 393d1b8b3a
feat(inputs.jti_openconfig_telemetry): Add keep-alive setting (#13709) 2023-08-07 22:41:24 +02:00
Hr0bar dae115852c
feat(inputs.tacacs): Add tacacs plugin for simple tacacs auth response time monitoring (#12747) 2023-08-07 12:20:23 -06:00
Joshua Powers 2ac45b8d25
chore: Enable additional gocritic (#13714) 2023-08-03 18:58:27 +02:00
Joshua Powers 0f8957f0e9
chore: Resolves gocritic sloppyReassign (#13712) 2023-08-03 18:57:18 +02:00
Joshua Powers f39a21121d
chore: Enable additional gocritic options (#13711) 2023-08-03 17:07:48 +02:00
Joshua Powers 564f24a0a4
chore: Enable additional gocritic (#13713) 2023-08-03 16:11:26 +02:00
Sven Rebhan 2ae65d1a94
feat(inputs.solr): Support version 7.x to 9.3 (#13699) 2023-08-02 20:33:10 +02:00
Matt Schmitz 66dc5ce940
fix(inputs.cisco_telemetry_mdt): Fix MDT source field overwrite (#13693) 2023-07-31 21:26:22 +02:00
Joshua Powers 0496741f4a
fix(inputs.jti_openconfig_telemetry): Reauthenticate connection (#13647) 2023-07-31 13:22:38 +02:00
Sven Rebhan f5afcc169c
feat(inputs.nvidia_smi): Support newer data schema versions (#13678) 2023-07-28 13:38:35 -06:00
Sven Rebhan babd887469
test(inputs.solr): Rework testing (#13692) 2023-07-28 12:20:14 -06:00
Joshua Powers a438fa7630
docs(inputs.conntrack): Explain different collection methods (#13691) 2023-07-28 18:45:10 +02:00
Joshua Powers 043aa0374b
feat(inputs.jenkins): Add option for node labels as tag (#13649) 2023-07-28 07:23:53 -06:00
Sven Rebhan 80ce606cef
test(inputs.radius): Use random port for test (#13683) 2023-07-27 07:01:33 -06:00
Joshua Powers 80094507e4
fix(inputs.mqtt_consumer): Client logs via option (#13663) 2023-07-26 18:51:03 +02:00
Sven Rebhan fe8467539a
feat(inputs.influxdb_listener): Add token based authentication (#13610) 2023-07-24 16:08:16 -06:00
Joshua Powers 54b1009a9f
fix(inputs.docker): Add restart count (#13646) 2023-07-24 09:25:31 +02:00
Maxim Ivanov 59defb0bc5
docs(inputs.postgresql_extensible): Document 'measurement' query config option (#13631) 2023-07-21 11:15:14 +02:00
Maxim Ivanov 9d894e7dee
fix(inputs.prometheus): Don't collect metrics from finished pods (#13629) 2023-07-21 11:09:44 +02:00
Maxim Ivanov cb966ebf6b
fix(inputs.prometheus): Fix missing metrics when multiple plugin instances specified (#13627) 2023-07-21 11:06:51 +02:00
Maxim Ivanov 42c7a2027f
feat(inputs.prometheus): Always apply kubernetes label and field selectors (#13624) 2023-07-21 11:00:54 +02:00
Maxim Ivanov 22100d4914
feat(inputs.postgresql_extensible): Introduce max_version for query (#13620) 2023-07-21 10:56:49 +02:00
Sven Rebhan 0ba463817c
feat(inputs.http): Rework token options (#13622) 2023-07-14 16:52:16 +02:00
Joshua Powers 9f83bee8ef
Revert "feat(inputs.kafka_consumer): Refresh regexp topics periodically (#13410)" (#13617)
This reverts commit a13f3463eb.
2023-07-14 16:06:45 +02:00
Joshua Powers 9ede0b0c49
chore: Enable multi-os golanglint-ci (#13599) 2023-07-14 15:58:19 +02:00
Joshua Powers 14f52eae01
feat(parsers.influx): Allow a user to set the timestamp precision (#13419) 2023-07-13 11:09:12 -06:00
Aleks Vagachev b20c0d7fad
fix(inputs.postgresql): Default database definition (#13602) 2023-07-12 16:04:26 -06:00
Sven Rebhan d8f8d3cbc5
chore(inputs.net): Deprecate 'ignore_protocol_stats' value 'false' (#13608) 2023-07-12 08:04:00 -06:00
Sven Rebhan 2e3adbd520
docs(inputs.gnmi): Add troubleshooting section for Juniper devices (#13582) 2023-07-10 08:33:52 -06:00
Joshua Powers 908c6a551f
fix(inputs.mqtt_consumer): Print warning on no metrics generated (#13574) 2023-07-10 14:02:42 +02:00
Joshua Powers c050c010bc
fix: replace github.com/denisenkom/go-mssqldb with github.com/microsoft/go-mssqldb (#13524) 2023-07-07 11:01:55 -06:00
Adam Thornton a13f3463eb
feat(inputs.kafka_consumer): Refresh regexp topics periodically (#13410) 2023-07-07 10:45:37 -06:00
Sven Rebhan c3d30c8227
chore(deps): Bump github.com/snowflakedb/gosnowflake from 1.6.13 to 1.6.22 (#13544) 2023-07-07 09:42:10 -06:00
Joshua Powers 341190d8a4
fix(inputs.mqtt_consumer): Correctly handle semaphores on messages (#13478) 2023-07-07 08:38:39 -06:00
Jacob Marble c34a1f70d9
chore(inputs.opentelemetry): Unbreak after interface change (#13559) 2023-07-06 16:19:29 +02:00
Joshua Powers 64ea1d00cb
fix(inputs.vpshere): Compare versions as a string (#13557) 2023-07-06 16:13:12 +02:00
Sven Rebhan cec60dbfa9
fix(inputs.gnmi): Add option to explicitly trim field-names (#13517) 2023-07-06 11:20:11 +02:00
Aleks Vagachev be2f950a3c
feat(inputs.pgbouncer): Added show_commands to select the collected pgbouncer metrics (#13436) 2023-07-05 08:11:11 -06:00
mark-chandler ae163536e6
fix(inputs.snmp_trap): Copy GoSNMP global defaults to prevent side-effects (#13542) 2023-07-05 08:10:19 -06:00
Sven Rebhan 261e0223a7
fix(inputs.opcua): Ensure we are connected after reconnect (#13514) 2023-06-30 12:49:26 -06:00
Sven Rebhan 96b9845853
feat(inputs.modbus): Add per-metric configuration style (#13507) 2023-06-30 12:47:16 -06:00
Sven Rebhan 590e4e5bc7
fix(inputs.cloud_pubsub): Properly lock for decompression (#13525) 2023-06-30 10:27:25 -06:00
Michael Cassaniti 435e42cfd4
feat(internal): Add gather_timeouts metric (#13471) 2023-06-30 08:19:13 -06:00
Paweł Żak 68edb20382
docs(intel_baseband): Remove ACC101 mentions from documentation (#13518) 2023-06-29 06:54:04 -06:00
massimogallina ef86635d21
feat(inputs.amqp_consumer): Add support to rabbitmq stream queue (#13496) 2023-06-27 11:40:27 -06:00