# Path: collectors/lib/utils.py
# PY3 = sys.version_info[0] > 2
# USER = "nobody"
# def drop_privileges(user=USER):
# def is_sockfile(path):
# def err(msg):
#     def is_numeric(value):
#     def is_numeric(value):
# 
# Path: collectors/etc/mongodb3_conf.py
# def get_settings():


import sys
import time
import os
    import pymongo
from collectors.lib import utils
from collectors.etc import mongodb3_conf
    'opcountersRepl.getmore',
    'opcountersRepl.insert',
    'opcountersRepl.query',
    'opcountersRepl.update',
    'storage.freelist.search.bucketExhausted',
    'storage.freelist.search.requests',
    'storage.freelist.search.scanned',
)

CONFIG_LOCKS_METRICS = (
    'locks.Collection.acquireCount',
    'locks.Database.acquireCount',
    'locks.Global.acquireCount',
    'locks.MMAPV1Journal.acquireCount',
    'locks.MMAPV1Journal.acquireWaitCount',
    'locks.MMAPV1Journal.timeAcquiringMicros',
    'locks.Metadata.acquireCount'
)

MONGOS_METRICS = (
    'objects',
    'avgObjSize',
    'dataSize',
    'storageSize',
    'numExtents',
    'indexes',
    'indexSize',
    'fileSize',
    'extentFreeList.num',
    'extentFreeList.totalSize'

# Path: collectors/lib/utils.py
# PY3 = sys.version_info[0] > 2
# USER = "nobody"
# def drop_privileges(user=USER):
# def is_sockfile(path):
# def err(msg):
#     def is_numeric(value):
#     def is_numeric(value):
# 
# Path: collectors/etc/mongodb3_conf.py
# def get_settings():


# Path: collectors/0/mongo3.py
import sys
import time
import os
    import pymongo
from collectors.lib import utils
from collectors.etc import mongodb3_conf

    'opcountersRepl.getmore',
    'opcountersRepl.insert',
    'opcountersRepl.query',
    'opcountersRepl.update',
    'storage.freelist.search.bucketExhausted',
    'storage.freelist.search.requests',
    'storage.freelist.search.scanned',
)

CONFIG_LOCKS_METRICS = (
    'locks.Collection.acquireCount',
    'locks.Database.acquireCount',
    'locks.Global.acquireCount',
    'locks.MMAPV1Journal.acquireCount',
    'locks.MMAPV1Journal.acquireWaitCount',
    'locks.MMAPV1Journal.timeAcquiringMicros',
    'locks.Metadata.acquireCount'
)

MONGOS_METRICS = (
    'objects',
    'avgObjSize',
    'dataSize',
    'storageSize',
    'numExtents',
    'indexes',
    'indexSize',
    'fileSize',
    'extentFreeList.num',
    'extentFreeList.totalSize'

)