예제 #1
0
 def buildOptions(self):
     RRDDaemon.buildOptions(self)
     self.parser.add_option('-e',
                            '--instance',
                            dest='instance',
                            default='',
                            type='string',
                            help="Single instance to collect data from")
     self.parser.add_option('--showHttp',
                            dest='showHttp',
                            default=False,
                            action='store_true',
                            help="If present, show all http interactions")
     self.parser.add_option(
         '--callChunkSize',
         dest='callChunkSize',
         default=200,
         type='int',
         help="Number of performance requests to submit at once")
     self.parser.add_option(
         '--dataCollectInterval',
         dest='dataCollectInterval',
         default=5 * 60,  #5 minutes
         type='int',
         help="Number of seconds between data collection attempts")
 def buildOptions(self):
     RRDDaemon.buildOptions(self)
     self.parser.add_option('-e', '--instance',
                            dest='instance',
                            default='',
                            type='string',
                            help="Single instance to collect data from")
     self.parser.add_option('--showHttp',
                            dest='showHttp',
                            default=False,
                            action='store_true',
                            help="If present, show all http interactions")
     self.parser.add_option('--callChunkSize',
                            dest='callChunkSize',
                            default=200,
                            type='int',
                            help="Number of performance requests to submit at once")
     self.parser.add_option('--dataCollectInterval',
                            dest='dataCollectInterval',
                            default=5*60, #5 minutes
                            type='int',
                            help="Number of seconds between data collection attempts")
예제 #3
0
 def __init__(self):
     RRDDaemon.__init__(self, 'appengineperf')
     #map of deviceId -> deviceConfig
     self.deviceConfigs = {}
     self.running = False
예제 #4
0
 def stop(self):
     RRDDaemon.stop(self)
 def __init__(self):
     RRDDaemon.__init__(self, 'appengineperf')
     #map of deviceId -> deviceConfig
     self.deviceConfigs = {}
     self.running = False
 def stop(self):
     RRDDaemon.stop(self)