|
@@ -102,6 +102,7 @@ func customScoreInfluxDB(metrics []string, uuid string, socket,
|
|
klog.Infof("Error while executing the query: %v", err.Error())
|
|
klog.Infof("Error while executing the query: %v", err.Error())
|
|
return nil, err
|
|
return nil, err
|
|
}
|
|
}
|
|
|
|
+ klog.Infof("Response: ", response)
|
|
// Calculate the average for the metrics provided
|
|
// Calculate the average for the metrics provided
|
|
return calculateWeightedAverage(response, numberOfRows, len(metrics))
|
|
return calculateWeightedAverage(response, numberOfRows, len(metrics))
|
|
}
|
|
}
|