Browse Source

"mongodb" module update

lgz 7 years ago
parent
commit
83811fab1c
1 changed files with 3 additions and 1 deletions
  1. 3 1
      python.d/mongodb.chart.py

+ 3 - 1
python.d/mongodb.chart.py

@@ -2,7 +2,6 @@
 # Description: mongodb netdata python.d module
 # Author: l2isbad
 
-from base import SimpleService
 from copy import deepcopy
 from datetime import datetime
 from sys import exc_info
@@ -14,6 +13,8 @@ try:
 except ImportError:
     PYMONGO = False
 
+from bases.FrameworkServices.SimpleService import SimpleService
+
 # default module values (can be overridden per job in `config`)
 # update_every = 2
 priority = 60000
@@ -36,6 +37,7 @@ REPL_SET_STATES = [
 def multiply_by_100(value):
     return value * 100
 
+
 DEFAULT_METRICS = [
     ('opcounters.delete', None, None),
     ('opcounters.update', None, None),