]> git.ipfire.org Git - thirdparty/collectd.git/commitdiff
collection3: Show instance for Current/Voltage 3476/head
authorChristian Tacke <8560110+ChristianTacke@users.noreply.github.com>
Sat, 6 Jun 2020 12:39:43 +0000 (14:39 +0200)
committerChristian Tacke <8560110+ChristianTacke@users.noreply.github.com>
Sat, 6 Jun 2020 12:39:43 +0000 (14:39 +0200)
Instead of just {type_instance} (which is sometimes empty for
some data), show {instance}. This one contains the former
and is more informative.

contrib/collection3/etc/collection.conf

index 5d5e4eb8c861b75f7898d5e63ec78e38641082ce..ee091097c1d6fa6288175ad8045b95e4dcde0081 100644 (file)
@@ -134,7 +134,7 @@ GraphWidth 400
 <Type current>
   DataSources value
   DSName value Current
-  RRDTitle "Current ({type_instance})"
+  RRDTitle "Current ({instance})"
   RRDVerticalLabel "Ampere"
   RRDFormat "%4.1lfA"
   Color value ffb000
@@ -717,7 +717,7 @@ GraphWidth 400
 <Type voltage>
   DataSources value
   DSName value Volts
-  RRDTitle "Voltage ({type_instance})"
+  RRDTitle "Voltage ({instance})"
   RRDVerticalLabel "Volts"
   RRDFormat "%4.1lfV"
   Color value f00000