Achilleas Tzenetopoulos 5 years ago
parent
commit
4c64bdfe66

+ 1 - 0
kubernetes-v1.15.4/pkg/scheduler/algorithm/priorities/custom_resource_allocation.go

@@ -96,6 +96,7 @@ func customScoreInfluxDB(metrics []string, uuid string, socket,
 	// build the coommand
 	var command strings.Builder
 	fmt.Fprintf(&command, "SELECT %s from socket_metrics where uuid = '%s' and socket_id='%d' order by time desc limit %d", columns, uuid, socket, numberOfRows)
+	klog.Infof(command)
 	q := client.NewQuery(command.String(), cfg.Database.Name, "")
 	response, err := c.Query(q)
 	if err != nil {