@cryptotaxi247 / netdata-1 / commits / 958c035c7

rename python example chart

paulfantom committed Jun 12, 2016 at 14:00 UTC 958c035c75a2b73e1236263548d8db85cef94120
1 file changed +2 -2
python.d/example.chart.py
+2 -2
@@ -7,12 +7,12 @@ def check():
7 return True
8
9 def create():
10 - print("CHART python_example.random '' 'A random number' 'random number' random random line "+str(priority)+" 1")
10 + print("CHART example.python_random '' 'A random number' 'random number' random random line "+str(priority)+" 1")
11 print("DIMENSION random1 '' absolute 1 1")
12 return True
13
14 def update(interval):
15 - print("BEGIN python_example.random "+str(interval))
15 + print("BEGIN example.python_random "+str(interval))
16 print("SET random1 = "+str(random.randint(0,100)))
17 print("END")
18 return True