-
Notifications
You must be signed in to change notification settings - Fork 32
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
FOPTS-5124 Added batch processing for some Policies with high memory consumption #2722
base: master
Are you sure you want to change the base?
Conversation
Generated by 🚫 Danger |
a79acaf
to
07adb07
Compare
753973a
to
f9a4886
Compare
cost/azure/databricks/rightsize_compute/azure_databricks_rightsize_compute.pt
Outdated
Show resolved
Hide resolved
cost/azure/databricks/rightsize_compute/azure_databricks_rightsize_compute.pt
Outdated
Show resolved
Hide resolved
cost/azure/databricks/rightsize_compute/azure_databricks_rightsize_compute.pt
Show resolved
Hide resolved
cost/azure/databricks/rightsize_compute/azure_databricks_rightsize_compute.pt
Outdated
Show resolved
Hide resolved
cost/azure/databricks/rightsize_compute/azure_databricks_rightsize_compute.pt
Outdated
Show resolved
Hide resolved
cost/azure/databricks/rightsize_compute/azure_databricks_rightsize_compute.pt
Show resolved
Hide resolved
@@ -1026,7 +1054,7 @@ script "js_idle_and_underutil_instances", type: "javascript" do | |||
|
|||
applied_policy_name = ds_applied_policy["name"] | |||
|
|||
_.each(ds_filtered_workspace_virtualmachines_with_costs, function(vm) { | |||
getIterator(ds_filtered_workspace_virtualmachines_with_costs).Each(function(vm, idx) { | |||
// Set the Applied Policy Name which is used in the summary_template/detail_template output | |||
vm["policy_name"] = applied_policy_name | |||
// Get the utilization metrics that we are going to use for comparison |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Line 1193 and Line 1354 -
Not caused by this change but see Errors -
Recommendation policy has export that is missing required fields. These fields are scraped by the Flexera platform for dashboards:Line 1193: accountID, accountName, resourceID, service, savingsCurrency
Line 1354: accountID, accountName, resourceID, service, savingsCurrency
e.g., line 1201 should be accountID
instead of subscriptionId
(and same for subscriptionName
); resourceID
, service
and savingsCurrency
fields need to be added
cost/azure/databricks/rightsize_compute/azure_databricks_rightsize_compute.pt
Show resolved
Hide resolved
cost/aws/object_storage_optimization/aws_object_storage_optimization.pt
Outdated
Show resolved
Hide resolved
cost/aws/object_storage_optimization/aws_object_storage_optimization.pt
Outdated
Show resolved
Hide resolved
cost/azure/databricks/rightsize_compute/azure_databricks_rightsize_compute.pt
Show resolved
Hide resolved
d82742c
to
05c60e7
Compare
05c60e7
to
3983e1d
Compare
…to policy master permission generation file
Just one outstanding change requested, then happy to approve |
10f39fe
to
6dfc641
Compare
6dfc641
to
d625582
Compare
Added batch processing in AWS Object Storage Optimization, Azure Databricks Rightsize Compute Instances and Azure Reserved Instance Recommendations Policies
Description
Following the release of batch processing for all organizations, it was decided to modify the templates with the highest memory consumption to make use of batch processing. These policies are:
NOTE: For AWS Object Storage Optimization, I think there was a mistake in the parameters to run script
$js_aws_s3_objects_with_storage_class. It was using $ds_aws_list_s3_objects but I think it should use, $ds_aws_s3_objects because it is the data source that has the objects filtered by tags if we use that param, and $ds_aws_s3_objects was not being used by any other datasource. I changed the data source used as input, but let me know if it was correct
Issues Resolved
FOPTS-5124
Link to Example Applied Policy
Contribution Check List