Commit Graph

195 Commits

Author SHA1 Message Date
Sven Rebhan 46fb0af4e7
feat(inputs.gnmi): Allow to pass accepted cipher suites (#15256) 2024-05-06 20:19:10 +02:00
Sven Rebhan 274333921f
feat(processors.starlark): Allow persistence of global state (#15170) 2024-04-25 13:24:57 -05:00
Sven Rebhan aa1091aba8
chore(inputs.postgresql): Factor out common code and cleanup (#15103) 2024-04-04 16:40:43 -05:00
Sven Rebhan 0e6b4f05f9
chore(inputs.syslog): Use common/socket implementation (#14837) 2024-02-23 13:20:39 -06:00
dependabot[bot] f6dcb701a2
chore(deps): Bump github.com/eclipse/paho.golang from 0.11.0 to 0.20.0 (#14769)
Co-authored-by: Josh Powers <powersj@fastmail.com>
2024-02-13 13:26:26 -06:00
Sven Rebhan 655a8a786b
chore(inputs.socket_listener): Move underlying socket implementation to common (#14787) 2024-02-13 09:53:12 -07:00
Paweł Żak c4dbe65732
chore(linters): Bump golangci-lint to v1.56.1 (#14759) 2024-02-12 23:26:10 +01:00
Sven Rebhan 8393d1b589
chore(common.tls): Replace unmaintained github.com/youmark/pkcs8 with go.step.sm/crypto/pemutil (#14760) 2024-02-12 13:47:46 -07: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
Paweł Żak 98ec91478a
chore(linters): replace 'fmt.Sprintf' with string addition (#14699) 2024-02-08 15:46:22 -05:00
Paweł Żak ae7fbc5082
chore(linters): Replace 'fmt.Errorf' with 'errors.New' wherever possible (#14698) 2024-02-08 11:32:30 -06: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
Anatoly Y 66bd355138
fix(common.encoding): Remove locally-defined errors and use upstream ones (#14627) 2024-01-25 07:21:45 -07:00
Joshua Powers f7208e5339
chore(inputs.opcua): Add option to collect client debug logging (#14595) 2024-01-22 09:20:27 +01:00
Joshua Powers 324fd76e26
chore(deps): Bump go.starlark.net from go.starlark.net v0.0.0-20220328144851-d1966c6b9fcd to v0.0.0-20231121155337-90ade8b19d09 (#14541) 2024-01-15 15:56:55 +01:00
Andreas Deininger 5f5a56ed01
docs: Fix typos (#14376) 2024-01-05 22:34:02 +01:00
Sven Rebhan cbaca43e36
fix(processors.starlark): Use tracking ID to identify tracking metrics (#14523) 2024-01-05 07:48:28 -07:00
Joshua Powers 12095b2828
fix(common.kafka): Correctly set gssapi username/password (#14522) 2024-01-05 10:57:52 +01:00
Paweł Żak 5810a9e4e5
chore(linters): Enable `appendCombine` checker for gocritic (#14451) 2024-01-03 07:16:26 -07:00
Paweł Żak 3786cf2d72
chore(linters): Enable equalFold, preferStringWriter, and stringXbytes checkers for gocritic. (#14452) 2023-12-15 06:25:10 -07: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
Sven Rebhan 57fbc73814
fix(processors.starlark): Avoid negative refcounts for tracking metrics (#14395) 2023-12-07 08:45:09 -07:00
Andreas Deininger 6814d7af8a
docs: Fix typos (#14359)
Co-authored-by: Josh Powers <powersj@fastmail.com>
2023-11-29 14:47:39 +01:00
Joshua Powers 65d106f615
chore(deps): Point kafka dependency to IBM organization (#14349) 2023-11-27 17:13:22 +01:00
irving 0e591ea8cf
fix(common.oauth): Initialize 'EndpointParams' to avoid panic with 'audience' settings (#14331) 2023-11-27 07:14:55 -07:00
Joshua Powers edf230bc44
fix(processors.starlark): Maintain tracking information post-apply (#14137) 2023-11-15 19:03:55 +01:00
Paweł Żak 8fbea28ab3
chore(linters): Fix findings found by testifylint: expected-actual (#14229) 2023-11-01 14:09:55 -06:00
Paweł Żak 89a235c620
chore(linters): Enable perfsprint linter and fix all findings. (#14208) 2023-10-30 06:14:16 -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 56edee0b4f
fix(inputs.vault): Use http client to handle redirects correctly (#14153) 2023-10-23 08:08:38 -06: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
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
Marcel Beck aa2990d792
fix(inputs.mqtt): Reference correct password variable (#14041) 2023-10-04 10:18:20 +02:00
Sven Rebhan e2c4e10650
chore(secrets): Abstract secret implementation (#13953) 2023-09-25 14:37:04 -06:00
Joshua Powers 3bcf72293d
fix(inputs.opcua): Verify groups or root nodes included in config (#13840) 2023-08-30 15:56:34 +02:00
Sven Rebhan 61cf18c821
chore: Check logging functions like printf (#13743) 2023-08-09 15:02:36 -06:00
Sven Rebhan 424283f138
fix(inputs.opcua): Register node IDs again on reconnect (#13682) 2023-08-07 22:48:47 +02: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 d4235ab86b
feat(kafka): Set and send SASL extensions (#13411) 2023-07-14 09:23:59 -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 9c6cd94d6e
chore: Add generator for sample-config includes (#13348) 2023-06-02 08:08:56 -06:00
Sven Rebhan c3ce6a8e12
chore(config): Split tests to avoid cyclic import (#13371) 2023-06-02 12:32:10 +02:00
Rajiv Kushwaha 7427ea33c7
feat(common.tls): Add support for passphrase-protected private key (#13262) 2023-06-01 10:04:59 +02:00
Joshua Powers 1b8339ace8
docs(common.kafka): Remove experimental notes (#13232) 2023-05-04 19:17:40 +02:00
Sven Rebhan 9bb2d1562d
chore(serializers): Add new-style framework and migrate influx (#12920) 2023-04-11 21:52:42 +02:00
Sven Rebhan 83b4056985
fix(secrets): Minimize secret holding time (#13002) 2023-04-03 07:28:41 -06:00
Paweł Żak c76f319b84
chore: Remove `revive:unhandled-error` - `errcheck` is more flexible (#13008) 2023-04-03 07:19:43 -06:00
Paweł Żak 0129abbd1e
chore: Enable G102 rule for gosec (#12976)
Co-authored-by: Pawel Zak <Pawel Zak>
2023-03-29 09:47:57 +02:00
Joshua Powers 3415cc8c80
chore: Fix gosec G102 issues (#12923) 2023-03-28 11:40:29 +02:00
Sven Rebhan bd5f6b7c7c
feat(common.opcua): Add support for secret-store secrets (#12863) 2023-03-21 08:58:06 -06:00
Sven Rebhan 1eb70808d0
feat(common.oauth): Add audience parameter (#12821) 2023-03-13 12:17:37 +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
Sven Rebhan 6e3af9d06c
feat(outputs.mqtt): Add option to specify topic layouts (#12697) 2023-02-28 11:44:35 -07:00
Sven Rebhan 9e519def51
feat(common.tls): add enable flag (#12727) 2023-02-27 11:22:40 -07:00
Thomas Casteleyn 6a2f6f301f
chore: eliminate unnecessary use of quoted strings in printf (#12722) 2023-02-23 06:49:36 -07:00
Paweł Żak 4201f24020
chore: Fix linter findings for errorlint (part2) (#12702)
Co-authored-by: Pawel Zak <Pawel Zak>
2023-02-22 12:08:46 +01:00
Sven Rebhan 75cbda186c
chore(mqtt): unify input and output plugin's MQTT client (#12683) 2023-02-17 12:59:02 -07: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
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
Paweł Żak d9d9cd4c0b
chore: fix linter findings for nolintlint part 1 (#12427) 2023-01-25 13:28:13 -07:00
Joshua Powers f08cac618c
fix(common.cookie): Allow any 2xx status code (#12515) 2023-01-18 11:19:19 +01:00
Sven Rebhan 63ab159481
feat(secretstores): add support for additional input plugins (#12067) 2023-01-09 09:17:23 -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
Paweł Żak 86cd0c0c24
chore: Fix linter findings for makezero (part4) (#12410) 2022-12-20 11:42:09 +01:00
Sven Rebhan 7fb90a2d9c
chore(linter): disable linter warning for freeze() in starlark (#12406) 2022-12-16 06:26:19 -07:00
Sylvain Bruyère 35b5476c83
fix(common.opcua): parse full range of status codes with uint32 (#12376) 2022-12-12 09:54:21 -07:00
Paweł Żak 4717a03509
chore: Fix linter findings for makezero (part2) (#12362) 2022-12-09 16:38:37 +01:00
Joshua Powers da0c186a71
feat(tls): allow setting renegotiation method (#12302) 2022-12-06 20:09:58 -07:00
Trevor North 70b33c2649
feat(inputs.kafka_consumer): Add sarama debug logs (#12304) 2022-12-05 21:54:08 +01:00
Paweł Żak cdc622e9db
chore: Fix linter findings for prealloc (part1) (#12228) 2022-11-15 18:57:50 +01:00
Paweł Żak 6816aefcd5
chore: fix linter findings for unparam and revive.unused-parameter (#12150) 2022-11-08 12:04:12 -07:00
Paweł Żak 8203b503b7
chore: Wrap long lines in plugins/common (#12182) 2022-11-08 18:35:08 +01:00
Viraj Sinha e42b0832e0
fix: Add support for opcua datetime values (#12101) 2022-11-07 20:35:53 +01:00
Paweł Żak 6659e3d62a
chore: Use depguard instead of revive.imports-blacklist (#12153) 2022-11-07 11:34:05 +01:00
reimda 494f558b4e
feat: Add exponential backoff when connecting or reconnecting and allow plugin to start without making initial connection (#12111) 2022-11-03 08:01:22 -05:00
Mya 2bcb4d9f52
chore(common.shim): check err of s.writeProcessedMetrics for the linter (#12103) 2022-10-26 20:50:38 +02:00
Paweł Żak 9d9eb403a6
chore: Review of //nolint comments (#12088) 2022-10-26 12:06:08 +02:00
Lars Stegman 739f800b53
feat(inputs.opcua_listener): OPC UA Event subscriptions (#11786) 2022-10-25 08:06:08 -06:00
Sebastian Spaink f38c9f2a45
chore: Resolve deprecated linter issues (#12051) 2022-10-19 18:32:53 +02:00
Paweł Żak 85b7590ff9
chore: resolve linter issues for confusing-naming and confusing-results (#11956) 2022-10-12 13:19:47 -06:00
Paweł Żak 9ff5cda6e8
chore: Resolve linter issues for plugins/common package (#11964)
Co-authored-by: Pawel Zak <Pawel Zak>
2022-10-11 11:31:44 -05:00
Joshua Blanchard 2b03cd9151
fix(common.kafka): Enable TLS in Kafka plugins without custom config (#11519) 2022-09-26 12:14:14 -06:00
Sven Rebhan 78bdf9a1b2
chore(inputs.jolokia2): Move agent and proxy one level up (#11637) 2022-09-09 17:48:15 -06:00
Joshua Powers 8c49ddccc3
chore: update to go1.19.1 (#11776) 2022-09-08 12:49:36 -06:00
Sven Rebhan 09eb7ee111
chore: Move aws credentials to plugins/common. (#11681) 2022-08-16 19:04:30 +02:00
Sven Rebhan e96bbe83c5
feat(common.tls): Implement minimum TLS version for clients (#11493) 2022-08-09 13:36:47 +02:00
Joshua Powers b5076363e4
fix: use reader over readcloser, regen cookie-jar (#11482) 2022-07-18 13:05:28 -06:00
Joshua Powers 508483157d
fix: allow 201 for cookies, update header docs (#11472) 2022-07-08 15:10:46 -06:00
Sebastian Spaink 9744c3a6a2
feat: Migrate influx and influx_upstream parsers to new style (#11432) 2022-07-06 15:23:13 -05:00
Alexander Krantz 65a60855a0
feat(x509_cert): add proxy support (#9319) 2022-06-21 15:50:06 -05:00
Julien Pivotto fa64e26a0c
chore: fix typo (recieve -> receive) (#11341) 2022-06-21 10:36:41 -06:00
Joshua Powers 58e01f72b2
test: add circle ci integration testing on PRs (#11246) 2022-06-03 10:33:28 -06:00
crflanigan 7d2016b84c
feat: Google API Auth (#11084) 2022-05-24 17:33:02 -06:00
RaviKiran K 5a71d03e63
feat(outputs.http): Support configuration of `MaxIdleConns` and `MaxIdleConnsPerHost` (#10954) 2022-04-27 15:24:27 -05:00
Sebastian Spaink 5d6748fcb5
feat: generate the plugins sample config (#10886) 2022-04-05 17:11:09 -05:00
Alexander Krantz f76729cfb9
feat: HTTP basic auth for webhooks (#9332)
Co-authored-by: Sebastian Spaink <3441183+sspaink@users.noreply.github.com>
2022-03-04 09:51:01 -06:00
Thomas Casteleyn a4f6b27bd5
style: Add deprecation notices to plugin options (#10616) 2022-03-01 15:05:53 -07:00