def __init__(self, mloginfo): BaseSection.__init__(self, mloginfo) # add --restarts flag to argparser self.mloginfo.argparser_sectiongroup.add_argument( '--rsstate', action='store_true', help='outputs information about every detected RS state change')
def __init__(self, mloginfo): BaseSection.__init__(self, mloginfo) # add --restarts flag to argparser self.mloginfo.argparser_sectiongroup.add_argument('--distinct', action='store_true', help='outputs distinct list of all log line by message type (slow)') # progress bar self.progress_bar_enabled = not self.mloginfo.is_stdin
def __init__(self, mloginfo): BaseSection.__init__(self, mloginfo) # add --restarts flag to argparser self.mloginfo.argparser_sectiongroup.add_argument( '--connections', action='store_true', help='outputs information about opened and closed connections')
def __init__(self, mloginfo): BaseSection.__init__(self, mloginfo) # add --rsinfo flag to argparser self.mloginfo.argparser_sectiongroup.add_argument( '--rsinfo', action='store_true', help='outputs replica set config information')
def __init__(self, mloginfo): BaseSection.__init__(self, mloginfo) # add --queries flag to argparser self.mloginfo.argparser_sectiongroup.add_argument('--queries', action='store_true', help='outputs statistics about query patterns') # progress bar self.progress_bar_enabled = not self.mloginfo.is_stdin
def __init__(self, mloginfo): BaseSection.__init__(self, mloginfo) # add --queries flag to argparser self.mloginfo.argparser_sectiongroup.add_argument( '--queries', action='store_true', help='outputs statistics about query patterns') # progress bar self.progress_bar_enabled = not self.mloginfo.is_stdin
def __init__(self, mloginfo): BaseSection.__init__(self, mloginfo) # add --restarts flag to argparser self.mloginfo.argparser_sectiongroup.add_argument( '--distinct', action='store_true', help='outputs distinct list of all log line by message type (slow)' ) # progress bar self.progress_bar_enabled = not self.mloginfo.is_stdin
def __init__(self, mloginfo): BaseSection.__init__(self, mloginfo) self.mloginfo.argparser_sectiongroup.add_argument( '--connections', action='store_true', help='outputs information about opened and closed connections') self.mloginfo.argparser_sectiongroup.add_argument( '--connstats', action='store_true', help= 'outputs helpful statistics for connection duration (min/max/avg)')
def __init__(self, mloginfo): BaseSection.__init__(self, mloginfo) # add --queries flag to argparser self.mloginfo.argparser_sectiongroup.add_argument( '--queries', action='store_true', help='outputs statistics about query patterns') self.mloginfo.argparser_sectiongroup.add_argument('--sort', action='store', default='sum', choices=[ 'namespace', 'pattern', 'count', 'min', 'max', 'mean', '95%', 'sum' ])
def __init__(self, mloginfo): BaseSection.__init__(self, mloginfo) # add --restarts flag to argparser self.mloginfo.argparser_sectiongroup.add_argument('--connections', action='store_true', help='outputs information about opened and closed connections')
def __init__(self, mloginfo): BaseSection.__init__(self, mloginfo) # add --rsinfo flag to argparser self.mloginfo.argparser_sectiongroup.add_argument('--rsinfo', action='store_true', help='outputs replica set config information')
def __init__(self, mloginfo): BaseSection.__init__(self, mloginfo) # add --restarts flag to argparser self.mloginfo.argparser_sectiongroup.add_argument('--rsstate', action='store_true', help='outputs information about every detected RS state change')
def __init__(self, mloginfo): BaseSection.__init__(self, mloginfo) # add --queries flag to argparser self.mloginfo.argparser_sectiongroup.add_argument('--queries', action='store_true', help='outputs statistics about query patterns') self.mloginfo.argparser_sectiongroup.add_argument('--sort', action='store', default='sum', choices=['namespace', 'pattern', 'count', 'min', 'max', 'mean', '95%', 'sum'])