]> arthur.barton.de Git - netdata.git/blobdiff - python.d/example.chart.py
rename chart fields to avoid conflicts with backends; fixes #1962
[netdata.git] / python.d / example.chart.py
index bc1846b76daf90f00feae715d04d16b985a1feaa..adf97a921eb93d129a2e1be5cd833d40c1679207 100644 (file)
@@ -1,20 +1,20 @@
 # -*- coding: utf-8 -*-
-# Description: example netdata python.d plugin
+# Description: example netdata python.d module
 # Author: Pawel Krupa (paulfantom)
 
 import os
 import random
-from base import BaseService
+from base import SimpleService
 
 NAME = os.path.basename(__file__).replace(".chart.py", "")
 
 # default module values
-update_every = 4
+update_every = 4
 priority = 90000
-retries = 7
+retries = 60
 
 
-class Service(BaseService):
+class Service(SimpleService):
     def __init__(self, configuration=None, name=None):
         super(self.__class__,self).__init__(configuration=configuration, name=name)