working example.chart.py
paulfantom committed
Jun 18, 2016 at 19:25 UTC
fa5c2f9bc3f17afca2f2068fd66c45d327586fcc
1 file changed
+1
-1
python.d/example.chart.py
+1
-1
@@ -20,7 +20,7 @@ class Service(BaseService):
20
return True
21
22
def create(self):
23
- print("CHART example.python_random '' 'A random number' 'random number' random random line "+str(priority)+" 1")
23
+ print("CHART example.python_random '' 'A random number' 'random number' random random line "+str(self.priority)+" "+str(self.update_every))
24
print("DIMENSION random1 '' absolute 1 1")
25
return True
26