Commit Graph

4862 Commits

Author SHA1 Message Date
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
Andreas Deininger 17edab98d5
docs(parsers.json_v2): Add links to testdata folder (#14358) 2023-11-28 13:44:54 -07:00
Andreas Deininger 25d4a45c8c
fix(parsers.json v2): Correct wrong name of config option (#14351) 2023-11-28 15:46:41 +01:00
Sven Rebhan 2dc8e436db
feat(secretstores): Add systemd-credentials plugin (#13657) 2023-11-27 13:50:57 -07:00
Sven Rebhan f2cc928178
chore(inputs.procstat): Cleanup code (#14326) 2023-11-27 13:50:30 -07:00
Sven Rebhan 1c2c03d778
feat(processors.filter): Convert noop processor to filter processor (#14330) 2023-11-27 12:19:10 -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
Sven Rebhan 68f787c0ba
fix(outputs.opensearch): Expose TLS setting correctly (#14340) 2023-11-27 08:15:06 -07: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
irving 0e591ea8cf
fix(common.oauth): Initialize 'EndpointParams' to avoid panic with 'audience' settings (#14331) 2023-11-27 07:14:55 -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 64f56b4cb5
chore(parsers.influx): Add benchmark (#14315) 2023-11-16 22:06:05 +01:00
Sven Rebhan 4f94850c1d
chore(parsers.xpath): Add benchmark for CBOR format (#14314) 2023-11-16 10:14:40 -07:00
Sven Rebhan be88a340de
chore(parsers.xpath): Add benchmark for msgpack format (#14313) 2023-11-16 09:49:19 -07:00
Sven Rebhan e79191a9b4
chore(parsers.xpath): Add benchmark for protocol-buffer format (#14312) 2023-11-16 09:05:04 -07: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
Sven Rebhan 8318d2c700
chore(parsers.avro): Add benchmark for binary format (#14311) 2023-11-16 08:17:28 -07:00
Sven Rebhan 48d6d3c6fb
chore(parsers.binary): Add benchmark (#14310) 2023-11-16 07:23:43 -07:00
Joshua Powers 3a97339cd4
chore: Add benchmark tests for XML and JSON xpath (#14304) 2023-11-16 06:20:38 -07: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 ba251d8849
chore(parsers): Add benchmarks for avro, collectd, prometheus remote write (#14303) 2023-11-16 11:14:03 +01:00
Joshua Powers 5505a2150a
chore: Enable bad regex gocritic linter (#14295) 2023-11-15 12:35:41 -07:00
Joshua Powers edf230bc44
fix(processors.starlark): Maintain tracking information post-apply (#14137) 2023-11-15 19:03:55 +01:00
Joshua Powers 0a63e2e1aa
feat(processors.noop): Noop processor (#14297) 2023-11-15 18:35:21 +01:00
Joshua Powers a590a1b5b3
fix(parsers.json_v2): Log inner errors (#14296) 2023-11-15 10:14:31 +01:00
Joshua Powers 004f81651b
fix(inputs.ecs): Correct v4 metadata URLs (#14294) 2023-11-15 10:10:21 +01:00
Joshua Powers 05bb2777de
fix(inputs.intel_rdt): Do not fail on missing PIDs (#14274) 2023-11-15 10:07:44 +01:00
chenbt 2c5fbbc2a7
feat(inputs.procstat): Obtain process information through supervisor (#13417) 2023-11-13 16:11:31 -07:00
Óscar Erades 59f53c0302
feat: Use HTTPClientConfig struct in elastic stack plugins (#14207) 2023-11-13 15:53:36 -07:00
phagemann fd65ce80d8
fix(inputs.s7comm): Truncate strings to reported length (#14283) 2023-11-13 15:12:09 -07:00
Sven Rebhan 5d16330c08
test(parsers): Sort metrics to avoid flaky tests (#14284) 2023-11-13 12:38:47 -07:00
delichik b7e7756e19
fix(inputs.zfs): Support gathering metrics on zfs 2.2.0 and later (#14280) 2023-11-13 12:04:39 -07:00
phagemann 19c3d26d79
fix(inputs.s7comm): Fix bit queries (#14068) 2023-11-13 12:02:55 -07:00
Thomas Casteleyn 2d8416cca9
feat(inputs.snmp): Hint to use source tag (#14111) 2023-11-13 07:08:55 -07:00
Joshua Powers 6fd41686d3
chore(parsers): Add additional parser benchmarks (#14276) 2023-11-13 09:34:22 +01:00
Joshua Powers 02473069f4
chore: Add metric and batch benchmark to serializers (#14277) 2023-11-13 09:30:19 +01:00
Joshua Powers dce3bbd679
fix(inputs.disk): Add inodes_used_percent field (#14267) 2023-11-10 17:24:35 +01:00
Joshua Powers 0d106d5822
chore(parsers.csv): Add benchmark test (#14257) 2023-11-10 17:17:41 +01:00
Joshua Powers 06959a1c78
docs(inputs.intel_powerstat): Add notes about hw/sw dependencies (#14263) 2023-11-10 12:33:20 +01:00
Joshua Powers 7d79111135
fix(inputs.ipset): Parse lines with timeout (#14262) 2023-11-10 12:32:36 +01:00
dependabot[bot] d644ffd3d2
chore(deps): Bump github.com/showwin/speedtest-go from 1.6.6 to 1.6.7 (#14250)
Co-authored-by: Josh Powers <powersj@fastmail.com>
Co-authored-by: r3inbowari <r3inbowari@gmail.com>
2023-11-10 12:27:37 +01:00
Joshua Powers d4449b6faf
docs(inputs.powerdns): Document additonal permissions (#14256) 2023-11-08 07:18:57 -07:00
Joshua Powers 364628ec98
docs(inputs.temp): Add additional troubleshooting steps (#14255) 2023-11-08 13:46:54 +01:00
Sven Rebhan 0e2203d7a4
fix(inputs.win_perf_counter): Do not rely on returned buffer size (#14241) 2023-11-07 07:37:24 -07:00
Sven Rebhan 247a808769
feat(inputs.modbus): Add support for string-fields (#14145) 2023-11-07 09:48:23 +01:00
Jeffrey Zhang ac171a07be
feat(outputs.prometheus_client): Support listen on vsock (#14108) 2023-11-06 06:34:44 -07:00
Joshua Powers 9e5e74e258
fix(inputs.mqtt_consumer): Resolve could not mark message delivered (#14243) 2023-11-03 14:39:12 +01:00
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 7b7c7b6505
fix(outputs.timestream): Clip uint64 values (#14213) 2023-10-31 17:50:24 +01:00
Joshua Powers fa1ba97540
fix(inputs.cgroup): Escape backslashes (#14187) 2023-10-31 17:48:54 +01:00
Joshua Powers 8c35dddc10
test(outputs.kafka): Use private network for testing (#14220) 2023-10-31 17:47:23 +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
Joshua Powers 446fb9d64e
fix(outputs.elasticsearch): Print error status value (#14115) 2023-10-31 15:55:39 +01: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
Michael 7ec04f8dd6
docs(outputs.cratedb): Correct required SQL table schema (#13934)
Co-authored-by: Joshua Powers <powersj@fastmail.com>
Co-authored-by: Thomas Casteleyn <thomas.casteleyn@me.com>
2023-10-30 09:02:12 +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 321c5a4070
test(parsers): Add benchmarks (#14148) 2023-10-25 17:05: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
Sven Rebhan 062326eb48
test(outputs.kafka): Rework integration test to use bitnami/kafka (#14161) 2023-10-23 10:44:17 -06: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
Luke Winikates 3eed69f866
feat(outputs.wavefront): Use common/http to configure http client (#14136) 2023-10-23 08:10:35 -06:00
Sven Rebhan 56edee0b4f
fix(inputs.vault): Use http client to handle redirects correctly (#14153) 2023-10-23 08:08:38 -06:00
Sven Rebhan fd773b3e28
fix(outputs.kafka): Simplify send-error handling (#14154) 2023-10-23 07:51:57 -06:00
Sven Rebhan 8d1bf60bce
fix(serializers.json): Append newline for batch-serialization (#14150) 2023-10-23 07:47:55 -06:00
Anton Brekhov 176bfa8f37
fix(outputs.nebius_cloud_monitoring): Use correct endpoint (#14135) 2023-10-23 15:38:24 +02: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
Thomas Casteleyn c142f48f72
docs(processors.ifname): Document better agent tag name (#14117) 2023-10-18 09:42:01 +02:00
Thomas Casteleyn 74937de0f4
feat(outputs.bigquery): Project is no longer a required field (#14086) 2023-10-16 14:42:57 -06:00
Sven Rebhan 2a6b16e0ba
feat(inputs.win_service): Reduce required rights to GENERIC_READ (#14073) 2023-10-16 08:34:15 -06:00
Sven Rebhan efe7112ef9
chore(processors.regex): Inform and warn user on operation modus (#14084) 2023-10-16 07:25:52 -06:00
Joshua Powers 7adcc701f9
fix(inputs.postgresql_extensible): Restore default db name (#14010) 2023-10-13 14:17:02 +02:00
Chase Sterling 309c195e03
feat(processors.dedup): Add state persistence between runs (#14065) 2023-10-12 15:07:13 -06:00
Joshua Powers 710c92c50d
fix(outputs.exec): Resolve lint issues with tests (#14101) 2023-10-12 14:49:28 -06:00
Sven Rebhan 68eda258f4
fix(outputs.redistimeseries): Handle string fields correctly (#14060) 2023-10-12 14:39:14 -06:00
Chase Sterling 7673624bcd
feat(outputs.exec): Add ability to exec command once per metric (#13672) 2023-10-12 14:32:09 -06:00
Sven Rebhan a8af81c8c9
feat(aggregators.final): Allow to specify output strategy (#14062) 2023-10-12 14:28:10 -06:00
Damian Szczepanik e50bb4fb3b
docs(outputs.influxdb): Add help message about multiple influxdb (#14053) 2023-10-12 09:32:25 -06:00
Christian Allinson 17a294776e
docs(outputs.mqtt): Correct typo in protocol config parameter (#14071) 2023-10-12 09:26:12 -06:00
Sven Rebhan 78c641cdcc
docs(processors.split): Fix example (#14087) 2023-10-12 09:24:51 -06: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
Marcel Beck aa2990d792
fix(inputs.mqtt): Reference correct password variable (#14041) 2023-10-04 10:18:20 +02:00
phagemann 30bbf4fb62
fix(inputs.s7comm): Allow PDU-size to be set as config option (#14045) 2023-10-04 09:59:44 +02:00
Ramachandran A G 4759214471
feat(outputs.azure_data_explorer): Set user agent string (#14047) 2023-10-04 09:56:31 +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
Joshua Powers 6b01384c6e
feat(outputs.stackdriver): Add metric type config options (#14017)
* feat(outputs.stackdriver): Add metric type config options

This adds two new user config options that take metric names, with globs
as well. Metric's matching these names will have their type set before
sending to Stackdriver.

fixes: #14006

* run make docs
2023-10-02 10:30:32 +02:00
Christian Allinson 69612a8e4a
fix(parsers.json_v2): Properly handle optional fields (#14008)
Co-authored-by: Christian Allinson <christian.allinson@rebuildmanufacturing.com>
2023-10-02 10:29:11 +02:00
Sven Rebhan 3ffa5f615a
fix(outputs.opensearch): Migrate to new secrets API (#14021) 2023-09-29 07:56:58 -06:00
Mandeep Kalra 4e35ac8dc3
feat(outputs.opensearch): Add OpenSearch output plugin (#11958)
Co-authored-by: Josh Powers <powersj@fastmail.com>
2023-09-29 12:40:04 +02:00
Joshua Powers 188c8d7bbf
docs(outputs.http): Document proxy settings (#14016) 2023-09-29 12:21:26 +02:00
Sven Rebhan d07701f35f
feat(processors.regex): Allow batch transforms using named groups (#13971) 2023-09-28 09:17:12 -06:00
Sven Rebhan d636560483
docs(outputs.prometheus_client): Fix metric-type parameter naming (#14013) 2023-09-28 08:33:28 -06:00
Adam Thornton cb13577c95
feat(parsers.avro): Support multiple modes for union handling (#13945) 2023-09-27 14:47:36 -06: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
Joshua Powers 637b8f8721
fix(outputs.stackdriver): Do not shallow copy map (#14009) 2023-09-27 21:59:43 +02: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
Thomas Casteleyn f58c9555dd
feat(parsers/json_v2): Improve json path log messages (#13994) 2023-09-26 06:43:00 -06: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
Sven Rebhan ac79964226
chore(processors.starlark): Add benchmark for field-value filter (#13983) 2023-09-25 14:13:48 -06:00
Joshua Powers 28c69724e2
fix(inputs.nfsclient): Avoid panics, better error messages (#13982) 2023-09-25 21:44:40 +02:00
Joshua Powers 080f5a2ecb
fix(outputs.stackdriver): Drop metrics on InvalidArgument gRPC error (#13931) 2023-09-22 09:40:05 -06:00
Joshua Powers b6d946da6e
fix(inputs.exec): Clean up grandchildren processes (#13937) 2023-09-22 13:52:45 +02:00
Joshua Powers a9ba23f41a
docs(processors.lookup): Fix wrong word usage (#13970) 2023-09-21 15:44:43 +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