diff options
author | Volker Hoffmann <volker@cheleb.net> | 2016-11-01 10:16:52 +0100 |
---|---|---|
committer | Volker Hoffmann <volker@cheleb.net> | 2016-11-01 10:16:52 +0100 |
commit | 7fe62738902de67ef9b2698a5e3d55eef5441f46 (patch) | |
tree | 68081f37c3f7aafcae515a93cff1742dd869f46b /ticker.py | |
parent | e41d81ff279691756151384c8e296257dc9372ab (diff) |
fix: "type" is a built-in function, silly
Diffstat (limited to 'ticker.py')
-rw-r--r-- | ticker.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -81,7 +81,8 @@ lines.append(line) # This is not ideal. We should think of a way to record such failures. # https://github.com/influxdata/influxdb/issues/4089 for gpu_node in [ 'vesta1', 'vesta2' ]: - df, gpu_epoch, sucess = nvidia.read_gpu_stats(node=gpu_node, type='tesla') + df, gpu_epoch, sucess = nvidia.read_gpu_stats(node=gpu_node, \ + gpu_type='tesla') for irow, [ index, row ] in enumerate(df.iterrows()): lines.append("gpu_temperature,node=%s,uuid=%s value=%.2f %i" % \ (row.node, row.uuid, row.gpu_temperature, gpu_epoch)) |