aboutsummaryrefslogtreecommitdiffstats
path: root/ticker.py
diff options
context:
space:
mode:
Diffstat (limited to 'ticker.py')
-rw-r--r--ticker.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/ticker.py b/ticker.py
index 8d201bd..640b402 100644
--- a/ticker.py
+++ b/ticker.py
@@ -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))