@cryptotaxi247 / netdata-1 / commits / d8c525f8b

"redis" module update

lgz committed Oct 15, 2017 at 00:34 UTC d8c525f8b9cf7a34e13e7f9df60ad1defeaa04a9
1 file changed +1 -5
python.d/redis.chart.py
+1 -5
@@ -2,10 +2,9 @@
2 # Description: redis netdata python.d module
3 # Author: Pawel Krupa (paulfantom)
4
5 -from base import SocketService
5 +from bases.FrameworkServices.SocketService import SocketService
6
7 # default module values (can be overridden per job in `config`)
8 -#update_every = 2
8 priority = 60000
9 retries = 60
10
@@ -192,9 +191,6 @@ class Service(SocketService):
191 Parse configuration, check if redis is available, and dynamically create chart lines data
192 :return: boolean
193 """
195 - if self.name == "":
196 - self.name = "local"
197 - self.chart_name += "_" + self.name
194 data = self._get_data()
195 if data is None:
196 return False