Overview
When working with recommendations for cloud and container instances a configuration change to a container object or instance type change for a cloud instance may result in inconsistent recommendations because they are based on workload history collected prior to the instance change. The following attributes are used to implement this feature:- ASG | VM Scale Set Instance Type Updated On—This attribute is populated with the current date (in the date format Jan 09, 2023, 3:31 PM) if the instance type changes. The date is used to determine the workload range so that only workloads relevant to the current cloud instance type are used in the analyses. This attribute is only used for ASGs and VM Scale Sets.
- Config Last Changed On—This attribute provides the same behaviour as indicated above, for all other cloud instance types (RDS, EC2, Azure instances and GCP instances).
- Config Last Changed On—This attribute stores the date of the change for Kubernetes containers, but does not trigger workload to be excluded.
- The attribute, “Config Last Changed On” will be set to October 5 (loading date - 1),
- On October 6 and before the minimum number of days is reached, the instance’s optimization type is set to “Just Right” and its workload is not displayed.
- One exception is backfill memory. If the feature is enabled, the chart will be populated with the calculated data.
Workload Charts
If the attribute has been set, this also impacts the display of the workload charts in the lower pane. You will observe the following:- [PD-55745] If a container instance has been optimized, then on the next day in the Densify UI you will see the Optimization Type set to “Just Right” and since the required data has not been excluded, the charts will not change, See Optimizing Your Containers - Details Tab
- If there is a cloud instance type change, then on the next day in the Densify UI you will see the Optimization Type set to “Just Right and since the required data has not been accumulated, only the Memory BackFill workload chart is displayed, if enabled. See Understanding the Instance Optimization Details Report or Understanding the Instance Optimization Details for RDS
Metrics Viewer Charts
When reviewing data in the metrics viewer, you will observe the following behaviour for workloads that have had their infrastructure changed recently.- If a new system ID has been assigned to the new instance type, then the historical data, collected before the instance change cannot be displayed;
- If the system ID remains the same after the instance type change, then the historical data collected before the instance type change can be displayed. You may notice changes in the workload patterns on the new instance type.
Figure: Example - Instance Type Changed on Oct 3rd
Figure: Example - Instance Type Changed on Oct 3rd
