You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the current Performance/Metric Profile implementation different aggregation function queries for multiple OpenShift versions are not supported.
Internally each aggregation_function object is stored in a HashMap with key as aggregation function type and multiple instances with different versions cannot be stored.
/listMetricProfiles API response JSON - for CpuUsage Metric aggregation functions with only version > 4.9 are stored in the database as seen in output below
Needs design changes and abstractions implementation which will pick the right queries based on the OpenShift cluster version. Enhancements are required to handle these version-specific queries effectively.
Additional Context
.
The text was updated successfully, but these errors were encountered:
Describe the feature
In the current Performance/Metric Profile implementation different aggregation function queries for multiple OpenShift versions are not supported.
Internally each
aggregation_function
object is stored in a HashMap with key as aggregation function type and multiple instances with different versions cannot be stored.Examples or references
/createMetricProfile
API input payload - corresponding YAML file resource_optimization_openshift.yaml/listMetricProfiles
API response JSON - forCpuUsage
Metric aggregation functions with onlyversion > 4.9
are stored in the database as seen in output belowSuggest a solution
Needs design changes and abstractions implementation which will pick the right queries based on the OpenShift cluster version. Enhancements are required to handle these version-specific queries effectively.
Additional Context
.
The text was updated successfully, but these errors were encountered: