|
@@ -159,7 +159,7 @@ func calculateWeightedAverageCores(response *client.Response,
|
|
|
metrics := make(map[string]float64, numberOfMetrics)
|
|
|
rows := response.Results[0].Series[0]
|
|
|
for i := 1; i < len(rows.Columns); i++ {
|
|
|
- klog.Infof("Name of column %v : %v", i, rows.Columns[i])
|
|
|
+ klog.Infof("Name of column %v : %v\n range of values: %v", i, rows.Columns[i], len(rows.Values))
|
|
|
for j := 0; j < numberOfRows; j++ {
|
|
|
avg := 0.0
|
|
|
for k := 0; k < numberOfCores; k++ {
|