Commit Graph

3377 Commits

Author SHA1 Message Date
Paweł Żak c4dbe65732
chore(linters): Bump golangci-lint to v1.56.1 (#14759) 2024-02-12 23:26:10 +01:00
Lars Stegman 4f0ac6e155
feat(http): Allow secrets in headers (#14743) 2024-02-12 23:04:49 +01:00
tguenneguez de66a2f9aa
feat(inputs.prometheus): Add internal metrics (#14424) 2024-02-12 13:55:02 -07:00
Andreas Deininger dca00f03a1
docs: Fix broken link (#14762) 2024-02-12 13:39:52 -07:00
Sven Rebhan 957daa363f
chore(deps): Get rid of golang.org/x/exp and use stable versions instead (#14757) 2024-02-12 09:37:19 -07:00
Sven Rebhan ea26973a34
chore(inputs.csgo): Migrate plugin to new maintained version of rcon (#14756) 2024-02-12 09:36:54 -07:00
Paweł Żak 6506eecc9b
chore(linters): Bump golangci-lint to v1.56.0 (#14742) 2024-02-12 08:47:15 -06:00
Patrick Hemmer ad9b771e50
fix(inputs.postgresql_extensible): Add support for bool tags (#14707) 2024-02-09 14:13:57 -05:00
dependabot[bot] cb81959e69
chore(deps): Bump github.com/gopcua/opcua from 0.4.0 to 0.5.3 (#14686)
Co-authored-by: Josh Powers <powersj@fastmail.com>
2024-02-09 14:12:03 -05:00
Joshua Powers 143def9e83
chore: Remove unused imports (#14741) 2024-02-08 16:09:50 -05:00
Paweł Żak 98ec91478a
chore(linters): replace 'fmt.Sprintf' with string addition (#14699) 2024-02-08 15:46:22 -05:00
Dane Strandboge 19fd5712ae
feat(inputs.redfish): Allow secrets for username/password configuration (#14702) 2024-02-08 15:42:07 -05:00
Paweł Żak ae7fbc5082
chore(linters): Replace 'fmt.Errorf' with 'errors.New' wherever possible (#14698) 2024-02-08 11:32:30 -06:00
Dane Strandboge 1d513e6379
fix(inputs.filecount): Respect symlink files with FollowSymLinks (#14669) 2024-02-06 16:11:18 -05:00
Christian Allinson c981bb7819
feat(common.opcua): Add debug info for nodes not in server namespace (#14676) 2024-02-06 16:10:42 -05:00
Sven Rebhan 3591546a1a
feat(inputs.win_services): Make service selection case-insensitive (#14684) 2024-02-06 15:53:10 -05:00
Lee, YoungHoon 4c2ba74824
fix(inputs.kafka_consumer): Correctly setting name to msg_headers_as_tags (#14679) 2024-02-06 15:39:09 -05:00
Sven Rebhan 7d90a52ed3
feat(inputs.chrony): Allow to collect additional metrics (#14673) 2024-02-05 10:40:01 -07:00
Hiroshi Hayakawa 534289f3b4
feat(inputs.prometheus): Add option to limit body length (#14661)
Co-authored-by: Thomas Casteleyn <thomas.casteleyn@me.com>
Co-authored-by: Josh Powers <powersj@fastmail.com>
2024-02-02 13:25:09 +01:00
Juha Keski-Saari f9f2adf3ae
fix(inputs.snmp_trap): Enable SHA ciphers (#14665) 2024-02-02 10:40:52 +01:00
Sven Rebhan 120167501b
feat(inputs.chrony): Remove chronyc dependency (#14629) 2024-02-01 12:15:28 -07:00
Joshua Powers a0f239c88f
fix(inputs.vsphere): Use guest.guestId value if set for guest name (#14635) 2024-02-01 15:39:44 +01:00
Joshua Powers d8dc29be85
fix(inputs.redfish): Resolve iLO4 fan data (#14659) 2024-02-01 10:29:31 +01:00
Dane Powell 94c0fd12c2
chore(inputs.temp): Convert warning on missing sensors to debug message (#14656) 2024-01-31 12:12:43 +01:00
Sven Rebhan 043ae3e8a0
fix(inputs.temp): Fix regression in metric formats (#14649) 2024-01-30 12:59:17 -07:00
Juha Keski-Saari 4c6df8dbd2
fix(inputs.snmp_trap): Handle octet strings (#14619) 2024-01-30 10:02:40 +01:00
Dane Strandboge 1e3597d889
feat(inputs.net): Add speed metric (#14625) 2024-01-29 21:11:18 +01:00
Joshua Powers 8a50d75127
docs: Resolve table column count lint issues (#14637) 2024-01-29 19:25:03 +01:00
Joshua Powers 03eaae6812
fix(inputs.gnmi): Refactor alias handling (#14553) 2024-01-25 06:34:21 -07:00
Joshua Powers c90117eb53
docs(inputs.snmp): Clarify the deprecation of agent tag setting (#14622) 2024-01-25 06:31:00 -07:00
Joshua Powers eda5378829
docs(inputs.mysql): Add section on how to convert string to numeric (#14620) 2024-01-24 21:10:04 +01:00
Sven Rebhan a3bea89509
chore(internal): Handle ranges in type-conversion and add missing types (#14618) 2024-01-24 06:47:51 -07:00
dependabot[bot] 29f7d04172
chore(deps): Bump github.com/testcontainers/testcontainers-go from 0.26.0 to 0.27.0 (#14608)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Josh Powers <powersj@fastmail.com>
2024-01-23 17:57:15 +01:00
dependabot[bot] 4a05bef582
chore(deps): Bump github.com/docker/docker from 24.0.7+incompatible to 25.0.0+incompatible (#14607)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Josh Powers <powersj@fastmail.com>
2024-01-23 17:54:50 +01:00
Maxi_Mega 439df813ec
feat(inputs.smart): Add a "device_type" tag to differentiate disks behind a RAID controller (#14613)
Co-authored-by: Thomas Delbende <thomas.delbende@bleemeo.com>
2024-01-23 15:55:35 +01:00
Joshua Powers f7208e5339
chore(inputs.opcua): Add option to collect client debug logging (#14595) 2024-01-22 09:20:27 +01:00
Michi Lehr af08bc7509
docs(inputs.redis): Add more examples for TLS (#14599) 2024-01-19 06:53:45 -07:00
Sven Rebhan 9aee2681bb
fix(inputs.temp): Recover pre-v1.22.4 temperature sensor readings (#14575) 2024-01-18 07:56:47 -07:00
Jeremy Kerfs b72be8e97d
feat(inputs.kafka_consumer): Mark messages that failed parsing (#14585) 2024-01-17 18:45:27 +01:00
FlashSystems ff4f0e41bd
feat(inputs.systemd_units): Introduce show subcommand for additional data (#14539) 2024-01-17 06:56:12 -07:00
Joshua Powers 2e52da00f6
fix(inputs.win_perf_counters): Ignore PdhCstatusNoInstance as well (#14570) 2024-01-17 10:08:59 +01:00
anna 0c4992042c
feat(inputs.opcua_listener): Add retry options for connection failures
Co-authored-by: Anna Carrigan <acarrigan@terabase.energy>
2024-01-16 11:30:52 +01:00
Joshua Powers 9035355215
fix(inputs.win_perf_counters): Check errors post-collection for skip (#14526) 2024-01-15 12:08:16 +01:00
Joshua Powers 3bad4c5b85
test(inputs.http_listener_v2): Skip test on Windows due to hang (#14572) 2024-01-12 10:11:32 -07:00
Joshua Powers db8552a140
chore(inputs.cisco_telemetry_mdt): Actually fix lint issue (#14554) 2024-01-09 09:17:37 -07:00
Joshua Powers d7aaafce79
chore(inputs.cisco_telemetry_mdt): Resolve linter with error check (#14552) 2024-01-09 08:43:02 -07:00
Joshua Powers 193ad373aa
test(inputs.influxdb_v2_listener): Skip on Windows after hang (#14551) 2024-01-09 07:48:08 -07:00
alato 3ba621c90f
docs(inputs.directory_monitor): Correct regex for files_to_monitor config option (#14532) 2024-01-08 07:36:59 -07:00
Andreas Deininger 5f5a56ed01
docs: Fix typos (#14376) 2024-01-05 22:34:02 +01:00
iBug 0052fc3634
feat(inputs.kernel): Add Pressure Stall Information (#14507) 2024-01-05 22:33:00 +01:00
Sven Rebhan 9e88381085
chore(parsers.prometheus): Migrate tests to test-cases (#14527) 2024-01-05 09:23:38 -07:00
DaRK AnGeL a1eb9f55c6
fix(inputs.upsd): Add additional fields to upsd from NUT (#14447) 2024-01-05 08:46:26 -07:00
Joshua Powers 1410ea649b
fix(inputs.phpfpm): Add pid field to differentiate metrics (#14462) 2024-01-05 10:58:59 +01:00
Sven Rebhan d7a5bf6d70
chore(inputs.prometheus): Consolidate parsers for metric v1 and v2 (#14524) 2024-01-04 12:30:04 -07:00
Paweł Żak 5810a9e4e5
chore(linters): Enable `appendCombine` checker for gocritic (#14451) 2024-01-03 07:16:26 -07:00
Helge Eichelberg 1eb86dc93b
fix(inputs.phpfpm): Use logger without causing panic (#14489)
Signed-off-by: elchenberg <elchenberg@users.noreply.github.com>
2024-01-02 18:33:39 +01:00
Yuan Zhang baea9e5470
docs(inputs.opcua_listener): Fix nodes example (#14508) 2024-01-02 07:18:52 -07:00
Joshua Powers 681e386bd3
fix(inputs.procstat): Correctly set tags on procstat_lookup (#14493) 2024-01-02 12:32:21 +01:00
knollet 19347bfe6b
fix(inputs.vsphere): Resolve occasional serverFault (#14463) 2024-01-02 12:31:09 +01:00
Paweł Żak e48b72f965
chore(linters): Enable rangeValCopy and hugeParams checkers for gocritic (#14454) 2023-12-15 07:36:34 -07:00
Paweł Żak 4ad8f6b814
chore(linters): Enable `preferDecodeRune` and `preferFprint` checkers for gocritic (#14453) 2023-12-15 07:01:25 -07:00
Paweł Żak 3786cf2d72
chore(linters): Enable equalFold, preferStringWriter, and stringXbytes checkers for gocritic. (#14452) 2023-12-15 06:25:10 -07:00
PanKaker 76da5ff9b9
test(inputs.dpdk): Cleanup directories after unit tests (#14457) 2023-12-15 06:23:22 -07:00
Joshua Powers e05d622ac6
fix(inputs.clickhouse): Omit zookeeper metrics on clickhouse cloud (#14443) 2023-12-13 09:14:19 -07:00
tolsadus.eth e328e0680d
docs(inputs.memcached): Correct typo in README.md (#14448)
Co-authored-by: Maxime ROUX <Maxime.ROUX@3ds.com>
2023-12-13 16:45:21 +01:00
Joshua Powers 34296b8154
fix(inputs.php-fpm): Parse JSON output (#14430) 2023-12-13 07:51:32 -07:00
tiny6996 235f0556c4
docs(inputs.ldap): Correct plugin name in sample config (#14446) 2023-12-13 10:05:03 +01:00
Sven Rebhan bb5131a5ea
chore(deps): Update all github.com/aws/aws-sdk-go-v2 dependencies (#14441) 2023-12-12 13:31:48 -07:00
Sven Rebhan d2329621dc
fix(inputs.procstat): Revert unintended renaming of 'systemd_unit' option (#14440) 2023-12-12 06:40:34 -07:00
Paweł Żak f899e71aab
fix(inputs.intel_powerstat): Unit tests should work on every CPU/platform (#14420) 2023-12-08 18:15:21 +01:00
Christian Allinson fbd2dcc9d9
feat(common.opcua): Add option to include OPC-UA DataType as a Field (#14345) 2023-12-07 13:02:25 -07:00
Gabriele Galiero Casay 5d598321bb
feat(inputs.intel_powerstat): Extract business logic to external library (#14363) 2023-12-07 09:56:17 -07:00
Sven Rebhan 57fbc73814
fix(processors.starlark): Avoid negative refcounts for tracking metrics (#14395) 2023-12-07 08:45:09 -07:00
Paweł Żak aa681be594
chore(linters): Remove blank identifiers and errors which are not needed to handle (#14399) 2023-12-07 08:09:01 -07:00
Sven Rebhan 41b7a3d467
fix(inputs.s7comm): Reconnect if query fails (#14394) 2023-12-07 12:28:24 +01:00
Sven Rebhan ea3e6dfb91
fix(inputs.modbus): Split large request correctly at field borders (#14388) 2023-12-06 06:55:49 -07:00
RWDai 8dda436e7e
chore(inputs.rabbitmq): Remove useless comment (#14389) 2023-12-06 13:16:11 +01:00
Sven Rebhan 627aa04845
chore(inputs.statsd): Do not deprecate convert_names as there is no replacement (#14390) 2023-12-05 18:03:05 +01:00
jxlxx f3c52dc243
feat(inputs.nats_consumer): Add nkey-seed-file authentication (#14375) 2023-12-04 21:37:38 +01:00
PanKaker f654d9236b
feat(inputs.dpdk): Add options to customize error-behavior and metric layout (#14308) 2023-12-04 12:07:45 -07:00
Thomas Casteleyn 193479a988
feat(config): Deprecate `fieldpass` and `fielddrop` modifiers (#14012) 2023-12-04 08:22:12 -07:00
Sven Rebhan ce64421419
fix(inputs.netflow): Handle malformed inputs gracefully (#14373) 2023-12-04 08:16:59 -07:00
Hr0bar 78e41f6649
docs(inputs.fireboard): Revert typo fix as the typo is returned in the actual code too (#14379) 2023-12-04 07:34:36 -07:00
Sven Rebhan ebffaa3916
chore(inputs.procstat): Convert bool tagging settings to a list (#14333) 2023-11-30 16:23:35 -07:00
ericmiller-wpengine e4d7be0f2b
fix(inputs.tail): Retry opening file after permission denied (#14357) 2023-11-30 15:52:28 -07:00
Joshua Powers 00d145eae8
test(inputs.vault): Remove metric comparison in integration test (#14369) 2023-11-30 17:53:28 +01:00
Joshua Powers d1daa04ec5
docs(inputs.mqtt_consumer): Clarify persistent session and topic refresh (#14366) 2023-11-30 12:03:50 +01:00
Andreas Deininger 6814d7af8a
docs: Fix typos (#14359)
Co-authored-by: Josh Powers <powersj@fastmail.com>
2023-11-29 14:47:39 +01:00
Sven Rebhan 827f1cc249
chore(inputs.procstat): Use plural for supervisor_units option (#14329) 2023-11-28 14:02:08 -07:00
Sven Rebhan f2cc928178
chore(inputs.procstat): Cleanup code (#14326) 2023-11-27 13:50:30 -07:00
Joshua Powers 7b5393c9e5
fix(inputs.http): Use correct token variable (#14350)
fixes: #14347
2023-11-27 10:09:26 -07:00
Joshua Powers 65d106f615
chore(deps): Point kafka dependency to IBM organization (#14349) 2023-11-27 17:13:22 +01:00
Joshua Powers c04fcc7066
docs(inputs.kafka_consumer): Remove whitespace (#14348) 2023-11-27 07:44:30 -07:00
Andreas Deininger d1b316ab1a
docs: Fix typos (#14339) 2023-11-27 07:27:34 -07:00
Cemre Mengu 062ccb3086
test(inputs.netstat): Move tests from inputs.net (#14328) 2023-11-27 07:08:42 -07:00
Anton Belousov cd83c70241
feat(inputs.kafka_consumer): Add option to set metric name from message header (#14320) 2023-11-27 07:02:35 -07:00
Joshua Powers 4c4b821aaa
test(kafka): Use dynamic ports with integration tests (#14301) 2023-11-17 10:47:18 +01:00
Joshua Powers 33c4e76d91
test(inputs.vault): Wait for minimum number of metrics (#14302)
Additional support for vault test to ensure we wait for the minimum 50
metrics we are expecting due to the way that vault takes time to start
up.
2023-11-16 16:53:56 +01:00
Marcin Labenski a4f8b450d2
feat(inputs.sql): Add support for IBM Netezza (#14200)
Co-authored-by: mpl <mpl>
Co-authored-by: Josh Powers <powersj@fastmail.com>
2023-11-16 11:32:37 +01:00
Joshua Powers 5505a2150a
chore: Enable bad regex gocritic linter (#14295) 2023-11-15 12:35:41 -07:00