"mongodb" module update
lgz committed
Oct 16, 2017 at 10:23 UTC
83811fab1c4c4946fd5a5cfaadaff6925697f182
1 file changed
+3
-1
python.d/mongodb.chart.py
+3
-1
@@ -2,7 +2,6 @@
2
# Description: mongodb netdata python.d module
3
# Author: l2isbad
4
5
-from base import SimpleService
5
from copy import deepcopy
6
from datetime import datetime
7
from sys import exc_info
@@ -14,6 +13,8 @@ try:
13
except ImportError:
14
PYMONGO = False
15
16
+from bases.FrameworkServices.SimpleService import SimpleService
17
+
18
# default module values (can be overridden per job in `config`)
19
# update_every = 2
20
priority = 60000
@@ -36,6 +37,7 @@ REPL_SET_STATES = [
37
def multiply_by_100(value):
38
return value * 100
39
40
+
41
DEFAULT_METRICS = [
42
('opcounters.delete', None, None),
43
('opcounters.update', None, None),