]> arthur.barton.de Git - netdata.git/commitdiff
working example.chart.py
authorpaulfantom <paulfantom@gmail.com>
Sat, 18 Jun 2016 17:25:30 +0000 (19:25 +0200)
committerpaulfantom <paulfantom@gmail.com>
Sat, 18 Jun 2016 17:25:30 +0000 (19:25 +0200)
python.d/example.chart.py

index b4a6ddadac3f2823223f826693eb4eff1dc514cc..34fd232665c5ef9a5e37d62d7325aa618a0972e7 100644 (file)
@@ -20,7 +20,7 @@ class Service(BaseService):
         return True
     
     def create(self):
-        print("CHART example.python_random '' 'A random number' 'random number' random random line "+str(priority)+" 1")
+        print("CHART example.python_random '' 'A random number' 'random number' random random line "+str(self.priority)+" "+str(self.update_every))
         print("DIMENSION random1 '' absolute 1 1")
         return True