Commit 9a69a883 authored by Robert Dietrich's avatar Robert Dietrich

scale gpu_used metric for nvml

parent 26d1ec04
......@@ -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"
</Rule>
<Rule "handle_gpu_used">
<Match "regex">
TypeInstance "gpu_used$"
</Match>
<Target "scale">
Factor 0.01
</Target>
<Target "set">
Plugin "nvml"
</Target>
Target "write"
Target "stop"
</Rule>
</Chain>
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