]> arthur.barton.de Git - netdata.git/blobdiff - python.d/apache_cache.chart.py
sort makefile + minor change in comments
[netdata.git] / python.d / apache_cache.chart.py
index 69da50c1f514124449130f973c03e1bc2230f4a3..85b0ee170ee089608f43af513a273acde0596367 100644 (file)
@@ -1,12 +1,12 @@
 # -*- coding: utf-8 -*-
-# Description: apache cache netdata python.d plugin
+# Description: apache cache netdata python.d module
 # Author: Pawel Krupa (paulfantom)
 
 from base import LogService
 
 priority = 60000
 retries = 5
-update_every = 3
+update_every = 3
 
 ORDER = ['cache']
 CHARTS = {
@@ -28,13 +28,13 @@ class Service(LogService):
         self.order = ORDER
         self.definitions = CHARTS
 
-    def _format_data(self):
+    def _get_data(self):
         """
         Parse new log lines
         :return: dict
         """
         try:
-            raw = self._get_data()
+            raw = self._get_raw_data()
             if raw is None:
                 return None
         except (ValueError, AttributeError):