diff --git a/roles/collectd/templates/cuda_collectd.py.j2 b/roles/collectd/templates/cuda_collectd.py.j2 index 0e672fea30e12783e535ade197eb4eb518f57433..e004238c170cdfea1f2fea45f6d93f2456c71360 100644 --- a/roles/collectd/templates/cuda_collectd.py.j2 +++ b/roles/collectd/templates/cuda_collectd.py.j2 @@ -21,12 +21,12 @@ def read(data=None): pass try: - vl.dispatch(type='mem_utilization', + vl.dispatch(type='gauge', type_instance='mem_utilization', values=[1e6 * float(gpu.find('utilization/memory_util').text.split()[0])]) except: pass try: - vl.dispatch(type='gpu_utilization', + vl.dispatch(type='gauge', type_instance='gpu_utilization', values=[1e6 * float(gpu.find('utilization/gpu_util').text.split()[0])]) except: pass