diff options
Diffstat (limited to 'python.d/mongodb.chart.py')
-rw-r--r-- | python.d/mongodb.chart.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/python.d/mongodb.chart.py b/python.d/mongodb.chart.py index bb4c44b0..909a419d 100644 --- a/python.d/mongodb.chart.py +++ b/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), |