The cost efficiency of a target workload is calculated as performance / totalCost.
The performance part depends on the concrete implementation of the CostEfficiencyMetric, e.g.,
for REST APIs performance is usually the number of requests that are faster than a defined threshold.
The totalCost part is retrieved using the TotalCostMetricType.
Represents a generic cost efficiency metric.
The cost efficiency of a target workload is calculated as
performance / totalCost
.The
performance
part depends on the concrete implementation of theCostEfficiencyMetric
, e.g., for REST APIsperformance
is usually the number of requests that are faster than a defined threshold.The
totalCost
part is retrieved using theTotalCostMetricType
.