-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[PLINT-467] Added support for vSAN metric/event collection in the vSp…
…here integration (#18117) * [WIP] updating vsphere check to get metrics for vsan clusters * fixed cluster_name tagging and added a config option for vsan metric collection * added a changelog * validated config and models * made string formatting compatible with python 2 * adding cluster health metrics and only supporting python 3 * fix for cluster health metrics * adding host metrics and using infrastructure cache in resource discovery * using format() instead of f-strings * refactored and added disk metrics * refactored vsan api code to improve performance * adding support for vsan events collection * ensuring that the PR is only tested in Python 3 * removing testing file from tracking * fixing patching * refactoring to use existing infra cache and changed event filtering * adding a vsan test for api.py * lint * adding metrics to metadata.csv and improving logging * removing ratio keyword * fixing count keyword * adding cluster health metrics to metadata.csv * sorted metadata.csv * adding descriptions to cluster health metrics * increased complexity of check test * addressing comments * quick fix * another fix * adding code coverage, removing manual host tags, and removing percent metric prefixes * adding more code coverage * lint * additional code coverage * addressing more comments * simplified collect_vsan_metrics logic * removing disk-level metrics * removing vsan disk events * addressed some comments * addressing more comments * updating licenses * updating api.py * removing unnecessary import * undoing licensing changes * further metric filtering * fixing vsan excluded_host_tags logic * adding get_mor_tags and get_mor_props to test_vsan_metrics_included_in_check
- Loading branch information
1 parent
b8de861
commit 718623b
Showing
18 changed files
with
1,108 additions
and
341 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Added support for vSAN metric/event collection in the vSphere integration |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.