diff --git a/monitoring/db/scripts/get_detailed_power.py b/monitoring/db/scripts/get_detailed_power.py index fd44c04..27c06e0 100755 --- a/monitoring/db/scripts/get_detailed_power.py +++ b/monitoring/db/scripts/get_detailed_power.py @@ -117,7 +117,8 @@ class Power: hd += "# all power values have unit Watt\n" hd += "timestamp,RESERVED,head_node_power,avg_node_power,median_node_power,min_node_power,max_node_power,std_dev_node_power" # add node names here instead - hd += ",NO_NODE_NAMES_YET\n" + hd += "," + ",".join(self.nodes) + hd += "\n" return hd def body(self): @@ -141,8 +142,8 @@ class Power: def summarize_epoch(self, epoch): ts, values = epoch return self.summarize_time(ts) \ - + self.summarize_values(values) - # + values + + self.summarize_values(values) \ + + tuple(values) @staticmethod def pretty_print(args):