Commit 40070e20 authored by akhuziy's avatar akhuziy
Browse files

in the epilog script set hostname as a tag for allocated CUs

parent eb803a85
......@@ -247,9 +247,8 @@ def format_influxdb_alloc(job_id, alloc_info, cur_time):
req = ""
for node_name, alloc_cu in alloc_info.items():
req += "{:s},jobid={:s} ".format(mname, job_id)
req += "{:s},jobid={:s},host={:s} ".format(mname, job_id, node_name)
req += "node_name=\"{}\",".format(node_name)
req += "alloc_cu={}".format(alloc_cu)
req += " {:d}\n".format(cur_time)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment