Commit Graph

35 Commits

Author SHA1 Message Date
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
Pontus Rydin 78c1ffbf27 Improve scalability of vsphere input (#5113) 2018-12-28 13:24:43 -08:00
Pontus Rydin 2d782fbaac Fix potential missing datastore metrics in vSphere plugin (#4968) 2018-11-06 14:22:43 -08:00
Pontus Rydin 69170d24bc Add LUN to datasource translation in vsphere input (#4934) 2018-11-02 12:05:28 -07:00
Pontus Rydin c117ed624d Fix missing timeouts in vsphere input (#4840) 2018-10-11 13:08:09 -07:00
Pontus Rydin 21b488a3d3 Use server time to fix missing non-realtime samples in vsphere (#4791) 2018-10-03 12:02:06 -07:00
Pontus Rydin 797fbf7215 Add UUID to VMs in vSphere input (#4769) 2018-10-01 16:13:32 -07:00
Pontus Rydin c369c1989f Fix panic during network error in vsphere input (#4765) 2018-09-27 17:29:17 -07:00
Pontus Rydin 5f3c331f79 Add input plugin for VMware vSphere (#4141) 2018-09-11 14:53:46 -07:00