]> arthur.barton.de Git - netdata.git/blobdiff - python.d/example.chart.py
working example.chart.py
[netdata.git] / 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