Commit Graph

58 Commits

Author SHA1 Message Date
Paweł Żak dba5597530
chore(linters): Configure `revive:var-naming` and fix its findings (#16817) 2025-04-24 21:23:04 +01:00
Dane Strandboge b6260ee49c
chore(inputs.vsphere): Improve metric collection error logging (#16572) 2025-03-04 10:37:59 +01:00
Paweł Żak e57f48f608
chore: Fix linter findings for `revive:exported` in `plugins/inputs/[t-v]*` (#16408) 2025-01-21 09:17:01 -06:00
Paweł Żak 22b153ac65
chore: Fix linter findings for `revive:enforce-map-style` in `plugins/inputs/[n-z]*` (#16072) 2024-10-25 12:54:05 +02:00
6monlambert c9a7582b12
feat(inputs.vsphere): Add VM memory configuration (#11591)
Co-authored-by: Dane Strandboge <136023093+DStrand1@users.noreply.github.com>
2024-10-14 21:00:39 +02:00
Paweł Żak 453d32bd81
chore: Fix linter findings for `revive:comment-spacings` (part 2) (#15897) 2024-09-19 11:03:28 +02:00
Paweł Żak 358224fa02
chore: Fix linter findings for `revive:enforce-repeated-arg-type-style` in `plugins/inputs/[o-z]*` (#15857) 2024-09-12 15:59:30 -05:00
Viktor Szépe 31a1d34d99
chore: Fix typos throughout codebase (#15338) 2024-05-31 10:26:37 +02: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
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
Sven Rebhan 6e6c57154e
feat(inputs.vsphere): Allow to set vSAN sampling interval (#13890) 2023-09-08 12:17:23 -06:00
Sven Rebhan 1d24efe55c
chore(tools): Bump golangci-lint from v1.53.2 to v1.54.2 (#13838) 2023-08-29 07:07:41 -06:00
Eng Zer Jun 7e6b98226e
chore(inputs): Remove unnecessary nil check (#13749)
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2023-08-14 10:39:56 +02:00
Paweł Żak 30b603626c
chore: Enable G404 rule for gosec (#13095) 2023-05-02 06:31:50 -06:00
Gangadharaswamy HU b323d1ce3c
feat(inputs.vsphere): Adding vSAN extension to vSphere plugin (#11955) 2023-04-18 11:03:28 -06:00
Paweł Żak 5f2142a6cc
chore: Enable G601 rule for gosec (#13042) 2023-04-12 16:56:07 +02:00
Pontus Rydin 7daf7bb38f
feat(inputs.vsphere): Flag for more lenient behavior when connect fails on startup (#12828) 2023-03-13 12:19:49 +01:00
Paweł Żak e2a510f157
chore: Fix linter findings for errorlint (part7) (#12772)
Co-authored-by: Pawel Zak <Pawel Zak>
2023-03-03 10:11:54 +01:00
Paweł Żak c6663aca4f
chore: fix linter findings for makezero (part3) (#12371) 2022-12-12 07:05:33 -07:00
Pontus Rydin dae0d82b9a
fix(inputs.vsphere): Eliminated duplicate samples (#12259) 2022-12-07 17:02:02 +01:00
Paweł Żak b98a76372a
chore: wrap long lines in plugins/inputs/[t-z]* (#12218) 2022-11-10 11:41:43 -07:00
Joshua Powers 8c49ddccc3
chore: update to go1.19.1 (#11776) 2022-09-08 12:49:36 -06:00
6monlambert fa723355f5
feat(inputs.vsphere): Collect resource pools metrics and add resource pool tag in VM metrics (#10574)
* Collect Resource Pool metrics; Add rpname tag on VM metrics

* Update vSphere readme file

* Update vSphere readme file

* Correct typo in vSphere Readme

* Correct Markdown of metrics.md

* Fix metrics file

* Fix code in endpoint (filter); add some tests

* Update plugins/inputs/vsphere/endpoint.go

That's true I commit this suggestion

Co-authored-by: Sebastian Spaink <3441183+sspaink@users.noreply.github.com>

* Removed Context and Endpoint from getResourcePoolName func

Co-authored-by: Simon LAMBERT <silambert@cirilgroup.com>
Co-authored-by: Sebastian Spaink <3441183+sspaink@users.noreply.github.com>
2022-05-12 15:36:56 -05:00
Joshua Powers b169b01568
fix: update vsphere info message to debug (#10903)
This message is very verbose and causes a lot of extra messages to get
printed out as-is. Having it can be helpful in debugging when a metric
does not show up, but it is not useful for general usage. This changes
the message to only show up with debug enabled.

Fixes: #10350
2022-03-28 10:06:19 -06:00
Paweł Żak 146fff3183
fix: Linter fixes for plugins/inputs/[t-z]* (#10105) 2021-11-18 07:22:43 -07:00
Chris Dagenais 60bb676730
vSphere input: need to be able to configure the historical interval duration (#9276) 2021-05-20 13:50:40 -07:00
Pontus Rydin 5f26582582
Added MetricLookback setting (#9045)
* Added MetricLookback setting

* Fixed go mod issue
2021-04-13 16:07:54 -05:00
Sven Rebhan 9853bf6c54
Get rid of deprecated internal.{Duration,Size,Number} (#8969) 2021-04-09 13:15:04 -04: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
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 8a6907a186
Revive fixes - part 3 (#8872)
* * Revive fixes regarding following set of rules: [rule.var-naming]
2021-03-01 16:04:35 -05:00
Pontus Rydin 6062265f94
Fixed misspelled check for datacenter (#8505) 2020-12-10 12:02:36 -05:00
Pontus Rydin 89919631c5
Prydin issue 8169 (#8357) 2020-11-03 13:09:37 -05:00
Pontus Rydin 60d402d827
vSphere Fixed missing clustername issue 7878 (#8026) 2020-08-26 12:58:28 -04:00
Steven Soroka 11afd42617
fix issue with shim use of config.Duration (#7996) 2020-08-18 14:20:31 -04:00
Josh Soref 2c56d6de81
Fix spelling errors in comments and documentation (#7492) 2020-05-14 00:41:58 -07:00
Pontus Rydin d0db0e8f0a
Fix vSphere 6.7 missing data issue (#7233) 2020-04-21 11:30:29 -07:00
Pontus Rydin c7b7336da3 Exclude resources by inventory path in vsphere input (#6859) 2020-01-16 12:14:00 -08:00
Pontus Rydin fc57012629 Deprecated force_discovery_on_init flag in vsphere input (#6861) 2020-01-14 16:30:43 -08:00
Pontus Rydin 78a7978ea8 Add custom attributes for all resource types in vsphere input (#6884) 2020-01-13 15:15:55 -08:00
Greg 817c9a69a9 Document and add support to input plugins for logging alias (#6357) 2019-09-23 15:39:50 -07:00
Pontus Rydin 2755595019 Add support for custom attributes to vsphere input (#5971) 2019-08-14 17:03:33 -07:00
Pontus Rydin fa492e0840 Fixed datastore name mapping in vsphere input (#5920) 2019-05-28 18:08:44 -07:00
Pontus Rydin aac4c29dc6 Fix interval estimation in vsphere input (#5726) 2019-05-07 11:52:24 -07:00
Pontus Rydin 19988a94de Add use_int_samples option for backwards compatibility (#5563) 2019-03-11 11:16:32 -07:00
Pontus Rydin c0bb8625dc Add resource path based filtering to vsphere input (#5165) 2019-02-12 14:05:14 -08:00
Pontus Rydin 3356f1dc82 Fix discovery race condition in vsphere input (#5217) 2019-01-03 11:30:05 -08:00