From 9a69a883b58408dd6498775d85a0797162903336 Mon Sep 17 00:00:00 2001 From: rdietric Date: Thu, 13 Feb 2020 13:54:33 +0100 Subject: [PATCH] scale gpu_used metric for nvml --- daemon/collectd/collectd_template.conf | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/daemon/collectd/collectd_template.conf b/daemon/collectd/collectd_template.conf index 5497d66..ea5a1fc 100644 --- a/daemon/collectd/collectd_template.conf +++ b/daemon/collectd/collectd_template.conf @@ -111,7 +111,7 @@ LoadPlugin logfile #INFLUXUSER #INFLUXPWD #INFLUXDBNAME - batch_size 50 + batch_size 500 cache_size 2000 StoreRates true ssl false @@ -260,4 +260,17 @@ PreCacheChain "pika" Target "write" Target "stop" + + + TypeInstance "gpu_used$" + + + Factor 0.01 + + + Plugin "nvml" + + Target "write" + Target "stop" + -- GitLab