Commit Graph

55 Commits

Author SHA1 Message Date
Paweł Żak e6d82bd996
chore: Fix linter findings for `revive:enforce-repeated-arg-type-style` in `plugins/inputs/[a-g]*` (#15849) 2024-09-16 10:56:55 -05:00
Joshua Powers b79299975d
chore(deps): Bump github.com/lxc/incus v0.4.0 to v6.2.0 (#15441) 2024-06-06 14:35:56 -05:00
Paweł Żak ae7fbc5082
chore(linters): Replace 'fmt.Errorf' with 'errors.New' wherever possible (#14698) 2024-02-08 11:32:30 -06: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
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
Paweł Żak 8fbea28ab3
chore(linters): Fix findings found by testifylint: expected-actual (#14229) 2023-11-01 14:09:55 -06:00
Joshua Powers 984d6029ef
fix(inputs.cisco_telemetry_mdt): Print string message on decode failure (#13963) 2023-09-21 15:44:10 +02:00
Shangxin Du 7df1e53a4b
feat(inputs.cisco_telemetry_mdt): Add microbust support (#13877) 2023-09-07 07:27:12 -06: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 bc3ac27aef
docs(inputs.cisco_telemetry_mdt): Specify max msg upper limit (#13346) 2023-05-30 16:50:38 +02:00
r3inbowari 19c4316694
chore: Update README.md (#12989) 2023-04-04 13:43:49 +02:00
Paweł Żak 9608d118bd
chore: Don't use all default exclude patterns for golangci-lint (#12969)
Co-authored-by: Pawel Zak <Pawel Zak>
2023-03-29 09:50:00 +02:00
Joshua Powers 5e7c5c84e9
docs: Explain and note service inputs (#12870) 2023-03-27 14:12:35 +02:00
Paweł Żak 312fb04b68
chore: Fix linter findings for errorlint (part4) (#12723)
Co-authored-by: Pawel Zak <Pawel Zak>
2023-02-22 21:38:06 +01:00
Joshua Powers fa26b6498b
docs: remove trailing whitespace (#12660) 2023-02-09 12:35:18 -07:00
Joshua Powers 8af579752f
fix(inputs.cisco_telemetry_mdt): check subfield sizes to avoid panics (#12637) 2023-02-08 09:48:25 -07:00
Paweł Żak d9d9cd4c0b
chore: fix linter findings for nolintlint part 1 (#12427) 2023-01-25 13:28:13 -07:00
Severin Dellsperger 607bfdbc97
feat(inputs.cisco_telemetry_mdt): include delete field (#12345) 2023-01-25 12:17:47 -07:00
Thomas Casteleyn 61523bd4b9
feat(tools/readme_linter): Check for global configuration section (#12426) 2023-01-12 16:55:21 +01:00
dd-accedian 5174fb1e94
fix(inputs.cisco_telemetry_mdt): add operation-metric and class-policy prefix (#12240) 2023-01-12 08:30:38 -07: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 b9bba638b1
chore: Wrap long lines in plugins/inputs/[a-d]* (#12185) 2022-11-08 18:41:17 +01:00
Joshua Powers 49ac03fa80
docs: add global configuration header (#12107) 2022-10-26 14:58:36 -05: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
Danial Ebling 1fa47c8221
feat(inputs.cisco_telemetry_mdt): Add GRPC Keepalive/timeout config options (#11458) 2022-07-18 13:07:42 -06:00
reimda 1b1482b5eb
chore: Fix readme linter errors for input plugins A-D (#10964) 2022-06-07 15:10:18 -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
Joshua Powers b1e3ece613
fix: align the default value for msg size (#10947) 2022-04-12 09:09:38 -06:00
Joshua Powers dbd1fe734b
fix: remove overly verbose info message from cisco mdt (#10959) 2022-04-12 07:54:35 -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
Joshua Powers 6fa29f2966
fix: markdown: resolve all markdown issues with a-c (#10169) 2021-11-24 11:55:55 -07:00
Dane Strandboge ddeb6ec890
build: move to new protobuf library (#10019) 2021-11-09 08:51:14 -06:00
Russ Savage 314bc0ff7f
chore: readme updates (#9367) 2021-06-23 11:26:13 -05:00
Paweł Żak 1fabc5f1fe
Linter fixes for plugins/inputs/[c]* (#9194)
* Linter fixes for plugins/inputs/[c]*

* Linter fixes for plugins/inputs/[c]*

Co-authored-by: Pawel Zak <Pawel Zak>
2021-04-27 20:41:52 -05:00
Sven Rebhan 03b2daeb1b
Linter fixes (unhandled errors) -- Part 2 (#9122) 2021-04-22 16:08:03 -05:00
Paweł Żak 099ccda3f9
Linter fixes - gosimple (#9046) 2021-03-25 13:57:01 -04:00
Paweł Żak 5de640b855
Linter fixes - unconvert, revive:empty-lines, revive:var-naming, revive:unused-parameter (#9036)
Co-authored-by: Pawel Zak <Pawel Zak>
2021-03-24 11:27:46 -04:00
Paweł Żak 74a1acd814
Linter fixes - revive:unused-parameter, unparam, varcheck and unused (#8984)
* Linter fixes - revive:unused-parameter and unparam

* Linter fixes - revive:unused-parameter and unparam

* Linter fixes - revive:unused-parameter and unparam

* "nolint"'s removed

* Fixes for "varcheck" and "unused" added.

* Fixes for "varcheck" and "unused" added.

* Fixes for "varcheck" and "unused" added.

* Fixes for "varcheck" and "unused" added.

* Fixes for "varcheck" and "unused" added.

* Fixes for "varcheck" and "unused" added.

* Fixes for "varcheck" and "unused" added.

Co-authored-by: Pawel Zak <Pawel Zak>
2021-03-22 12:21:36 -05:00
Shangxin Du f5552944d1
cisco_telemetry_mdt enhancement (#8661) 2021-03-16 17:49:07 -04:00
Paweł Żak 38c61c07ef
Revive fixes - part 4: (#8981)
empty-lines

Co-authored-by: Pawel Zak <Pawel Zak>
2021-03-12 14:21:51 -06:00
Paweł Żak ba66d4facb
Revive fixes - part 1 (#8797)
* Revive fixes regarding following set of rules:
[rule.blank-imports]
[rule.context-as-argument]
[rule.context-keys-type]
[rule.dot-imports]
[rule.error-return]
[rule.error-strings]
[rule.indent-error-flow]
[rule.errorf]
2021-02-08 11:18:40 -05:00
Russ Savage 40c6d189fe
fix(readmes): standarize first line of readmes (#7973) 2020-08-11 16:10:41 -04:00
Daniel Nelson c73ed8ca6c
Export internal/tls package for use in execd plugins (#7697) 2020-06-25 11:44:22 -07:00
Steven Barth 0a1373765e
Fix dash to underscore replacement when handling embedded tags in Cisco MDT (#7035)
Currently configuring embedded_tags for cisco_telemetry_mdt input
requires an unusual mix of - and _, i.e. one needs to specify e.g.
Cisco-IOS-XR-wdsysmon-fd-oper:system-monitoring/cpu-utilization/process_cpu/process-id
for it to work correctly. Additionally, tags created might still contain
dashes against convention.

This fix creates correctly formatted tags with underscores instead of
dashes and unifies the configuration parameter to expect either dashes
or underscores, so old configurations are still valid.
2020-02-18 17:31:39 -08:00
Daniel Nelson d46f94112c
Use require in cisco mdt tests to avoid follow on errors (#6984) 2020-02-06 14:18:42 -08:00