-
Notifications
You must be signed in to change notification settings - Fork 23
Adding collector providing the total of vCPU of all workers #165
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 24 commits
Commits
Show all changes
74 commits
Select commit
Hold shift + click to select a range
693cf62
Add cls to json type
itdove ece286f
Merge branch 'devel' into vcpu_collector
itdove 4e59870
Remove the classes to simplify code
itdove aa23d3b
Add environment variable METRIC_UTILITY_ANSIBLE_SAAS_CLUSTER_NAME and…
itdove 4e60f4e
ruff fix
itdove 09c41a9
fix init timestamp
itdove 2c5ac9d
Add get_mandatory_collectors
itdove 766e173
Reformat collectors.py
itdove ce2a3a4
Use METRIC_UTILITY_VCPU_COUNT_ENABLED instead of METRIC_UTILITY_VCPU_…
itdove 252c4c4
Test
itdove c04bacc
Add clean METRICS_UTILITY_MANDATORY_COLLECTORS env var in test
itdove befeaa3
Add pytest
itdove 6e524ac
fix ruff
itdove 2fb2f6f
Reformat
itdove 1160b5a
Log error instead of raising exception
itdove 2305130
Fix tests ruff
itdove b4ddec2
Raise exception on error
itdove 019c8fe
Reformat
itdove a6de69a
ruff
itdove ee028ba
Add MANDATORY COLLECTORS validity
itdove e0dfdbf
Fix pytest
itdove 1cd5b56
Merge remote-tracking branch 'upstream/devel' into vcpu_collector
itdove 2233671
Fix mock config
itdove d8a725d
Use metrics_utility.exceptions
itdove 588cf42
Rename METRICS_UTILITY_VCPU_COUNT_ENABLED to METRICS_UTILITY_USAGE_BA…
itdove 15f3a23
Merge remote-tracking branch 'upstream/devel' into vcpu_collector
itdove 4a8e241
Update pytest
itdove 882ffee
Run ruff
itdove f45b9ed
Rename METRICS_UTILITY_ANSIBLE_SAAS_CLUSTER_NAME to METRICS_UTILITY_C…
itdove b40024d
Merge remote-tracking branch 'upstream/devel' into vcpu_collector
itdove b007b29
Use logging
itdove 5e0ad14
comments
itdove 96ea5f7
Create a new logger
itdove 479c401
Format
itdove 61c73f7
Fix precheck
itdove 3f1b621
with quote in precheck
itdove 83b4914
Fix test
itdove 6e85e74
Use METRICS_UTILITY_DISABLE_JOB_HOST_SUMMARY_COLLECTOR
itdove 6dde765
reformat
itdove ca00582
Remove METRICS_UTILITY_MANDATORY_COLLECTORS for validation
itdove e0936e8
Add doc in test_Containerfile
itdove f83975a
add test for METRICS_UTILITY_DISABLE_JOB_HOST_SUMMARY_COLLECTOR
itdove 094f742
Remove unused local varaible
itdove 305d04b
Add test if failed to get a kube client
itdove 4b9e84f
Fix imports
itdove e00e0c6
Remove var VALID_MANDATORY_COLLECTORS
itdove e6a0b83
Rename VALID_OPTIONAL_COLLECTORS to its original name
itdove 51f5f4c
Merge remote-tracking branch 'upstream/devel' into vcpu_collector
itdove 94d19dd
ruff format
itdove 32bf24b
safe_tarfile_member_check
itdove bed0b50
format
itdove f936eda
Fix sonar
itdove 1f527e0
fix sonarQube
itdove ee64ef9
Add METRICS_UTILITY_COLLECTOR_LOCK_SUFFIX and METRICS_UTILITY_DISABLE…
itdove 8cd4f34
REmove comments
itdove 30a3d85
Deleting test_total_workers_vcpu_standalone.py... not needed
itdove 180632d
Add limit_slicing
itdove 118611f
Parenthesis
itdove a51d7b1
Add macos instruction
itdove 565881a
Merge remote-tracking branch 'upstream/devel' into vcpu_collector
itdove 35116c1
sort import
itdove 479b756
Delete file at the end of each test
itdove 2dca7b8
Try again
itdove 1a89e96
Comment assert
itdove 8a26617
revert
itdove 8642550
comment tests
itdove 82ec79d
Print
itdove efa2e2a
Catch extra exception
itdove ba3882e
Fix exception
itdove 80464f9
Remove exception
itdove 72384e1
format
itdove 8c873ff
fix assert ruff
itdove 2320dc8
Merge remote-tracking branch 'upstream/devel' into vcpu_collector
itdove 353e9a8
Merge remote-tracking branch 'upstream/devel' into vcpu_collector
itdove File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.