Commit Graph

59 Commits

Author SHA1 Message Date
Sven Rebhan c6f1c66bf8
feat(inputs.gnmi): Rework plugin (#14091) 2023-10-31 17:51:05 +01:00
Paweł Żak 89a235c620
chore(linters): Enable perfsprint linter and fix all findings. (#14208) 2023-10-30 06:14:16 -06:00
Paweł Żak fe87db594c
chore(linters): Fix findings found by testifylint: error-nil (#14198) 2023-10-27 07:42:25 -06:00
Sven Rebhan 61cf18c821
chore: Check logging functions like printf (#13743) 2023-08-09 15:02:36 -06:00
Sven Rebhan 2e3adbd520
docs(inputs.gnmi): Add troubleshooting section for Juniper devices (#13582) 2023-07-10 08:33:52 -06:00
Sven Rebhan cec60dbfa9
fix(inputs.gnmi): Add option to explicitly trim field-names (#13517) 2023-07-06 11:20:11 +02:00
Sven Rebhan 187902ecd4
chore(inputs.gnmi): Test plugin and subscription options (#13384) 2023-06-05 13:56:09 -06:00
Sven Rebhan 9147afbeca
fix(inputs.gnmi): Handle canonical field-name correctly for non-explicit subscriptions (#13332) 2023-06-01 11:32:51 -06:00
Sven Rebhan 8f07761cba
feat(inputs.gnmi): Allow canonical field names (#13326) 2023-05-24 08:14:06 -06:00
Sven Rebhan fb3cd61579
fix(inputs.gnmi): Allow optional origin for update path (#13304) 2023-05-23 07:06:02 -06: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
r3inbowari 19c4316694
chore: Update README.md (#12989) 2023-04-04 13:43:49 +02:00
Joshua Powers 5e7c5c84e9
docs: Explain and note service inputs (#12870) 2023-03-27 14:12:35 +02: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
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 d3e1f95b87
feat(inputs.gnmi): Set max gRPC message size (#12495) 2023-01-27 10:11:29 +01:00
Thomas Casteleyn 61523bd4b9
feat(tools/readme_linter): Check for global configuration section (#12426) 2023-01-12 16:55:21 +01:00
Sven Rebhan 11228ee8ad
fix(inputs.gnmi): update configuration documentation (#12415) 2023-01-09 12:35:13 -07:00
Paweł Żak c6663aca4f
chore: fix linter findings for makezero (part3) (#12371) 2022-12-12 07:05:33 -07:00
Sven Rebhan d10ab3a417
chore(inputs.gnmi): Degrade empty-name error to a warning and add instructions. (#12305) 2022-11-30 12:09:31 +01:00
Sven Rebhan 54f4a3a38b
fix(inputs.gnmi): Do not provide empty prefix for subscription request. (#12275) 2022-11-28 20:58:43 +01:00
Sven Rebhan 65200dba2a
fix(inputs.gnmi): Fix empty name for Sonic device (#12258) 2022-11-21 20:59:26 +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 497297a92a
chore: Ignore usages of deprecated fields from gnmi lib (#12154)
Co-authored-by: Pawel Zak <Pawel Zak>
2022-11-03 08:41:20 -05:00
richu shaji abraham 415cfa8548
fix: inputs.gnmi add support for decimal_val as per gnmi v0.8.0 (#12140)
* fix: run make fmt

* change gnmiLib version from 0.7.0 to 0.8.0

* fix: add support for decimalVal as per gnmi v0.8.0

* fix: run go mod tidy

* fix: run make fmt

Co-authored-by: richu abraham <ricabrah@cisco.com>
2022-11-02 14:20:24 -05:00
Joshua Powers 49ac03fa80
docs: add global configuration header (#12107) 2022-10-26 14:58:36 -05:00
Paweł Żak 9d9eb403a6
chore: Review of //nolint comments (#12088) 2022-10-26 12:06:08 +02:00
Sebastian Spaink f38c9f2a45
chore: Resolve deprecated linter issues (#12051) 2022-10-19 18:32:53 +02:00
Paweł Żak dbf6796a89
fix: Setting `enable_tls` has incorrect default value (#11941)
Co-authored-by: Pawel Zak <Pawel Zak>
2022-10-05 10:07:28 +02:00
Sebastian Spaink d67f75e557
docs: Remove warning not to remove go:embed (#11797)
Co-authored-by: Joshua Powers <powersj@fastmail.com>
2022-09-13 12:47:58 -05:00
Joshua Powers 8c49ddccc3
chore: update to go1.19.1 (#11776) 2022-09-08 12:49:36 -06:00
Sven Rebhan e96bbe83c5
feat(common.tls): Implement minimum TLS version for clients (#11493) 2022-08-09 13:36:47 +02:00
Sven Rebhan e2578462a5
fix(inputs): Linter issues (#11576) 2022-08-02 13:52:17 +02:00
Sven Rebhan d7f8f025fc
fix: Backport sync sample.conf and README.md files (#11489)
Co-authored-by: Sven Rebhan <sven.rebhan@honda-ri.de>
2022-07-12 13:59:00 -05:00
bewing a0aa4082a2
chore(gnmi): Add Metrics heading to README.md (#11476) 2022-07-07 15:06:44 -06:00
bewing f29f7b28f2
fix(gnmi): refactor tag-only subs for complex keys (#11011) 2022-07-07 12:50:40 -06:00
reimda 453e276718
chore: Fix readme linter errors for input plugins E-L (#11214) 2022-06-07 15:37:08 -06:00
Joshua Powers 2fc19fa308
chore: correctly spell embed (#11200) 2022-05-27 07:13:47 -06:00
Sven Rebhan 56eb914998
chore: Embed sample configurations into README for inputs (#11136) 2022-05-24 08:49:47 -05:00
Sebastian Spaink 6b697db11e
chore(inputs_a-l): migrate sample configs into separate files (#11132) 2022-05-18 11:31:52 -05:00
Eng Zer Jun 81090be35d
refactor: replace strings.Replace with strings.ReplaceAll (#11079) 2022-05-11 09:53:34 -06:00
bewing a6f278a5ea
fix: use external xpath parser for gnmi (#11024) 2022-04-26 07:38:02 -06:00
bewing 72997edf7b
fix: add mutex to gnmi lookup map (#11008) 2022-04-22 07:40:20 -06:00
bewing dc95d22272
fix: use sprint to cast to strings in gnmi (#11010) 2022-04-21 07:45:37 -06:00
Sebastian Spaink 8e2b4988fe
feat: migrate input plugins to new sample config format (A-L) (#10924) 2022-04-07 16:01:21 -06:00
bewing 7e769d738a
feat: add dynamic tagging to gnmi plugin (#7484) 2022-02-07 08:18:53 -07:00
Joshua Powers 79e479c691
fix: markdown: resolve all markdown issues with g-h (#10172) 2021-11-24 11:56:55 -07:00
Paweł Żak 87c94e4ac3
Linter fixes for plugins/inputs/[fg]* (#9387) 2021-07-27 15:28:26 -06:00
Sven Rebhan 03b2daeb1b
Linter fixes (unhandled errors) -- Part 2 (#9122) 2021-04-22 16:08:03 -05:00